Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

Issue: Deprecated ServiceLocatorAwareInterface #13

@Rud5G

Description

@Rud5G

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions