phpcs.xml 912 B

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0"?>
  2. <ruleset name="Enum coding standard">
  3. <description>Enum coding standard</description>
  4. <!-- display progress -->
  5. <arg value="p"/>
  6. <arg name="colors"/>
  7. <arg name="parallel" value="75"/>
  8. <!-- inherit rules from: -->
  9. <rule ref="PSR2"/>
  10. <rule ref="Squiz.Strings.DoubleQuoteUsage"/>
  11. <rule ref="Generic.PHP.DisallowShortOpenTag"/>
  12. <rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
  13. <rule ref="Generic.Formatting.SpaceAfterNot"/>
  14. <rule ref="Squiz.WhiteSpace.OperatorSpacing">
  15. <properties>
  16. <property name="ignoreNewlines" value="true"/>
  17. </properties>
  18. </rule>
  19. <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
  20. <properties>
  21. <property name="ignoreBlankLines" value="false"/>
  22. </properties>
  23. </rule>
  24. <!-- Paths to check -->
  25. <file>src</file>
  26. <file>test</file>
  27. </ruleset>