zendframework / zend-inputfilter

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

Ensure filter and validator chains receive default plugin managers #156

Closed weierophinney closed 6 years ago

weierophinney commented 6 years ago

Per #155, When using the factory, particularly with the InputFilterAbstractServiceFactory, the plugin managers used with the default filter and validator chains should be used with all newly created inputs, as these will have any custom services registered (vs. those that are in the initially created inputs, which are unconfigured).

This means that:

This patch also contains two unrelated fixes, but they are included so that the test suite will actually pass under PHP 7.2:

Fixes #155.