ZfSimpleMigrations icon indicating copy to clipboard operation
ZfSimpleMigrations copied to clipboard

Issue: Deprecated ServiceLocatorAwareInterface

Open Rud5G opened this issue 8 years ago • 1 comments

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

Rud5G avatar Mar 06 '16 21:03 Rud5G

Still getting this message. On any migration command.

richard-parnaby-king avatar Sep 06 '17 14:09 richard-parnaby-king