Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

zend-mvc 2.7.1

Compare
Choose a tag to compare
@weierophinney weierophinney released this 02 Mar 15:11
· 536 commits to master since this release

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #88 addresses backwards compatibility concerns raised by users due to the new deprecation notices emitted by ServiceLocatorAware initializers; in particular, all AbstractController implementations were raising a deprecation wen first pulled from the ControllerManager.

    At this time, notices are now only raised in the following conditions:

    • When a non-controller, non-plugin manager, ServiceLocatorAware instance is detected.
    • When a plugin manager instance is detected that is ServiceLocatorAware and does not have a composed service locator. In this situation, the deprecation notice indicates that the factory for the plugin manager should be updated to inject the service locator via the constructor.
    • For controllers that do not extend AbstractController but do implement ServiceLocatorAware.
    • When calling getServiceLocator() from within an AbstractController extension; this properly calls out the practice that should be avoided and which requires updates to the controller.