{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3557","repository_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3557/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3557/comments","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3557/events","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3557","id":298901137,"number":3557,"title":"AbstractDoctrineAnnotationFixer: edge case bugfix","user":{"login":"Slamdunk","id":152236,"avatar_url":"https://avatars0.githubusercontent.com/u/152236?v=4","gravatar_id":"","url":"https://api.github.com/users/Slamdunk","html_url":"https://github.com/Slamdunk","followers_url":"https://api.github.com/users/Slamdunk/followers","following_url":"https://api.github.com/users/Slamdunk/following{/other_user}","gists_url":"https://api.github.com/users/Slamdunk/gists{/gist_id}","starred_url":"https://api.github.com/users/Slamdunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Slamdunk/subscriptions","organizations_url":"https://api.github.com/users/Slamdunk/orgs","repos_url":"https://api.github.com/users/Slamdunk/repos","events_url":"https://api.github.com/users/Slamdunk/events{/privacy}","received_events_url":"https://api.github.com/users/Slamdunk/received_events","type":"User","site_admin":false},"labels":[{"id":5114728,"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-21T09:44:11Z","updated_at":"2018-02-21T10:37:11Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/3557","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3557","diff_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3557.diff","patch_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3557.patch"},"body":"```\r\n    [RuntimeException]\r\n    Index invalid or out of range\r\n\r\n  PhpCsFixer\\AbstractDoctrineAnnotationFixer->nextElementAcceptsDoctrineAnnotations()\r\n    in ./vendor/friendsofphp/php-cs-fixer/src/AbstractDoctrineAnnotationFixer.php at line 52\r\n  PhpCsFixer\\AbstractDoctrineAnnotationFixer->applyFix()\r\n    in ./vendor/friendsofphp/php-cs-fixer/src/AbstractFixer.php at line 73\r\n  PhpCsFixer\\AbstractFixer->fix()\r\n    in ./vendor/friendsofphp/php-cs-fixer/src/Runner/Runner.php at line 190\r\n  PhpCsFixer\\Runner\\Runner->fixFile()\r\n    in ./vendor/friendsofphp/php-cs-fixer/src/Runner/Runner.php at line 132\r\n  PhpCsFixer\\Runner\\Runner->fix()\r\n    in ./vendor/friendsofphp/php-cs-fixer/src/Console/Command/FixCommand.php at line 219\r\n  PhpCsFixer\\Console\\Command\\FixCommand->execute()\r\n    in ./vendor/symfony/console/Command/Command.php at line 252\r\n  [ ... ]\r\n```"},"comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/comments/367283147","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3557#issuecomment-367283147","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3557","id":367283147,"user":{"login":"Slamdunk","id":152236,"avatar_url":"https://avatars0.githubusercontent.com/u/152236?v=4","gravatar_id":"","url":"https://api.github.com/users/Slamdunk","html_url":"https://github.com/Slamdunk","followers_url":"https://api.github.com/users/Slamdunk/followers","following_url":"https://api.github.com/users/Slamdunk/following{/other_user}","gists_url":"https://api.github.com/users/Slamdunk/gists{/gist_id}","starred_url":"https://api.github.com/users/Slamdunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Slamdunk/subscriptions","organizations_url":"https://api.github.com/users/Slamdunk/orgs","repos_url":"https://api.github.com/users/Slamdunk/repos","events_url":"https://api.github.com/users/Slamdunk/events{/privacy}","received_events_url":"https://api.github.com/users/Slamdunk/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T10:37:11Z","updated_at":"2018-02-21T10:37:11Z","author_association":"CONTRIBUTOR","body":"> Then I'm not sure the new test case actually covers the error you got.\r\n\r\nIt covers the first `AbstractDoctrineAnnotationFixer` change I made, because I follow TDD."}}
{"actor":{"display_login":"Slamdunk"}}