Closed gianarb closed 8 years ago
Since this PR is similar to the rest of SMv3 PRs I think we should release a beta version of SMv3.
Following SMv3 betas should be backward compatible.
/cc @weierophinney
I plan to tag v2.7.0 and v3 of the SM early next week, add we've finished ironing out the migration issues. @ezimuel and I will then with up a plan to update the various components to target v2.7 (which will allow usage in both v2 and v3). On Jan 8, 2016 9:14 AM, "Maks3w" notifications@github.com wrote:
Since this PR is similar to the rest of SMv3 PRs I think we should release a beta version of SMv3.
Following SMv3 betas should be backward compatible.
/cc @weierophinney https://github.com/weierophinney
— Reply to this email directly or view it on GitHub https://github.com/zendframework/zend-inputfilter/pull/86#issuecomment-170028203 .
Sincerely I don't like nothing raise dependencies from 2.5 to 2.7 like has been do with stdlib.
I think your max nesting error is caused by https://github.com/zendframework/zend-inputfilter/blob/develop/src/Factory.php#L316 - calling get() is returning an existing instance. The following does the trick for me:
$inputFilter = $this->getInputFilterManager()->build($type);
Scratch that - protected $shareByDefault = false;
-> protected $sharedByDefault = false;
in InputFilterManager
is the correct thing to do methinks.
ping @ezimuel Work in progress