{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1172","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1172/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1172/comments","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1172/events","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/1172","id":70983165,"number":1172,"title":"Indentation not affecting class level, yet method level works.","user":{"login":"FunTimeCoding","id":1647065,"avatar_url":"https://avatars.githubusercontent.com/u/1647065?v=3","gravatar_id":"","url":"https://api.github.com/users/FunTimeCoding","html_url":"https://github.com/FunTimeCoding","followers_url":"https://api.github.com/users/FunTimeCoding/followers","following_url":"https://api.github.com/users/FunTimeCoding/following{/other_user}","gists_url":"https://api.github.com/users/FunTimeCoding/gists{/gist_id}","starred_url":"https://api.github.com/users/FunTimeCoding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FunTimeCoding/subscriptions","organizations_url":"https://api.github.com/users/FunTimeCoding/orgs","repos_url":"https://api.github.com/users/FunTimeCoding/repos","events_url":"https://api.github.com/users/FunTimeCoding/events{/privacy}","received_events_url":"https://api.github.com/users/FunTimeCoding/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-25T23:52:20Z","updated_at":"2015-05-18T21:36:30Z","closed_at":null,"body":"When I fix this:\r\n\r\n```php\r\n<?php\r\n\r\nclass TestMain\r\n{\r\n  public function main()\r\n  {\r\n    echo 'Hello';\r\n  }\r\n}\r\n```\r\n\r\nI get this:\r\n\r\n```php\r\n<?php\r\n\r\nclass TestMain\r\n{\r\n  public function main()\r\n  {\r\n      echo 'Hello';\r\n  }\r\n}\r\n```\r\n\r\nNote how the `echo 'Hello';` line became properly indented, but not the function head and braces themselves."},"comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/comments/103219784","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/1172#issuecomment-103219784","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1172","id":103219784,"user":{"login":"keradus","id":2716794,"avatar_url":"https://avatars.githubusercontent.com/u/2716794?v=3","gravatar_id":"","url":"https://api.github.com/users/keradus","html_url":"https://github.com/keradus","followers_url":"https://api.github.com/users/keradus/followers","following_url":"https://api.github.com/users/keradus/following{/other_user}","gists_url":"https://api.github.com/users/keradus/gists{/gist_id}","starred_url":"https://api.github.com/users/keradus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keradus/subscriptions","organizations_url":"https://api.github.com/users/keradus/orgs","repos_url":"https://api.github.com/users/keradus/repos","events_url":"https://api.github.com/users/keradus/events{/privacy}","received_events_url":"https://api.github.com/users/keradus/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T21:36:30Z","updated_at":"2015-05-18T21:36:30Z","body":"@FunTimeCoding please take a look at #1205"}}