Example

# ========================================= PHP CS ========================
/includes/phpcs/** @owners-phpcs @phpcs-psr2
  • @phpcs-psr2 tells the parser that the PSR2 ruleset has to be applied on the /includes/phpcs/ folder
  • Rulesets are defined in php/non-web/standardscheck
  • if no @phpcs-* group specified or the file (path) is not in the CODEOWNERS, the default CSNStores rule set will be applied

Built With

Share this project:

Updates