Latest commit 79afae7 May 10, 2016 @Maks3w Maks3w committed with Ocramius Don't fail if the cached type is not ClassMetadata
This is a random error and I didn't found yet how to reproduce it. It may related with Zend OPCache as usuallly is thrown while hot deploy new versions

PHP Fatal error:  Uncaught TypeError: Argument 1 passed to Doctrine\\ORM\\Mapping\\ClassMetadataFactory::wakeupReflection() must implement interface Doctrine\\Common\\Persistence\\Mapping\\ClassMetadata, array given,
called in /v2/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php on line 214 and defined in /v2/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php:718
Stack trace:
#0 /v2/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php(214): Doctrine\\ORM\\Mapping\\ClassMetadataFactory->wakeupReflection(Array, Object(Doctrine\\Common\\Persistence\\Mapping\\RuntimeReflectionService))
#1 /v2/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(281): Doctrine\\Common\\Persistence\\Mapping\\AbstractClassMetadataFactory->getMetadataFor('Model\\\\...')
#2 /v2/vendor/doctrine/orm/lib/Doctrine/ORM/Repository/DefaultRepositoryFactory.php(44): Doctrine\\ORM\\EntityManager->getClassMetadata('Model\\\\...')
#3 /v2/vendor/doctrine/orm/ in /v2/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php on line 718
Permalink
..
Failed to load latest commit information.
Event Optimized imports Jul 27, 2014
Mapping Don't fail if the cached type is not ClassMetadata Nov 30, 2016
AbstractManagerRegistry.php
ConnectionRegistry.php Fixed documentation. Jun 11, 2013
ManagerRegistry.php Fixed documentation. Jun 11, 2013
ObjectManager.php fix typo Nov 19, 2013
ObjectManagerAware.php Fixed documentation. Jun 11, 2013
ObjectManagerDecorator.php Decorator base class for object manager decorators Nov 25, 2012
ObjectRepository.php Improve the phpdoc of ObjectRepository May 25, 2016
PersistentObject.php Short array syntax Dec 4, 2015
Proxy.php Fixed documentation. Jun 11, 2013