36 lines
1.3 KiB
XML
36 lines
1.3 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset name="Sebastian">
|
|
<description>Sebastian Bergmann's coding standard</description>
|
|
|
|
<rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop"/>
|
|
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall"/>
|
|
<rule ref="Generic.CodeAnalysis.JumbledIncrementer"/>
|
|
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
|
|
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
|
|
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
|
|
|
|
<rule ref="Generic.Commenting.Todo"/>
|
|
|
|
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
|
|
|
|
<rule ref="Generic.Files.LineEndings"/>
|
|
|
|
<rule ref="Generic.Formatting.DisallowMultipleStatements"/>
|
|
<rule ref="Generic.Formatting.NoSpaceAfterCast"/>
|
|
|
|
<rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman"/>
|
|
<rule ref="PEAR.Functions.ValidDefaultValue"/>
|
|
|
|
<rule ref="Generic.NamingConventions.ConstructorName"/>
|
|
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
|
|
<rule ref="PEAR.NamingConventions.ValidClassName"/>
|
|
|
|
<rule ref="Generic.PHP.DisallowShortOpenTag"/>
|
|
<rule ref="Generic.PHP.NoSilencedErrors"/>
|
|
<rule ref="Generic.PHP.UpperCaseConstant"/>
|
|
|
|
<rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
|
|
<rule ref="Generic.WhiteSpace.ScopeIndent"/>
|
|
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/>
|
|
</ruleset>
|