{"action":"closed","issue":{"url":"https://api.github.com/repos/phpfmt/fmt/issues/130","repository_url":"https://api.github.com/repos/phpfmt/fmt","labels_url":"https://api.github.com/repos/phpfmt/fmt/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/phpfmt/fmt/issues/130/comments","events_url":"https://api.github.com/repos/phpfmt/fmt/issues/130/events","html_url":"https://github.com/phpfmt/fmt/issues/130","id":146211367,"number":130,"title":"BrokenPipeError: [Errno 32] Broken pipe with ST Build 3103","user":{"login":"kachar","id":893608,"avatar_url":"https://avatars.githubusercontent.com/u/893608?v=3","gravatar_id":"","url":"https://api.github.com/users/kachar","html_url":"https://github.com/kachar","followers_url":"https://api.github.com/users/kachar/followers","following_url":"https://api.github.com/users/kachar/following{/other_user}","gists_url":"https://api.github.com/users/kachar/gists{/gist_id}","starred_url":"https://api.github.com/users/kachar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kachar/subscriptions","organizations_url":"https://api.github.com/users/kachar/orgs","repos_url":"https://api.github.com/users/kachar/repos","events_url":"https://api.github.com/users/kachar/events{/privacy}","received_events_url":"https://api.github.com/users/kachar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phpfmt/fmt/labels/help%20wanted","name":"help wanted","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-06T07:14:34Z","updated_at":"2016-04-06T13:00:18Z","closed_at":"2016-04-06T13:00:18Z","body":"Description:\r\nWhen doing format now on Windows machine phpfmt does not update the code and wild console error appears.\r\n\r\nAnyway this does not happen if there are syntax errors in the php file. Then the status bar indicates that with `phpfmt: format failed - syntax errors found`\r\n\r\nFailing code:\r\n```\r\nTraceback (most recent call last):\r\n  File \"C:\\Program Files\\Sublime Text 3\\sublime_plugin.py\", line 574, in run_\r\n    return self.run(edit)\r\n  File \"C:\\Users\\user1144\\AppData\\Roaming\\Sublime Text 3\\Packages\\phpfmt\\phpfmt.py\", line 755, in run\r\n    src = dofmt(self, self.view, None, src, True)\r\n  File \"C:\\Users\\user1144\\AppData\\Roaming\\Sublime Text 3\\Packages\\phpfmt\\phpfmt.py\", line 242, in dofmt\r\n    res, err = p.communicate()\r\n  File \"./subprocess.py\", line 928, in communicate\r\n  File \"./subprocess.py\", line 1206, in _communicate\r\nBrokenPipeError: [Errno 32] Broken pipe\r\n```\r\n\r\nExpected result:\r\n```\r\nCode to be formatted according the configuration\r\n```\r\n\r\nActual result:\r\n```\r\nError in console appears\r\n```\r\n\r\nYour configuration:\r\n```\r\n{\r\n\t\"format_on_save\": true,\r\n\t\"indent_with_space\": 4,\r\n\t\"passes\":\r\n\t[\r\n\t\t\"YodaComparisons\"\r\n\t],\r\n\t\"php_bin\": \"C:\\\\php\\\\php.exe\",\r\n\t\"psr2\": true,\r\n\t\"version\": 1\r\n}\r\n\r\n\r\nPHP 5.6.18 (cli) (built: Feb  3 2016 17:19:47)\r\nCopyright (c) 1997-2016 The PHP Group\r\nZend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies\r\n```\r\n\r\n\r\n"}}