PHP Deprecated: You are retrieving the service locator from within the class ZFTool\Controller\ModuleController
问题 I have installed zend tools using composer $ composer require zendframework/zftool:dev-master zftool has been installed and when I run php /vender/bin/zf.php modules list it's throwing warning PHP Deprecated: You are retrieving the service locator from within the class ZFTool\Controller\ModuleController. Please be aware that ServiceLocatorAwareInterface is deprecated and will be removed in version 3.0, along with the ServiceLocatorAwareInitializer. ... I am using Ubuntu 回答1: There are a few