{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1276","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1276/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1276/comments","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1276/events","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/1276","id":91097108,"number":1276,"title":"windows php-cs-fixer not working","user":{"login":"johannes-z","id":9069888,"avatar_url":"https://avatars.githubusercontent.com/u/9069888?v=3","gravatar_id":"","url":"https://api.github.com/users/johannes-z","html_url":"https://github.com/johannes-z","followers_url":"https://api.github.com/users/johannes-z/followers","following_url":"https://api.github.com/users/johannes-z/following{/other_user}","gists_url":"https://api.github.com/users/johannes-z/gists{/gist_id}","starred_url":"https://api.github.com/users/johannes-z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johannes-z/subscriptions","organizations_url":"https://api.github.com/users/johannes-z/orgs","repos_url":"https://api.github.com/users/johannes-z/repos","events_url":"https://api.github.com/users/johannes-z/events{/privacy}","received_events_url":"https://api.github.com/users/johannes-z/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-25T22:52:32Z","updated_at":"2015-06-26T14:53:02Z","closed_at":"2015-06-26T14:53:02Z","body":"I installed php-cs-fixer globally via composer on windows. The file resides in `C:\\Users\\Johannes\\AppData\\Roaming\\Composer\\vendor\\fabpot\\php-cs-fixer`. I'm able to call it in the console via `php-cs-fixer`. I tried a minimal example (see code below) with the following command:\r\n\r\n`> php C:\\Users\\Johannes\\AppData\\Roaming\\Composer\\vendor\\bin\\php-cs-fixer fix test.php`\r\n\r\n### Code:\r\n```php\r\n<?php\r\nfunction add($a,     $b) {\r\n  return $a +$b; }\r\necho   add(1,2);\r\n```\r\n\r\n### Expected Result:\r\n```php\r\n<?php\r\n\r\nfunction add($a,     $b)\r\n{\r\n    return $a + $b;\r\n}\r\necho   add(1, 2);\r\n```\r\n\r\nBut it ultimately didn't even touch the file - the code is completely in it's original state. This is the output that is printed after running the command:\r\n```\r\nSRC_DIR=\"`pwd`\"\r\ncd \"`dirname \"$0\"`\"\r\ncd \"../fabpot/php-cs-fixer\"\r\nBIN_TARGET=\"`pwd`/php-cs-fixer\"\r\ncd \"$SRC_DIR\"\r\n\"$BIN_TARGET\" \"$@\"\r\n```"},"comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/comments/115714935","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/1276#issuecomment-115714935","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1276","id":115714935,"user":{"login":"johannes-z","id":9069888,"avatar_url":"https://avatars.githubusercontent.com/u/9069888?v=3","gravatar_id":"","url":"https://api.github.com/users/johannes-z","html_url":"https://github.com/johannes-z","followers_url":"https://api.github.com/users/johannes-z/followers","following_url":"https://api.github.com/users/johannes-z/following{/other_user}","gists_url":"https://api.github.com/users/johannes-z/gists{/gist_id}","starred_url":"https://api.github.com/users/johannes-z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johannes-z/subscriptions","organizations_url":"https://api.github.com/users/johannes-z/orgs","repos_url":"https://api.github.com/users/johannes-z/repos","events_url":"https://api.github.com/users/johannes-z/events{/privacy}","received_events_url":"https://api.github.com/users/johannes-z/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T14:53:02Z","updated_at":"2015-06-26T14:53:02Z","body":"Running the .bat works. Thanks for the help."}}