neilime / zf2-assets-bundle

AssetsBundle is a module for Zend Framework 2 allowing asset managment (bundling & caching)
https://neilime.github.io/zf2-assets-bundle/
MIT License
33 stars 20 forks source link

Deprecated: ServiceLocatorAwareInterface #43

Closed andrconstruction closed 8 years ago

andrconstruction commented 8 years ago

Hi neilime! Thanks for your products. Please help me if you can.

Afer upgrade ZF2 I had next error : Deprecated: ServiceLocatorAwareInterface is deprecated and will be removed in version 3.0, along with the ServiceLocatorAwareInitializer. Please update your class AssetsBundle\View\Strategy\JsCustomStrategy to remove the implementation, and start injecting your dependencies via factory instead. in /var/www/clients/client1/web1/web/z/vendor/zendframework/zend-mvc/src/Service/ServiceManagerConfig.php on line 151 But as I see that in config JsCustomStrategy created through Factory already. what is wrong? How can I avoid this error by other methods excluding a E_NOTICE off?

jens-kompter commented 8 years ago

This issue is fixed now.

andrconstruction commented 8 years ago

Yep, I saw, thank you very much