phpcs.xml 1.4 KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ruleset name="RSS-Bridge Ruleset">
  3. <description>Created with the PHP Coding Standard Generator. http://edorian.github.com/php-coding-standard-generator/</description>
  4. <exclude-pattern>./bridges</exclude-pattern>
  5. <exclude-pattern>./css</exclude-pattern>
  6. <exclude-pattern>./vendor</exclude-pattern>
  7. <rule ref="Generic.Classes.DuplicateClassName"/>
  8. <rule ref="Generic.CodeAnalysis.EmptyStatement"/>
  9. <rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
  10. <rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
  11. <rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
  12. <rule ref="Generic.Files.LineLength">
  13. <properties>
  14. <property name="lineLimit" value="80"/>
  15. <property name="absoluteLineLimit" value="120"/>
  16. </properties>
  17. </rule>
  18. <rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
  19. <rule ref="Generic.PHP.LowerCaseConstant"/>
  20. <rule ref="Generic.Strings.UnnecessaryStringConcat"/>
  21. <rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
  22. <rule ref="PEAR.Functions.ValidDefaultValue"/>
  23. <rule ref="PEAR.NamingConventions.ValidClassName"/>
  24. <rule ref="PSR2.ControlStructures.ElseIfDeclaration"/>
  25. <rule ref="PSR2.Files.EndFileNewline"/>
  26. <rule ref="Squiz.WhiteSpace.CastSpacing"/>
  27. <rule ref="Squiz.WhiteSpace.OperatorSpacing"/>
  28. <rule ref="Squiz.WhiteSpace.SemicolonSpacing"/>
  29. <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/>
  30. </ruleset>