action-phpcs-code-review icon indicating copy to clipboard operation
action-phpcs-code-review copied to clipboard

Need more settings for action

Open vkryukov76 opened this issue 5 years ago • 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?

vkryukov76 avatar Jan 20 '20 06:01 vkryukov76

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?

matthewwo avatar Sep 02 '20 13:09 matthewwo