auraphp / Aura.Filter

Validate and sanitize arrays and objects.
MIT License
159 stars 33 forks source link

Custom rule, with blank value not even calling custom rule to by pass… #137

Closed harikt closed 6 years ago

harikt commented 6 years ago

… the blank

Test to show the failure https://github.com/auraphp/Aura.Filter/issues/134 .

harikt commented 6 years ago

Fixed #134 . New method added

->skipBlankRule();

If the flag is set, it will skip checking whether the field is blank or not and move to next rules.

koriym commented 6 years ago

I also got the problem #134, How is the current status ? Is this PR will be merged ?

harikt commented 6 years ago

Is this PR will be merged ?

I have no idea about it.

Recent tweet https://twitter.com/rcubitto/status/979783392395976704 . So not merging my own PR ;) .

pmjones commented 6 years ago

Sorry to take so long, gentlemen. Merged!