{"action":"opened","issue":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1354","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1354/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1354/comments","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1354/events","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/1354","id":101635779,"number":1354,"title":"Extra spaces fixer","user":{"login":"EvgenyOrekhov","id":8045060,"avatar_url":"https://avatars.githubusercontent.com/u/8045060?v=3","gravatar_id":"","url":"https://api.github.com/users/EvgenyOrekhov","html_url":"https://github.com/EvgenyOrekhov","followers_url":"https://api.github.com/users/EvgenyOrekhov/followers","following_url":"https://api.github.com/users/EvgenyOrekhov/following{/other_user}","gists_url":"https://api.github.com/users/EvgenyOrekhov/gists{/gist_id}","starred_url":"https://api.github.com/users/EvgenyOrekhov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvgenyOrekhov/subscriptions","organizations_url":"https://api.github.com/users/EvgenyOrekhov/orgs","repos_url":"https://api.github.com/users/EvgenyOrekhov/repos","events_url":"https://api.github.com/users/EvgenyOrekhov/events{/privacy}","received_events_url":"https://api.github.com/users/EvgenyOrekhov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-18T11:35:24Z","updated_at":"2015-08-18T11:35:24Z","closed_at":null,"body":"I'd love to have a fixer that removes all extra spaces except for indentation.\r\nBefore:\r\n```php\r\nfunction    sum($a,     $b)      {\r\n    return       $a    +       $b;\r\n}\r\n```\r\nAfter:\r\n```php\r\nfunction sum($a, $b) {\r\n    return $a + $b;\r\n}\r\n```"}}