No Description

ruleset.xml 1.3KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0"?>
  2. <ruleset name="Sebastian">
  3. <description>Sebastian Bergmann's coding standard</description>
  4. <rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop"/>
  5. <rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall"/>
  6. <rule ref="Generic.CodeAnalysis.JumbledIncrementer"/>
  7. <rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
  8. <rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
  9. <rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
  10. <rule ref="Generic.Commenting.Todo"/>
  11. <rule ref="Generic.ControlStructures.InlineControlStructure"/>
  12. <rule ref="Generic.Files.LineEndings"/>
  13. <rule ref="Generic.Formatting.DisallowMultipleStatements"/>
  14. <rule ref="Generic.Formatting.NoSpaceAfterCast"/>
  15. <rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman"/>
  16. <rule ref="PEAR.Functions.ValidDefaultValue"/>
  17. <rule ref="Generic.NamingConventions.ConstructorName"/>
  18. <rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
  19. <rule ref="PEAR.NamingConventions.ValidClassName"/>
  20. <rule ref="Generic.PHP.DisallowShortOpenTag"/>
  21. <rule ref="Generic.PHP.NoSilencedErrors"/>
  22. <rule ref="Generic.PHP.UpperCaseConstant"/>
  23. <rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
  24. <rule ref="Generic.WhiteSpace.ScopeIndent"/>
  25. <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/>
  26. </ruleset>