{"action":"created","issue":{"url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/2282","repository_url":"https://api.github.com/repos/sebastianbergmann/phpunit","labels_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/2282/labels{/name}","comments_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/2282/comments","events_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/2282/events","html_url":"https://github.com/sebastianbergmann/phpunit/issues/2282","id":173970174,"number":2282,"title":"php 5.5 +phpunit 4.8.27 = crash on phpDocumentor","user":{"login":"greg0ire","id":657779,"avatar_url":"https://avatars.githubusercontent.com/u/657779?v=3","gravatar_id":"","url":"https://api.github.com/users/greg0ire","html_url":"https://github.com/greg0ire","followers_url":"https://api.github.com/users/greg0ire/followers","following_url":"https://api.github.com/users/greg0ire/following{/other_user}","gists_url":"https://api.github.com/users/greg0ire/gists{/gist_id}","starred_url":"https://api.github.com/users/greg0ire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg0ire/subscriptions","organizations_url":"https://api.github.com/users/greg0ire/orgs","repos_url":"https://api.github.com/users/greg0ire/repos","events_url":"https://api.github.com/users/greg0ire/events{/privacy}","received_events_url":"https://api.github.com/users/greg0ire/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-30T09:22:50Z","updated_at":"2016-09-21T19:10:57Z","closed_at":null,"body":"I'm trying to get a build to pass on a PR where : \r\n\r\n- [phpunit-old.phar is used](https://travis-ci.org/sonata-project/SonataAdminBundle/jobs/156161347#L255)\r\n- I'm requiring a library that depends on phpunit too, namely matthiasnoback/symfony-dependency-injection-test \r\n\r\n[All jobs for this PR pass but the 5.5 build](https://travis-ci.org/sonata-project/SonataAdminBundle/builds/156161344). That means even the 5.3 and 5.4 builds, that also use `phpunit-old.phar`\r\n\r\n[Test output](https://travis-ci.org/sonata-project/SonataAdminBundle/jobs/156161347#L255) : \r\n\r\n<details>\r\n```\r\n............PHP Fatal error:  phpDocumentor\\Reflection\\DocBlock\\Tags\\BaseTag cannot implement phpDocumentor\\Reflection\\DocBlock\\Tag - it is not an interface in /home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/BaseTag.php on line 22\r\nPHP Stack trace:\r\nPHP   1. {main}() /home/travis/bin/phpunit:0\r\nPHP   2. PHPUnit_TextUI_Command::main() /home/travis/bin/phpunit:552\r\nPHP   3. PHPUnit_TextUI_Command->run() phar:///home/travis/bin/phpunit/phpunit/TextUI/Command.php:100\r\nPHP   4. PHPUnit_TextUI_TestRunner->doRun() phar:///home/travis/bin/phpunit/phpunit/TextUI/Command.php:149\r\nPHP   5. PHPUnit_Framework_TestSuite->run() phar:///home/travis/bin/phpunit/phpunit/TextUI/TestRunner.php:440\r\nPHP   6. PHPUnit_Framework_TestSuite->run() phar:///home/travis/bin/phpunit/phpunit/Framework/TestSuite.php:747\r\nPHP   7. PHPUnit_Framework_TestCase->run() phar:///home/travis/bin/phpunit/phpunit/Framework/TestSuite.php:747\r\nPHP   8. PHPUnit_Framework_TestResult->run() phar:///home/travis/bin/phpunit/phpunit/Framework/TestCase.php:724\r\nPHP   9. PHPUnit_Framework_TestCase->runBare() phar:///home/travis/bin/phpunit/phpunit/Framework/TestResult.php:612\r\nPHP  10. PHPUnit_Framework_TestCase->runTest() phar:///home/travis/bin/phpunit/phpunit/Framework/TestCase.php:768\r\nPHP  11. ReflectionMethod->invokeArgs() phar:///home/travis/bin/phpunit/phpunit/Framework/TestCase.php:909\r\nPHP  12. Sonata\\AdminBundle\\Tests\\Admin\\AdminTest->testCheckAccessThrowsAccessDeniedException() phar:///home/travis/bin/phpunit/phpunit/Framework/TestCase.php:909\r\nPHP  13. Prophecy\\Prophecy\\ObjectProphecy->getAccessMapping() /home/travis/build/sonata-project/SonataAdminBundle/Tests/Admin/AdminTest.php:132\r\nPHP  14. Prophecy\\Prophecy\\ObjectProphecy->__call() /home/travis/build/sonata-project/SonataAdminBundle/Tests/Admin/AdminTest.php:132\r\nPHP  15. Prophecy\\Prophecy\\MethodProphecy->__construct() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/Prophecy/ObjectProphecy.php:256\r\nPHP  16. Prophecy\\Prophecy\\ObjectProphecy->reveal() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/Prophecy/MethodProphecy.php:48\r\nPHP  17. Prophecy\\Doubler\\LazyDouble->getInstance() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/Prophecy/ObjectProphecy.php:114\r\nPHP  18. Prophecy\\Doubler\\Doubler->double() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/Doubler/LazyDouble.php:122\r\nPHP  19. Prophecy\\Doubler\\Doubler->createDoubleClass() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/Doubler/Doubler.php:105\r\nPHP  20. Prophecy\\Doubler\\ClassPatch\\MagicCallPatch->apply() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/Doubler/Doubler.php:138\r\nPHP  21. Prophecy\\PhpDocumentor\\ClassAndInterfaceTagRetriever->getTagList() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/Doubler/ClassPatch/MagicCallPatch.php:57\r\nPHP  22. Prophecy\\PhpDocumentor\\ClassTagRetriever->getTagList() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/PhpDocumentor/ClassAndInterfaceTagRetriever.php:48\r\nPHP  23. phpDocumentor\\Reflection\\DocBlockFactory->create() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/PhpDocumentor/ClassTagRetriever.php:45\r\nPHP  24. phpDocumentor\\Reflection\\DocBlockFactory->parseTagBlock() /home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php:96\r\nPHP  25. phpDocumentor\\Reflection\\DocBlock\\StandardTagFactory->create() /home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php:231\r\nPHP  26. phpDocumentor\\Reflection\\DocBlock\\StandardTagFactory->createTag() /home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php:116\r\nPHP  27. phpDocumentor\\Reflection\\DocBlock\\StandardTagFactory->fetchParametersForHandlerFactoryMethod() /home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php:191\r\nPHP  28. ReflectionMethod->__construct() /home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php:265\r\nPHP  29. spl_autoload_call() /home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php:265\r\nPHP  30. Composer\\Autoload\\ClassLoader->loadClass() /home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php:265\r\nPHP  31. Composer\\Autoload\\includeFile() /home/travis/build/sonata-project/SonataAdminBundle/vendor/composer/ClassLoader.php:301\r\nPHP  32. include() /home/travis/build/sonata-project/SonataAdminBundle/vendor/composer/ClassLoader.php:412\r\nPHP  33. spl_autoload_call() /home/travis/build/sonata-project/SonataAdminBundle/vendor/composer/ClassLoader.php:20\r\nPHP  34. Composer\\Autoload\\ClassLoader->loadClass() /home/travis/build/sonata-project/SonataAdminBundle/vendor/composer/ClassLoader.php:20\r\nPHP  35. Composer\\Autoload\\includeFile() /home/travis/build/sonata-project/SonataAdminBundle/vendor/composer/ClassLoader.php:301\r\nPHP  36. include() /home/travis/build/sonata-project/SonataAdminBundle/vendor/composer/ClassLoader.php:412\r\n\r\nFatal error: phpDocumentor\\Reflection\\DocBlock\\Tags\\BaseTag cannot implement phpDocumentor\\Reflection\\DocBlock\\Tag - it is not an interface in /home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/BaseTag.php on line 22\r\n\r\nCall Stack:\r\n    0.0014     472288   1. {main}() /home/travis/bin/phpunit:0\r\n    0.1533   15057376   2. PHPUnit_TextUI_Command::main() /home/travis/bin/phpunit:552\r\n    0.1534   15064504   3. PHPUnit_TextUI_Command->run() phar:///home/travis/bin/phpunit/phpunit/TextUI/Command.php:100\r\n    1.3469   45343984   4. PHPUnit_TextUI_TestRunner->doRun() phar:///home/travis/bin/phpunit/phpunit/TextUI/Command.php:149\r\n    6.0570   45459472   5. PHPUnit_Framework_TestSuite->run() phar:///home/travis/bin/phpunit/phpunit/TextUI/TestRunner.php:440\r\n    8.7962   55351712   6. PHPUnit_Framework_TestSuite->run() phar:///home/travis/bin/phpunit/phpunit/Framework/TestSuite.php:747\r\n    9.1435   52880472   7. PHPUnit_Framework_TestCase->run() phar:///home/travis/bin/phpunit/phpunit/Framework/TestSuite.php:747\r\n    9.1435   52880424   8. PHPUnit_Framework_TestResult->run() phar:///home/travis/bin/phpunit/phpunit/Framework/TestCase.php:724\r\n    9.1456   52880896   9. PHPUnit_Framework_TestCase->runBare() phar:///home/travis/bin/phpunit/phpunit/Framework/TestResult.php:612\r\n    9.1510   52897592  10. PHPUnit_Framework_TestCase->runTest() phar:///home/travis/bin/phpunit/phpunit/Framework/TestCase.php:768\r\n    9.1512   52898448  11. ReflectionMethod->invokeArgs() phar:///home/travis/bin/phpunit/phpunit/Framework/TestCase.php:909\r\n    9.1512   52898744  12. Sonata\\AdminBundle\\Tests\\Admin\\AdminTest->testCheckAccessThrowsAccessDeniedException() phar:///home/travis/bin/phpunit/phpunit/Framework/TestCase.php:909\r\n    9.2477   53605344  13. Prophecy\\Prophecy\\ObjectProphecy->getAccessMapping() /home/travis/build/sonata-project/SonataAdminBundle/Tests/Admin/AdminTest.php:132\r\n    9.2477   53605704  14. Prophecy\\Prophecy\\ObjectProphecy->__call() /home/travis/build/sonata-project/SonataAdminBundle/Tests/Admin/AdminTest.php:132\r\n    9.2482   53607072  15. Prophecy\\Prophecy\\MethodProphecy->__construct() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/Prophecy/ObjectProphecy.php:256\r\n    9.2482   53607072  16. Prophecy\\Prophecy\\ObjectProphecy->reveal() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/Prophecy/MethodProphecy.php:48\r\n    9.2483   53607072  17. Prophecy\\Doubler\\LazyDouble->getInstance() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/Prophecy/ObjectProphecy.php:114\r\n    9.2483   53607072  18. Prophecy\\Doubler\\Doubler->double() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/Doubler/LazyDouble.php:122\r\n    9.2484   53607120  19. Prophecy\\Doubler\\Doubler->createDoubleClass() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/Doubler/Doubler.php:105\r\n    9.3044   54054328  20. Prophecy\\Doubler\\ClassPatch\\MagicCallPatch->apply() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/Doubler/Doubler.php:138\r\n    9.3046   54054616  21. Prophecy\\PhpDocumentor\\ClassAndInterfaceTagRetriever->getTagList() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/Doubler/ClassPatch/MagicCallPatch.php:57\r\n    9.3046   54054616  22. Prophecy\\PhpDocumentor\\ClassTagRetriever->getTagList() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/PhpDocumentor/ClassAndInterfaceTagRetriever.php:48\r\n    9.3151   54057920  23. phpDocumentor\\Reflection\\DocBlockFactory->create() phar:///home/travis/bin/phpunit/phpspec-prophecy/Prophecy/PhpDocumentor/ClassTagRetriever.php:45\r\n    9.3157   54059968  24. phpDocumentor\\Reflection\\DocBlockFactory->parseTagBlock() /home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php:96\r\n    9.3159   54060848  25. phpDocumentor\\Reflection\\DocBlock\\StandardTagFactory->create() /home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlockFactory.php:231\r\n    9.3161   54061216  26. phpDocumentor\\Reflection\\DocBlock\\StandardTagFactory->createTag() /home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php:116\r\n    9.3162   54061368  27. phpDocumentor\\Reflection\\DocBlock\\StandardTagFactory->fetchParametersForHandlerFactoryMethod() /home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php:191\r\n    9.3163   54061832  28. ReflectionMethod->__construct() /home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php:265\r\n    9.3163   54062168  29. spl_autoload_call() /home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php:265\r\n    9.3163   54062232  30. Composer\\Autoload\\ClassLoader->loadClass() /home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlock/StandardTagFactory.php:265\r\n    9.3166   54062424  31. Composer\\Autoload\\includeFile() /home/travis/build/sonata-project/SonataAdminBundle/vendor/composer/ClassLoader.php:301\r\n    9.3170   54082512  32. include('/home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Author.php') /home/travis/build/sonata-project/SonataAdminBundle/vendor/composer/ClassLoader.php:412\r\n    9.3171   54082856  33. spl_autoload_call() /home/travis/build/sonata-project/SonataAdminBundle/vendor/composer/ClassLoader.php:20\r\n    9.3171   54082920  34. Composer\\Autoload\\ClassLoader->loadClass() /home/travis/build/sonata-project/SonataAdminBundle/vendor/composer/ClassLoader.php:20\r\n    9.3173   54083112  35. Composer\\Autoload\\includeFile() /home/travis/build/sonata-project/SonataAdminBundle/vendor/composer/ClassLoader.php:301\r\n    9.3177   54092240  36. include('/home/travis/build/sonata-project/SonataAdminBundle/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/BaseTag.php') /home/travis/build/sonata-project/SonataAdminBundle/vendor/composer/ClassLoader.php:412\r\n```\r\n</details>"},"comment":{"url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/comments/248712432","html_url":"https://github.com/sebastianbergmann/phpunit/issues/2282#issuecomment-248712432","issue_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/2282","id":248712432,"user":{"login":"greg0ire","id":657779,"avatar_url":"https://avatars.githubusercontent.com/u/657779?v=3","gravatar_id":"","url":"https://api.github.com/users/greg0ire","html_url":"https://github.com/greg0ire","followers_url":"https://api.github.com/users/greg0ire/followers","following_url":"https://api.github.com/users/greg0ire/following{/other_user}","gists_url":"https://api.github.com/users/greg0ire/gists{/gist_id}","starred_url":"https://api.github.com/users/greg0ire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg0ire/subscriptions","organizations_url":"https://api.github.com/users/greg0ire/orgs","repos_url":"https://api.github.com/users/greg0ire/repos","events_url":"https://api.github.com/users/greg0ire/events{/privacy}","received_events_url":"https://api.github.com/users/greg0ire/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T19:10:57Z","updated_at":"2016-09-21T19:10:57Z","body":"I managed to dumb it down to this (requires docker, unless you have php 5.5 lying around) : \r\n\r\n```bash\r\ncd /tmp\r\ngit clone git@github.com:greg0ire/phpunit_reproduce_2282.git\r\ncd phpunit_reproduce_2282\r\ndocker run --rm -it -v $PWD:/home/travis/src  quay.io/travisci/travis-php  /bin/bash\r\nsu - travis\r\ncd src\r\nmake test\r\n```"}}
{"actor":{"display_login":"greg0ire"}}