{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1231","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1231/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1231/comments","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1231/events","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1231","id":82021644,"number":1231,"title":"Allow multiple files on fix command","user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/labels/enhancement","name":"enhancement","color":"207de5"},{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-28T16:42:52Z","updated_at":"2015-06-18T12:44:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/1231","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1231","diff_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1231.diff","patch_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1231.patch"},"body":"PR related to #1230.\r\n\r\nIt's a proposition and I'm not sure of the good way to do this. Test may fail but it's not finished and I need some opinions.\r\n\r\nDon't hesitate to give comment on my code for any mistake I could make! :+1: \r\n\r\nFor the moment, php-cs-fixer fail with a regular file argument:\r\n\r\n```bash\r\n$ ./php-cs-fixer fix --level=symfony --verbose Symfony/CS/Console/ Symfony/CS/Finder/ Symfony/CS/Fixer/PSR0/Psr0Fixer.php \r\n\r\n\r\n                                                                                                                 \r\n  [InvalidArgumentException]                                                                                     \r\n  The \"/home/sullivan/projects/fork/PHP-CS-Fixer/Symfony/CS/Fixer/PSR0/Psr0Fixer.php\" directory does not exist.  \r\n                                                                                                                 \r\n\r\n\r\nException trace:\r\n () at /home/sullivan/projects/fork/PHP-CS-Fixer/vendor/symfony/finder/Symfony/Component/Finder/Finder.php:677\r\n Symfony\\Component\\Finder\\Finder->in() at /home/sullivan/projects/fork/PHP-CS-Fixer/Symfony/CS/Finder/DefaultFinder.php:48\r\n Symfony\\CS\\Finder\\DefaultFinder->setDir() at /home/sullivan/projects/fork/PHP-CS-Fixer/Symfony/CS/Config/Config.php:89\r\n Symfony\\CS\\Config\\Config->getFinder() at /home/sullivan/projects/fork/PHP-CS-Fixer/Symfony/CS/Fixer.php:170\r\n Symfony\\CS\\Fixer->fix() at /home/sullivan/projects/fork/PHP-CS-Fixer/Symfony/CS/Console/Command/FixCommand.php:375\r\n Symfony\\CS\\Console\\Command\\FixCommand->execute() at /home/sullivan/projects/fork/PHP-CS-Fixer/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:257\r\n Symfony\\Component\\Console\\Command\\Command->run() at /home/sullivan/projects/fork/PHP-CS-Fixer/vendor/symfony/console/Symfony/Component/Console/Application.php:874\r\n Symfony\\Component\\Console\\Application->doRunCommand() at /home/sullivan/projects/fork/PHP-CS-Fixer/vendor/symfony/console/Symfony/Component/Console/Application.php:195\r\n Symfony\\Component\\Console\\Application->doRun() at /home/sullivan/projects/fork/PHP-CS-Fixer/vendor/symfony/console/Symfony/Component/Console/Application.php:126\r\n Symfony\\Component\\Console\\Application->run() at /home/sullivan/projects/fork/PHP-CS-Fixer/php-cs-fixer:37\r\n\r\n\r\nfix [--config=\"...\"] [--config-file[=\"...\"]] [--dry-run] [--level=\"...\"] [--using-cache=\"...\"] [--cache-file=\"...\"] [--fixers=\"...\"] [--diff] [--format=\"...\"] [path1] ... [pathN]\r\n```\r\n\r\nI can't figure out why. Any idea?\r\n\r\nRegards\r\n"},"comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/comments/113143533","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1231#issuecomment-113143533","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1231","id":113143533,"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-06-18T12:44:10Z","updated_at":"2015-06-18T12:44:10Z","body":"great to hear that ;)"}}