.phpcs.xml.dist 752 B

12345678910111213141516171819202122
  1. <?xml version="1.0"?>
  2. <ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer"
  3. xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
  4. <file>samples</file>
  5. <file>src</file>
  6. <file>tests</file>
  7. <exclude-pattern>samples/Header.php</exclude-pattern>
  8. <exclude-pattern>*/tests/Core/*/*Test\.(inc|css|js)$</exclude-pattern>
  9. <arg name="report-width" value="200"/>
  10. <arg name="parallel" value="80"/>
  11. <arg name="cache" value="/tmp/.phpspreadsheet.phpcs-cache"/>
  12. <arg name="colors"/>
  13. <arg value="np"/>
  14. <!-- Include the whole PSR12 standard -->
  15. <rule ref="PSR12">
  16. <exclude name="PSR2.Methods.MethodDeclaration.Underscore"/>
  17. </rule>
  18. </ruleset>