62 lines
2.6 KiB
XML
62 lines
2.6 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ruleset name="pcsg-generated-ruleset">
|
||
|
<description>Created with the PHP Coding Standard Generator. http://edorian.github.com/php-coding-standard-generator/</description>
|
||
|
|
||
|
<arg name="tab-width" value="2"/>
|
||
|
|
||
|
<rule ref="Generic.Classes.DuplicateClassName"/>
|
||
|
<rule ref="Generic.CodeAnalysis.EmptyStatement"/>
|
||
|
<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.UnusedFunctionParameter"/>
|
||
|
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
|
||
|
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
|
||
|
<rule ref="Generic.Debug.ClosureLinter"/>
|
||
|
<rule ref="Generic.Debug.JSHint"/>
|
||
|
<rule ref="Generic.Debug.CSSLint"/>
|
||
|
<rule ref="Generic.Files.ByteOrderMark"/>
|
||
|
<rule ref="Generic.Files.LineEndings"/>
|
||
|
<rule ref="Generic.Formatting.SpaceAfterCast"/>
|
||
|
<rule ref="Generic.Functions.FunctionCallArgumentSpacing"/>
|
||
|
<rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie"/>
|
||
|
<rule ref="Generic.Metrics.CyclomaticComplexity"/>
|
||
|
<rule ref="Generic.Metrics.NestingLevel"/>
|
||
|
<rule ref="Generic.NamingConventions.ConstructorName"/>
|
||
|
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
|
||
|
<rule ref="Generic.PHP.DeprecatedFunctions"/>
|
||
|
<rule ref="Generic.PHP.ForbiddenFunctions"/>
|
||
|
<rule ref="Generic.PHP.LowerCaseConstant"/>
|
||
|
<rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
|
||
|
<rule ref="Generic.WhiteSpace.ScopeIndent">
|
||
|
<properties>
|
||
|
<property name="indent" value="2"/>
|
||
|
<property name="ignoreIndentationTokens" type="array">
|
||
|
<element value="T_COMMENT"/>
|
||
|
<element value="T_DOC_COMMENT_OPEN_TAG"/>
|
||
|
</property>
|
||
|
</properties>
|
||
|
</rule>
|
||
|
<!--
|
||
|
<rule ref="PEAR.Commenting.FunctionComment"/>
|
||
|
<rule ref="PEAR.Functions.FunctionCallSignature">
|
||
|
<properties>
|
||
|
<property name="indent" value="2"/>
|
||
|
</properties>
|
||
|
</rule>
|
||
|
<rule ref="PEAR.Functions.ValidDefaultValue"/>
|
||
|
<rule ref="PEAR.NamingConventions.ValidClassName"/>
|
||
|
<rule ref="PEAR.WhiteSpace.ObjectOperatorIndent">
|
||
|
<properties>
|
||
|
<property name="indent" value="2"/>
|
||
|
</properties>
|
||
|
</rule>
|
||
|
<rule ref="PEAR.WhiteSpace.ScopeIndent">
|
||
|
<properties>
|
||
|
<property name="indent" value="2"/>
|
||
|
</properties>
|
||
|
</rule>
|
||
|
-->
|
||
|
</ruleset>
|