Started adding new rules, though they are not tested yet. Added magic function for args in rules, not tested
Added a new test file for the supported-out-of-the-box rules
changed __get access modifier to public as it is required by php
Added tests for some rules, fixed the Rule's magic __get method that returns the next arg in queue. Now I reset the args index at the beginning of the validation in case we call validate multiple times
Added tests for LengthRule, debugged error with __get magic function on rules, modified my own testify installation to provide more insight on the context
Added conditions for rules.
Merge branch 'dev' of https://github.com/marco-fiset/flute into dev
Added NotEqualToRule and tests for it. Added comment explaining how when method works
Added some rules and tests for them
Added GreaterOrEqualRule, LessOrEqualRule and BetweenRule and unit tests for each of those
Added support for accessing Rule's arguments multiple times by reusing the same name. Fixes #6
Short circuit the validation of conditions. Added some comments
Changed copyright year in the license, added error messages instead of a simple boolean for the validation, changed array notation to be compatible with PHP 5.3, still need to unit test these changes though...
Added composer.json in order to publish flute as a package. Updated readme and commented some parts of the code. Fixes #5, Fixes #3
Updated some tests to be compatible with PHP 5.3
Merged dev branch