ZfSimpleMigrations
ZfSimpleMigrations copied to clipboard
Issue: Deprecated ServiceLocatorAwareInterface
Issue while creating a new migration.
This occurs after updating zendframework/zend-mvc to the latest version: 2.7.1
$ php public/index.php migration generate
PHP Deprecated: ServiceLocatorAwareInterface is deprecated and will be removed in version 3.0, along with the ServiceLocatorAwareInitializer. Please update your class ZfSimpleMigrations\Library\Migration to remove the implementation, and start injecting your dependencies via factory instead. in ./vendor/zendframework/zend-mvc/src/Service/ServiceManagerConfig.php on line 147
Deprecated: ServiceLocatorAwareInterface is deprecated and will be removed in version 3.0, along with the ServiceLocatorAwareInitializer. Please update your class ZfSimpleMigrations\Library\Migration to remove the implementation, and start injecting your dependencies via factory instead. in ./vendor/zendframework/zend-mvc/src/Service/ServiceManagerConfig.php on line 147
Generated skeleton class @ ./migrations/Version20160306221810.php
Still getting this message. On any migration command.