Replies: 1 comment
-
@bigkase No, there is not. However, everything you can set as a config option, can also be set from a custom ruleset, so if you'd prefer to have those settings in a committed file in your repo, you can. Alternatively, if you don't want those settings committed to the repo, but do want to use them always, you could set those settings in a config-overload file, i.e. if the committed package ruleset is <ruleset name="MyProject">
<rule ref="phpcs.xml.dist"/>
... your custom extra settings ...
</ruleset> For examples on how to set things via the ruleset, see: https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Annotated-Ruleset |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
When I use
--config-set
option then will be generatedCodeSniffer.conf
file.This file automatically detected by the tool, but is there an option to manually set this file for the tool?
Beta Was this translation helpful? Give feedback.
All reactions