Closed codeaid closed 6 years ago
@webimpress Sorry, not sure what you meant. Is something wrong with the config?
@codeaid Documentation says that you have to add it manually in your configuration when you using zend-mvc v2. With v3 or expressive the configuration is slightly different and your change is not needed, imho.
Documenation says "when using the configuration manager [..] the functionality is enabled by default" - I registered ConfigProvider
in my Expressive application (installed using the instructions on the project homepage) and I wasn't able to use the abstract factory. How does it get enabled by default then?
Edit:
Also, what's the purpose of having this section added to dependencies
if it's not even invoked?
Fix is okay! 👍
(Btw. the same problem in zend-form.)
Ah, I thought I was going crazy for a moment! Glad I can be of help after all.
I force-pushed the updated link in the changelog to avoid duplicate commits. Everything should be alright now.
On a side note - would you want me to fix this issue in zend-form
too while I'm at it, @froschdesign?
@codeaid
would you want me to fix this issue in zend-form too while I'm at it
That would be awesome! 👍
Thanks, @codeaid!
Thanks, @weierophinney! Sorry, I haven't had time to fix this issue in zend-form. Been busy with things other than PHP.
This fixes #129.
Registration of
InputFilterAbstractServiceFactory
is currently invalid inConfigProvider
. Instead of theabstract_factories
key being nested underdependencies
it should be nested underinput_filters
.This pull request corrects the behaviour and allows using the service with no manual changes required when using the library in a Zend Expressive project.
master
branch, and submit against that branch.CHANGELOG.md
entry for the fix.