{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1796","repository_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1796/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1796/comments","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1796/events","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/1796","id":135754594,"number":1796,"title":"[RFC] Multi line array is made single line","user":{"login":"SpacePossum","id":10462973,"avatar_url":"https://avatars.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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-23T14:41:00Z","updated_at":"2016-02-23T16:07:55Z","closed_at":null,"body":"expected\r\n```php\r\n<?php\r\n$a = array(\r\n    1, \r\n    2, \r\n    3, \r\n    4, \r\n    $a, \r\n    $c, \r\n    7\r\n);\r\n```\r\n\r\nactual\r\n```php\r\n<?php\r\n$a = array(\r\n    1, 2, 3, 4, $a, $c, 7,\r\n);\r\n```\r\n\r\ninput\r\n```php\r\n<?php\r\n$a = array(\r\n    1\r\n, 2\r\n, 3\r\n, 4\r\n, $a\r\n, $c\r\n, 7\r\n);\r\n```\r\n\r\nOn 1.12, fixers applied: `array_element_no_space_before_comma`, `multiline_array_trailing_comma`"},"comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/comments/187766600","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/1796#issuecomment-187766600","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1796","id":187766600,"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":"2016-02-23T16:07:55Z","updated_at":"2016-02-23T16:07:55Z","body":"Woudn't it add lines here as well?\r\n```php\r\n$a = [1, 2, 3];\r\n```\r\n?"}}