{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1039","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1039/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1039/comments","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1039/events","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1039","id":59403994,"number":1039,"title":"add new `trim_array_spaces` fixer","user":{"login":"jaredh159","id":7050938,"avatar_url":"https://avatars.githubusercontent.com/u/7050938?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredh159","html_url":"https://github.com/jaredh159","followers_url":"https://api.github.com/users/jaredh159/followers","following_url":"https://api.github.com/users/jaredh159/following{/other_user}","gists_url":"https://api.github.com/users/jaredh159/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredh159/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredh159/subscriptions","organizations_url":"https://api.github.com/users/jaredh159/orgs","repos_url":"https://api.github.com/users/jaredh159/repos","events_url":"https://api.github.com/users/jaredh159/events{/privacy}","received_events_url":"https://api.github.com/users/jaredh159/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/milestones/9","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/milestones/v1.6","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/milestones/9/labels","id":995302,"number":9,"title":"v1.6","description":"","creator":{"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},"open_issues":2,"closed_issues":1,"state":"open","created_at":"2015-02-25T15:06:26Z","updated_at":"2015-03-01T20:22:12Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2015-03-01T16:32:25Z","updated_at":"2015-03-05T16:23:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/1039","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1039","diff_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1039.diff","patch_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1039.patch"},"body":"Single line arrays should be formatted like function/method argments without leading or trailing spaces.\r\n\r\nAfter switching to PSR-2 I noticed that my old coding style for single-line arrays didn't seem to match the overall aesthetic of PSR-2.  I created this fixer to convert arrays like:\r\n\r\n`$foo = array( 'foo', 'bar' );`\r\n\r\nto this style:\r\n\r\n`$foo = array('foo', 'bar');`"},"comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/comments/77395445","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1039#issuecomment-77395445","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1039","id":77395445,"user":{"login":"jaredh159","id":7050938,"avatar_url":"https://avatars.githubusercontent.com/u/7050938?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredh159","html_url":"https://github.com/jaredh159","followers_url":"https://api.github.com/users/jaredh159/followers","following_url":"https://api.github.com/users/jaredh159/following{/other_user}","gists_url":"https://api.github.com/users/jaredh159/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredh159/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredh159/subscriptions","organizations_url":"https://api.github.com/users/jaredh159/orgs","repos_url":"https://api.github.com/users/jaredh159/repos","events_url":"https://api.github.com/users/jaredh159/events{/privacy}","received_events_url":"https://api.github.com/users/jaredh159/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T16:23:59Z","updated_at":"2015-03-05T16:23:59Z","body":"Thanks @GrahamCampbell that helped.  Added some tests per your recommendation."}}