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