{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1371","repository_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1371/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1371/comments","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1371/events","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/1371","id":104251788,"number":1371,"title":"Alignment get messed up when docblock is present","user":{"login":"abhimanyu003","id":265913,"avatar_url":"https://avatars1.githubusercontent.com/u/265913?v=3","gravatar_id":"","url":"https://api.github.com/users/abhimanyu003","html_url":"https://github.com/abhimanyu003","followers_url":"https://api.github.com/users/abhimanyu003/followers","following_url":"https://api.github.com/users/abhimanyu003/following{/other_user}","gists_url":"https://api.github.com/users/abhimanyu003/gists{/gist_id}","starred_url":"https://api.github.com/users/abhimanyu003/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhimanyu003/subscriptions","organizations_url":"https://api.github.com/users/abhimanyu003/orgs","repos_url":"https://api.github.com/users/abhimanyu003/repos","events_url":"https://api.github.com/users/abhimanyu003/events{/privacy}","received_events_url":"https://api.github.com/users/abhimanyu003/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":14,"created_at":"2015-09-01T12:15:18Z","updated_at":"2017-04-18T13:38:38Z","closed_at":null,"body":"Alignment get messed up when docblock is present\n\n**Code before cs-fixer**\n\n``` php\n    /**\n     * @param $param\n     * @return mixed\n     */\n        public function length($string)\n    {\n        return strlen($string);\n    }\n```\n\n**Code after cs-fixer**\n\n``` php\n    /**\n     * @param $param\n     * @return mixed\n     */\n        public function length($string)\n        {\n            return strlen($string);\n        }\n```\n\ncommand used `php-cs-fixer fix --level=psr2 File.php`\n"},"comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/comments/294847007","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/1371#issuecomment-294847007","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1371","id":294847007,"user":{"login":"SpacePossum","id":10462973,"avatar_url":"https://avatars2.githubusercontent.com/u/10462973?v=3","gravatar_id":"","url":"https://api.github.com/users/SpacePossum","html_url":"https://github.com/SpacePossum","followers_url":"https://api.github.com/users/SpacePossum/followers","following_url":"https://api.github.com/users/SpacePossum/following{/other_user}","gists_url":"https://api.github.com/users/SpacePossum/gists{/gist_id}","starred_url":"https://api.github.com/users/SpacePossum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpacePossum/subscriptions","organizations_url":"https://api.github.com/users/SpacePossum/orgs","repos_url":"https://api.github.com/users/SpacePossum/repos","events_url":"https://api.github.com/users/SpacePossum/events{/privacy}","received_events_url":"https://api.github.com/users/SpacePossum/received_events","type":"User","site_admin":false},"created_at":"2017-04-18T13:38:38Z","updated_at":"2017-04-18T13:38:38Z","body":"still relevant on 2.2 "}}
{"actor":{"display_login":"SpacePossum"}}