Closed j3rrey closed 7 years ago
It could be an option to add the triggered_by
option (like e.g. phpmd) to the phpcsfixer2 task.
I would accept a PR for that.
Thanks for merging, being so active and helpful, when will you do the release ?
No problem! I'll try to release somewhere next week.
I've got lot's of .php5 files in our old code, but want to be able to run the php_cs_fixer2 task with grumphp. The php_cs_fixer2 Task only checks files with the extension " .php" even if I use it with another wildcard. e.g. " .php*" This seems to be hardcoded in: https://github.com/phpro/grumphp/blob/master/src/Task/PhpCsFixerV2.php#L59 One should be able to configure other file endings, as it is possible in the original repository.
I tried to put it into the php_cs.dist config file but that's not doing the trick :( Think this config is being loaded after the initialisation of which files to parse
My configuration