{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3699","repository_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3699/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3699/comments","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3699/events","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3699","id":314346776,"number":3699,"title":"Output warnings for deprecated rules and options","user":{"login":"julienfalque","id":1736542,"avatar_url":"https://avatars1.githubusercontent.com/u/1736542?v=4","gravatar_id":"","url":"https://api.github.com/users/julienfalque","html_url":"https://github.com/julienfalque","followers_url":"https://api.github.com/users/julienfalque/followers","following_url":"https://api.github.com/users/julienfalque/following{/other_user}","gists_url":"https://api.github.com/users/julienfalque/gists{/gist_id}","starred_url":"https://api.github.com/users/julienfalque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienfalque/subscriptions","organizations_url":"https://api.github.com/users/julienfalque/orgs","repos_url":"https://api.github.com/users/julienfalque/repos","events_url":"https://api.github.com/users/julienfalque/events{/privacy}","received_events_url":"https://api.github.com/users/julienfalque/received_events","type":"User","site_admin":false},"labels":[{"id":560267676,"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/labels/I/O","name":"I/O","color":"5319e7","default":false},{"id":5114730,"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/labels/enhancement","name":"enhancement","color":"207de5","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-04-14T17:29:45Z","updated_at":"2018-05-27T17:12:44Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/3699","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3699","diff_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3699.diff","patch_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3699.patch"},"body":"This PR adds warnings in the `fix` command output when using deprecated rules or deprecated options.\r\n\r\n```console\r\n $ ./php-cs-fixer fix --rules='{\"is_null\": {\"use_yoda_style\": true}, \"method_separation\": true}'       \r\nLoaded config default from \"/home/julien/Projects/php-cs-fixer/.php_cs.dist\".\r\nOption \"use_yoda_style\" for rule \"is_null\" is deprecated and will be removed in version 3.0. Use \"yoda_style\" fixer instead.\r\nRule \"method_separation\" is deprecated. Use \"class_attributes_separation\" instead.\r\n\r\nFixed all files in 3.532 seconds, 12.000 MB memory used\r\n```"},"comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/comments/392348306","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3699#issuecomment-392348306","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/3699","id":392348306,"user":{"login":"julienfalque","id":1736542,"avatar_url":"https://avatars1.githubusercontent.com/u/1736542?v=4","gravatar_id":"","url":"https://api.github.com/users/julienfalque","html_url":"https://github.com/julienfalque","followers_url":"https://api.github.com/users/julienfalque/followers","following_url":"https://api.github.com/users/julienfalque/following{/other_user}","gists_url":"https://api.github.com/users/julienfalque/gists{/gist_id}","starred_url":"https://api.github.com/users/julienfalque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienfalque/subscriptions","organizations_url":"https://api.github.com/users/julienfalque/orgs","repos_url":"https://api.github.com/users/julienfalque/repos","events_url":"https://api.github.com/users/julienfalque/events{/privacy}","received_events_url":"https://api.github.com/users/julienfalque/received_events","type":"User","site_admin":false},"created_at":"2018-05-27T17:12:44Z","updated_at":"2018-05-27T17:12:44Z","author_association":"MEMBER","body":"That would require to expose `$strErr` somehow or pass an `OutputInterface` instance to `$application->run()`."}}
{"actor":{"display_login":"julienfalque"}}