You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
When you run zendframework/zend-inputfilter as a stand alone library you get Class Zend\ServiceManager\AbstractPluginManager not found with the following code
$filter = new \Zend\InputFilter\InputFilter();
$input = new \Zend\InputFilter\Input('test');
$filter->add($input);
$filter->setData([]);
$filter->isValid();
$filter->getMessages();
This is due to the fact of \Zend\InputFilter\Input line 500, where the plugin chain is used. Which in turn uses the ValidatorPluginManager, which extends the Zend\ServiceManager\AbstractPluginManager. This class is not loaded because it is not part of the dependency.
To fix this issue zendframework/zend-servicemanager needs to be a dependency, and not dev only.