stable

Clone or download

Read-only

Refacto: simplify integer/float validation

This is a part of story #8859 TQL search on date & numeric fields Same as previous commit for the dates, we reduce duplication by considering that we are working on a collection of values. Change-Id: I45fa48a8d8e02136b00bdfdf6d8c791c58dbf833

Modified Files

Name
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/BetweenComparisonVisitor.php +4 −4 Go to diff View file
R plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Float/FloatFieldBetweenValueChecker.php Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/EqualComparisonVisitor.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Float/FloatFieldChecker.php +20 −23 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/GreaterThanComparisonVisitor.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/GreaterThanOrEqualComparisonVisitor.php +2 −2 Go to diff View file
D plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Integer/IntegerFieldBetweenValueChecker.php +0 −86 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/Integer/IntegerFieldChecker.php +23 −26 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/LesserThanComparisonVisitor.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/LesserThanOrEqualComparisonVisitor.php +2 −3 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/NotEqualComparisonVisitor.php +2 −3 Go to diff View file
M plugins/tracker/include/autoload.php +3 −4 Go to diff View file