phpcs.xml.dist 712 B

1234567891011121314151617181920212223
  1. <?xml version="1.0"?>
  2. <ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. name="PHP_CodeSniffer"
  4. xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
  5. <description>Functional PHP coding style configuration</description>
  6. <file>src/</file>
  7. <file>tests/</file>
  8. <arg name="colors" />
  9. <arg value="n" />
  10. <rule ref="PSR12" />
  11. <rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses">
  12. <exclude-pattern>tests/*</exclude-pattern>
  13. </rule>
  14. <rule ref="Generic.NamingConventions.UpperCaseConstantName.ClassConstantNotUpperCase">
  15. <exclude-pattern>src/Functional/Functional.php</exclude-pattern>
  16. </rule>
  17. </ruleset>