laminas / laminas-inputfilter

Normalize and validate input sets from the web, APIs, the CLI, and more, including files
https://docs.laminas.dev/laminas-inputfilter/
BSD 3-Clause "New" or "Revised" License
41 stars 28 forks source link

Remove dependency on prophecy #66

Closed gsteel closed 2 years ago

gsteel commented 2 years ago
Q A
QA yes

Description

There is 1 failing test case that should pass IMO - the previous prophecy constraint did not assert that init() is called only once for input filters. It is called twice because init is called from validate in input filter plugin manager, and validate is called both in setService and in get of AbstractPluginManager. I'm not convinced this is desirable behaviour, regardless, it can't be fixed here.

Ocramius commented 2 years ago

Thanks @gsteel!