stable

Clone or download

Read-only

Refactoring: move collection in parameters

This is a part of story #8858 query tracker with expressions No functional changes. 1) First class collection: array of invalid fields is managed in one place only 2) Remove state in the Visitor Change-Id: I720746d468704fa7b35493670d5afb765c0fb28f

Modified Files

Name
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/InvalidFieldsCollection.php +13 −3 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/InvalidFieldsCollectorParameters.php +17 −3 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/InvalidFieldsCollectorVisitor.php +5 −18 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +20 −7 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/Grammar/InvalidFieldsCollectorVisitorTest.php +14 −7 Go to diff View file