phpcs.xml.dist 816 B

123456789101112131415161718192021222324
  1. <?xml version="1.0"?>
  2. <ruleset
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"
  5. name="RoaveSignature"
  6. >
  7. <arg name="basepath" value="."/>
  8. <arg name="extensions" value="php"/>
  9. <arg name="parallel" value="80"/>
  10. <arg name="colors"/>
  11. <!-- Ignore warnings and show progress of the run -->
  12. <arg value="np"/>
  13. <file>./src</file>
  14. <file>./test/unit</file>
  15. <rule ref="Doctrine">
  16. <exclude name="SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming.SuperfluousSuffix"/>
  17. <!-- Only for php7.3 support for now - to be removed once we drop php7.3 support -->
  18. <exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingNativeTypeHint" />
  19. </rule>
  20. </ruleset>