zendframework / zend-inputfilter

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

Fix regression introduced in 2.9.0 when overriding FileUpload default validator #175

Closed Slamdunk closed 5 years ago

Slamdunk commented 5 years ago

https://github.com/zendframework/zend-inputfilter/pull/172 introduced a BC Break: till release-2.8.3 the default validator was set as alias 'fileuploadfile'. In a functional test environment it must be overridden, and thus until version 3 the alias used must be kept 'fileuploadfile'.

https://github.com/zendframework/zend-inputfilter/blob/799ad48ed1666d3c62126fec73dd20453b3a9e4d/src/FileInput.php#L190-L192

weierophinney commented 5 years ago

Thanks, @SlamDunk!