zendframework / zend-inputfilter

InputFilter component from Zend Framework
BSD 3-Clause "New" or "Revised" License
64 stars 50 forks source link

Test suite improvements #33

Closed Maks3w closed 9 years ago

Maks3w commented 9 years ago

From the first commit up to Improve PHPDoc types (a6e9b0c) It's basically CS.

To be backported to 2.4 LTS:

This PR could be partial merge at least up to the commit Assert objects are instances of the expected type and the three commits from above

PHP < 5.5 Incompatibilties:

Maks3w commented 9 years ago

I've open an issue on zend-validator for make 0 and 0.0 to be non empty https://github.com/zendframework/zend-validator/pull/35

Maks3w commented 9 years ago

I think "required: false" should not be an exclusion for not reject the input if "allow_empty:false"