{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2094","repository_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2094/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2094/comments","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2094/events","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/2094","id":167229305,"number":2094,"title":"exclude folders does not work","user":{"login":"tniemann","id":4546161,"avatar_url":"https://avatars.githubusercontent.com/u/4546161?v=3","gravatar_id":"","url":"https://api.github.com/users/tniemann","html_url":"https://github.com/tniemann","followers_url":"https://api.github.com/users/tniemann/followers","following_url":"https://api.github.com/users/tniemann/following{/other_user}","gists_url":"https://api.github.com/users/tniemann/gists{/gist_id}","starred_url":"https://api.github.com/users/tniemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tniemann/subscriptions","organizations_url":"https://api.github.com/users/tniemann/orgs","repos_url":"https://api.github.com/users/tniemann/repos","events_url":"https://api.github.com/users/tniemann/events{/privacy}","received_events_url":"https://api.github.com/users/tniemann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-07-24T11:31:12Z","updated_at":"2016-07-24T11:43:41Z","closed_at":"2016-07-24T11:43:41Z","body":"Hi,\r\n\r\ni just updates and to the newest version.\r\nBut now my excluded folders are srill scaned and fixed.\r\n\r\nThis is how my .php_cs file locks like located in the root:\r\n\r\n```\r\n$finder = PhpCsFixer\\Finder::create()\r\n    ->exclude(['web', 'var'])\r\n    ->in(__DIR__)\r\n;\r\n\r\nreturn PhpCsFixer\\Config::create()\r\n    ->setRules([\r\n        '@Symfony' => true,\r\n        'full_opening_tag' => false,\r\n    ])\r\n    ->finder($finder)\r\n;\r\n```\r\n\r\nHow can i avoid to scan specified folders?\r\n\r\nRegards,\r\nThomas\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/comments/234772703","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/2094#issuecomment-234772703","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2094","id":234772703,"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":"2016-07-24T11:43:41Z","updated_at":"2016-07-24T11:43:41Z","body":"Then you are specifying the path in your config file, and then override it via CLI param.\r\neither don't specify it via CLI param (as it's `current dir` and not sth more precise), or use `--path-mode=intersection` param to make intersection of your config path and CLI arg path."}}
{"actor":{"display_login":"keradus"}}