payload: {"action":"created","issue":{"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/2438","repository_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer","labels_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/2438/labels{/name}","comments_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/2438/comments","events_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/2438/events","html_url":"https://github.com/squizlabs/PHP_CodeSniffer/issues/2438","id":415629505,"node_id":"MDU6SXNzdWU0MTU2Mjk1MDU=","number":2438,"title":"PHPCBF failed to fix 358 files","user":{"login":"slawkens","id":16687302,"node_id":"MDQ6VXNlcjE2Njg3MzAy","avatar_url":"https://avatars3.githubusercontent.com/u/16687302?v=4","gravatar_id":"","url":"https://api.github.com/users/slawkens","html_url":"https://github.com/slawkens","followers_url":"https://api.github.com/users/slawkens/followers","following_url":"https://api.github.com/users/slawkens/following{/other_user}","gists_url":"https://api.github.com/users/slawkens/gists{/gist_id}","starred_url":"https://api.github.com/users/slawkens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slawkens/subscriptions","organizations_url":"https://api.github.com/users/slawkens/orgs","repos_url":"https://api.github.com/users/slawkens/repos","events_url":"https://api.github.com/users/slawkens/events{/privacy}","received_events_url":"https://api.github.com/users/slawkens/received_events","type":"User","site_admin":false},"labels":[{"id":144368661,"node_id":"MDU6TGFiZWwxNDQzNjg2NjE=","url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/labels/Awaiting%20Feedback","name":"Awaiting Feedback","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-02-28T13:42:45Z","updated_at":"2019-06-26T00:05:40Z","closed_at":"2019-06-26T00:05:40Z","author_association":"NONE","body":"Hello,\r\n\r\nI have problem automatically fixing the files using the Magento Code Standard.\r\n\r\nThe command I use:\r\n`vendor/bin/phpcbf -p -n --colors --extensions=php/php --standard=dev/tests/static/framework/Magento app/code/Qsl`\r\n\r\nAn example output of phpcs:\r\n```\r\n\u001B[1mFILE: /Users/sboczek/Projects/qsl-magento2-shop/src/app/code/Qsl/DocumentInterface/Session/NotesFilterSessionInterface.php\u001B[0m\r\n--------------------------------------------------------------------------------------------------------------------------\r\n\u001B[1mFOUND 9 ERRORS AFFECTING 9 LINES\u001B[0m\r\n--------------------------------------------------------------------------------------------------------------------------\r\n 13 | \u001B[31mERROR\u001B[0m | [x] Short description must start with a capital letter\r\n 19 | \u001B[31mERROR\u001B[0m | [x] Missing short description\r\n 20 | \u001B[31mERROR\u001B[0m | [x] There must be exactly one blank line before tags\r\n 26 | \u001B[31mERROR\u001B[0m | [x] Missing short description\r\n 27 | \u001B[31mERROR\u001B[0m | [x] There must be exactly one blank line before tags\r\n 31 | \u001B[31mERROR\u001B[0m | [x] Missing short description\r\n 32 | \u001B[31mERROR\u001B[0m | [x] There must be exactly one blank line before tags\r\n 38 | \u001B[31mERROR\u001B[0m | [x] Missing short description\r\n 39 | \u001B[31mERROR\u001B[0m | [x] There must be exactly one blank line before tags\r\n--------------------------------------------------------------------------------------------------------------------------\r\n\u001B[1mPHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY\u001B[0m\r\n--------------------------------------------------------------------------------------------------------------------------\r\n```\r\n\r\nSo, it says \"CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY\", but it doesn't.\r\n\r\nWhen I execute phpcbf on that file, with verbose option, it says:\r\n```\r\nRegistering sniffs in the Magento standard... DONE (84 sniffs registered)\r\nCreating file list... DONE (1 files in queue)\r\nChanging into directory /Users/sboczek/Projects/qsl-magento2-shop/src/app/code/Qsl/DocumentInterface/Session\r\nProcessing NotesFilterSessionInterface.php [PHP => 195 tokens in 42 lines]... DONE in 52ms (9 fixable violations)\r\n        => Fixing file: 0/9 violations remaining [made 1 pass]... DONE in 62ms  \r\n        => File was overwritten\r\n\r\nPHPCBF RESULT SUMMARY\r\n-----------------------------------------------------------------------------------------------------------------------------------------\r\nFILE                                                                                                                     FIXED  REMAINING\r\n-----------------------------------------------------------------------------------------------------------------------------------------\r\n/Users/sboczek/Projects/qsl-magento2-shop/src/app/code/Qsl/DocumentInterface/Session/NotesFilterSessionInterface.php     FAILED TO FIX\r\n-----------------------------------------------------------------------------------------------------------------------------------------\r\nA TOTAL OF 0 ERRORS WERE FIXED IN 1 FILE\r\n-----------------------------------------------------------------------------------------------------------------------------------------\r\nPHPCBF FAILED TO FIX 1 FILE\r\n-----------------------------------------------------------------------------------------------------------------------------------------\r\n\r\nTime: 210ms; Memory: 8MB\r\n```\r\n\r\nIt's just on one file, but I executed in on 359 files and the same result.\r\n\r\nAs you can see it says \"Fixing file: 0/9 violations remaining [made 1 pass]... DONE in 62ms  \" and \"File was overwritten\", but I can't see any changes in my repository. And on end it says \"PHPCBF FAILED TO FIX 1 FILE\".\r\n\r\nI think it's a bug, that's why I directly decided to open an issue here.\r\n\r\nMy Setup:\r\nMac OS Mojave 10.14.3,\r\nPHP 7.1.25\r\n\r\n\r\nRegards,"},"comment":{"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/comments/505666336","html_url":"https://github.com/squizlabs/PHP_CodeSniffer/issues/2438#issuecomment-505666336","issue_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/2438","id":505666336,"node_id":"MDEyOklzc3VlQ29tbWVudDUwNTY2NjMzNg==","user":{"login":"gsherwood","id":185976,"node_id":"MDQ6VXNlcjE4NTk3Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/185976?v=4","gravatar_id":"","url":"https://api.github.com/users/gsherwood","html_url":"https://github.com/gsherwood","followers_url":"https://api.github.com/users/gsherwood/followers","following_url":"https://api.github.com/users/gsherwood/following{/other_user}","gists_url":"https://api.github.com/users/gsherwood/gists{/gist_id}","starred_url":"https://api.github.com/users/gsherwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsherwood/subscriptions","organizations_url":"https://api.github.com/users/gsherwood/orgs","repos_url":"https://api.github.com/users/gsherwood/repos","events_url":"https://api.github.com/users/gsherwood/events{/privacy}","received_events_url":"https://api.github.com/users/gsherwood/received_events","type":"User","site_admin":false},"created_at":"2019-06-26T00:05:40Z","updated_at":"2019-06-26T00:05:40Z","author_association":"MEMBER","body":"Closing due to no feedback. Please post again if this is still an issue and you have more debug output.\r\n"}}
other: {"actor":{"display_login":"gsherwood"}}