phpcs.xml 557 B

1234567891011121314151617181920212223
  1. <?xml version="1.0"?>
  2. <ruleset name="Roots">
  3. <description>Roots Coding Standards</description>
  4. <!-- Scan all files in directory -->
  5. <file>.</file>
  6. <!-- Scan only PHP files -->
  7. <arg name="extensions" value="php"/>
  8. <!-- Ignore WordPress and Composer dependencies -->
  9. <exclude-pattern>web/wp</exclude-pattern>
  10. <exclude-pattern>vendor/</exclude-pattern>
  11. <!-- Show colors in console -->
  12. <arg value="-colors"/>
  13. <!-- Show sniff codes in all reports -->
  14. <arg value="ns"/>
  15. <!-- Use PSR-2 as a base -->
  16. <rule ref="PSR2"/>
  17. </ruleset>