stable

Clone or download

Read-only

Refactoring: wrap accept() calls

This is a part of story #8858 query tracker with expressions This is not the responsibility of the Tracker_Report to call accept() on parsed query and to build visitor parameters. This is the duty of the given visitor. Change-Id: Ic5c1e100404e4dcc42f248ca5c66f7dd0a2c10f9

Modified Files

Name
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/DepthValidatorVisitor.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/InvalidFieldsCollectorVisitor.php +9 −3 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/QueryBuilderVisitor.php +5 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +7 −11 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/Grammar/InvalidFieldsCollectorVisitorTest.php +2 −2 Go to diff View file