Gerencio uma aplicação em ZF2 e, hoje, ao acessar o ambiente de homologação tive a surpresa desta mensagem. Muitas demandas novas foram resolvidas e, por conta destes novos commits, o erro foi apresentado.
O problema está na versão antiga da library e, para resolver, executei:
[php]rodrigo-calado@ip-10-252-136-83:~/www/$ ./composer.phar self-update
Updating to version a8adbfeb9fc7861deade782938222714168a22a8.
Downloading: 100%[/php]
E, em seguida:
[php]rodrigo-calado@ip-10-252-136-83:~/www$ ./composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)
– Installing zendframework/zendxml (1.0.0)
Downloading: 100%
– Removing zendframework/zendframework (2.1.3)
– Installing zendframework/zendframework (2.2.7)
Downloading: 100%
– Installing doctrine/lexer (v1.0)
Downloading: 100%
– Installing doctrine/annotations (v1.2.0)
Downloading: 100%
– Installing doctrine/collections (v1.2)
Downloading: 100%
– Installing doctrine/cache (v1.3.0)
Downloading: 100%
– Installing doctrine/inflector (v1.0)
Downloading: 100%
– Removing doctrine/common (2.3.0)
– Installing doctrine/common (v2.4.2)
Downloading: 100%
– Removing doctrine/dbal (2.3.2)
– Installing doctrine/dbal (v2.4.2)
Downloading: 100%
– Removing symfony/console (v2.1.8)
– Installing symfony/console (v2.5.4)
Downloading: 100%
– Removing doctrine/orm (2.3.2)
– Installing doctrine/orm (v2.4.4)
Downloading: 100%
– Removing doctrine/doctrine-module (0.7.1)
– Installing doctrine/doctrine-module (0.8.0)
Downloading: 100%
– Removing doctrine/doctrine-orm-module (0.7.0)
– Installing doctrine/doctrine-orm-module (0.8.0)
Downloading: 100%
Writing lock file
Generating autoload files[/php]
Isso funcionou muito bem. O problema é que há dois arquivos ausentes da ZF2.5 Framework.
[php]’Zend\Cache\Service\StorageCacheAbstractServiceFactory’,
‘Zend\Log\LoggerAbstractServiceFactory'[/php]
Agradeço a compreensão de todos.