rtCamp/action-phpcs-code-review

Need more settings for action

vkryukov76 opened this issue · 1 comments

We use next command as a part of our CI process:

php ./vendor/bin/phpcs  --encoding=utf-8 --ignore=./local/components/*/templates/*  --standard=ruleset.xml --extensions=php  ./local/classes ./local/components

So we set:

  • encoding
  • files to ignore
  • standard
  • file extensions
  • directories to look for

Can you add these (and many others) configuration keys for action to make it more configurable?

would be nice indeed, but meanwhile as a workaround maybe you can consider adding a phpcs.xml or .phpcs.xml file at the project root?