{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/7299","labels_url":"https://api.github.com/repos/laravel/framework/issues/7299/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/7299/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/7299/events","html_url":"https://github.com/laravel/framework/issues/7299","id":56816526,"number":7299,"title":"[L5] Cannot redeclare class PhpParser\\Autoloader","user":{"login":"neomerx","id":10420662,"avatar_url":"https://avatars.githubusercontent.com/u/10420662?v=3","gravatar_id":"","url":"https://api.github.com/users/neomerx","html_url":"https://github.com/neomerx","followers_url":"https://api.github.com/users/neomerx/followers","following_url":"https://api.github.com/users/neomerx/following{/other_user}","gists_url":"https://api.github.com/users/neomerx/gists{/gist_id}","starred_url":"https://api.github.com/users/neomerx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neomerx/subscriptions","organizations_url":"https://api.github.com/users/neomerx/orgs","repos_url":"https://api.github.com/users/neomerx/repos","events_url":"https://api.github.com/users/neomerx/events{/privacy}","received_events_url":"https://api.github.com/users/neomerx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-06T14:17:43Z","updated_at":"2015-02-06T14:37:54Z","closed_at":null,"body":"Steps to reproduce\r\n1) Install fresh Laravel 5\r\n```\r\n$ composer create-project laravel/laravel\r\n```\r\n2) go to laravel folder\r\n```\r\n$ cd laravel/\r\n```\r\n3) run phpunit\r\n```\r\n$ phpunit \r\nPHP Fatal error:  Cannot redeclare class PhpParser\\Autoloader in /home/user/folder/laravel/vendor/nikic/php-parser/lib/PhpParser/Autoloader.php on line 9\r\nPHP Stack trace:\r\nPHP   1. {main}() /home/user/.composer/vendor/phpunit/phpunit/phpunit:0\r\nPHP   2. PHPUnit_TextUI_Command::main() /home/user/.composer/vendor/phpunit/phpunit/phpunit:55\r\nPHP   3. PHPUnit_TextUI_Command->run() /home/user/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:132\r\nPHP   4. PHPUnit_TextUI_Command->handleArguments() /home/user/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:141\r\nPHP   5. PHPUnit_TextUI_Command->handleBootstrap() /home/user/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:638\r\nPHP   6. PHPUnit_Util_Fileloader::checkAndLoad() /home/user/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:812\r\nPHP   7. PHPUnit_Util_Fileloader::load() /home/user/.composer/vendor/phpunit/phpunit/src/Util/Fileloader.php:77\r\nPHP   8. include_once() /home/user/.composer/vendor/phpunit/phpunit/src/Util/Fileloader.php:93\r\nPHP   9. require() /home/user/folder/laravel/bootstrap/autoload.php:17\r\nPHP  10. ComposerAutoloaderInit05aea7ed0f046326f7379d090ba87b19::getLoader() /home/user/folder/laravel/vendor/autoload.php:7\r\nPHP  11. composerRequire05aea7ed0f046326f7379d090ba87b19() /home/user/folder/laravel/vendor/composer/autoload_real.php:49\r\nPHP  12. require() /home/user/folder/laravel/vendor/composer/autoload_real.php:58\r\nPHP  13. require() /home/user/folder/laravel/vendor/nikic/php-parser/lib/bootstrap.php:3\r\n```"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/73245418","html_url":"https://github.com/laravel/framework/issues/7299#issuecomment-73245418","issue_url":"https://api.github.com/repos/laravel/framework/issues/7299","id":73245418,"user":{"login":"GrahamCampbell","id":2829600,"avatar_url":"https://avatars.githubusercontent.com/u/2829600?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamCampbell","html_url":"https://github.com/GrahamCampbell","followers_url":"https://api.github.com/users/GrahamCampbell/followers","following_url":"https://api.github.com/users/GrahamCampbell/following{/other_user}","gists_url":"https://api.github.com/users/GrahamCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamCampbell/subscriptions","organizations_url":"https://api.github.com/users/GrahamCampbell/orgs","repos_url":"https://api.github.com/users/GrahamCampbell/repos","events_url":"https://api.github.com/users/GrahamCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamCampbell/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T14:37:54Z","updated_at":"2015-02-06T14:37:54Z","body":"Try running \"which phpunit\"."}}