{"action":"opened","issue":{"url":"https://api.github.com/repos/akalongman/sublimetext-codeformatter/issues/128","labels_url":"https://api.github.com/repos/akalongman/sublimetext-codeformatter/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/akalongman/sublimetext-codeformatter/issues/128/comments","events_url":"https://api.github.com/repos/akalongman/sublimetext-codeformatter/issues/128/events","html_url":"https://github.com/akalongman/sublimetext-codeformatter/issues/128","id":53786580,"number":128,"title":"Wrong format if use Allman style","user":{"login":"shirmanoff","id":10453835,"avatar_url":"https://avatars.githubusercontent.com/u/10453835?v=3","gravatar_id":"","url":"https://api.github.com/users/shirmanoff","html_url":"https://github.com/shirmanoff","followers_url":"https://api.github.com/users/shirmanoff/followers","following_url":"https://api.github.com/users/shirmanoff/following{/other_user}","gists_url":"https://api.github.com/users/shirmanoff/gists{/gist_id}","starred_url":"https://api.github.com/users/shirmanoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shirmanoff/subscriptions","organizations_url":"https://api.github.com/users/shirmanoff/orgs","repos_url":"https://api.github.com/users/shirmanoff/repos","events_url":"https://api.github.com/users/shirmanoff/events{/privacy}","received_events_url":"https://api.github.com/users/shirmanoff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-08T18:57:19Z","updated_at":"2015-01-08T18:57:19Z","closed_at":null,"body":"I use next settings\r\n```\r\n \"codeformatter_php_options\": {\r\n        \"indent_size\": 4, \r\n        \"indent_with_tabs\": false, \r\n        \"indent_style\": \"allman\",\r\n        \"newline_before_comment\": true, \r\n        \"new_line_before\": \"\",\r\n        \"new_line_after\": \"\",\r\n        \"format_array_nested\": true, \r\n        \"pear\": true, \r\n        \"pear_add_header\": \"\", \r\n        \"pear_newline_class\": true, \r\n        \"pear_newline_trait\": true, \r\n        \"pear_newline_function\": true,\r\n        \"pear_switch_without_indent\": false,\r\n        \"format_doc_block\": true,\r\n        \"lowercase\": false,\r\n        \"fluent\": true, \r\n        \"list_class_function\": false, .\r\n        \"equals_align\": false,\r\n        \"phpbb\": false\r\n    },\r\n```\r\nwhen I was formatted php code I saw wrong format, 'else' should be on the next line\r\n```\r\nif (Kohana::$environment !== Kohana::PRODUCTION) \r\n{\r\n    $base_url = '/testmate/';\r\n} else\r\n{\r\n    $base_url = '/';\r\n}\r\n```\r\n"}}