-
-
Notifications
You must be signed in to change notification settings - Fork 640
Description
New release of JMS serializer breaks phpDocumentor2 (in composer.json set ">=0.12") in any command:
`$ phpdoc --version
Fatal error: Uncaught Doctrine\Common\Annotations\AnnotationException: [Semantical Error] The annotation "@jms\Serializer\Annotation\Type" in property phpDocumentor\Configuration::$title does not exist, or could not be auto-loaded. in /vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php on line 54
Doctrine\Common\Annotations\AnnotationException: [Semantical Error] The annotation "@jms\Serializer\Annotation\Type" in property phpDocumentor\Configuration::$title does not exist, or could not be auto-loaded. in /vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php on line 54
Call Stack:
0.0002 353352 1. {main}() /vendor/phpdocumentor/phpdocumentor/bin/phpdoc:0
0.0007 369352 2. phpDocumentor\Bootstrap->initialize() /vendor/phpdocumentor/phpdocumentor/bin/phpdoc:23
0.0091 1178944 3. phpDocumentor\Application->__construct() /vendor/phpdocumentor/phpdocumentor/src/phpDocumentor/Bootstrap.php:62
0.0131 1218312 4. phpDocumentor\Application->addLogging() /vendor/phpdocumentor/phpdocumentor/src/phpDocumentor/Application.php:67
0.0143 1365616 5. Pimple->offsetGet() /vendor/phpdocumentor/phpdocumentor/src/phpDocumentor/Application.php:254
0.0143 1365616 6. Pimple::{closure:/vendor/pimple/pimple/lib/Pimple.php:122-130}() /vendor/pimple/pimple/lib/Pimple.php:83
0.0143 1365640 7. phpDocumentor\Configuration\ServiceProvider->phpDocumentor\Configuration{closure}() /vendor/pimple/pimple/lib/Pimple.php:126
0.0373 2677368 8. phpDocumentor\Configuration\Loader->load() /vendor/phpdocumentor/phpdocumentor/src/phpDocumentor/Configuration/ServiceProvider.php:82
0.0399 2825960 9. phpDocumentor\Configuration\Loader->createConfigurationObject() /vendor/phpdocumentor/phpdocumentor/src/phpDocumentor/Configuration/Loader.php:62
0.0399 2826984 10. JMS\Serializer\Serializer->deserialize() /vendor/phpdocumentor/phpdocumentor/src/phpDocumentor/Configuration/Loader.php:112
0.0413 2896072 11. PhpOption\Some->map() /vendor/jms/serializer/src/Serializer.php:131
0.0413 2896128 12. call_user_func:{/vendor/phpoption/phpoption/src/PhpOption/Some.php:89}() /vendor/phpoption/phpoption/src/PhpOption/Some.php:89
0.0413 2896128 13. JMS\Serializer\Serializer->JMS\Serializer{closure}() /vendor/phpoption/phpoption/src/PhpOption/Some.php:89
0.0419 2897576 14. JMS\Serializer\Serializer->visit() /vendor/jms/serializer/src/Serializer.php:128
0.0419 2898376 15. JMS\Serializer\GraphNavigator->accept() /vendor/jms/serializer/src/Serializer.php:193
0.0420 2898416 16. Metadata\MetadataFactory->getMetadataForClass() /vendor/jms/serializer/src/GraphNavigator.php:211
0.0424 2976552 17. JMS\Serializer\Metadata\Driver\AnnotationDriver->loadMetadataForClass() /vendor/jms/metadata/src/Metadata/MetadataFactory.php:103
0.0473 3099456 18. Doctrine\Common\Annotations\AnnotationReader->getPropertyAnnotations() /vendor/jms/serializer/src/Metadata/Driver/AnnotationDriver.php:152
0.0473 3100024 19. Doctrine\Common\Annotations\DocParser->parse() /vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php:250
0.0474 3105224 20. Doctrine\Common\Annotations\DocParser->Annotations() /vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php:354
0.0475 3105280 21. Doctrine\Common\Annotations\DocParser->Annotation() /vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php:663
`