38 lines
1.5 KiB
XML
38 lines
1.5 KiB
XML
|
|
<?xml version="1.0"?>
|
||
|
|
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer">
|
||
|
|
<description>The coding standard for amoCRM.</description>
|
||
|
|
|
||
|
|
<file>src</file>
|
||
|
|
<file>examples</file>
|
||
|
|
|
||
|
|
<arg name="basepath" value="."/>
|
||
|
|
<arg name="colors"/>
|
||
|
|
<arg name="parallel" value="4"/>
|
||
|
|
<arg name="extensions" value="php"/>
|
||
|
|
<arg value="np"/>
|
||
|
|
|
||
|
|
<rule ref="PSR12"/>
|
||
|
|
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
|
||
|
|
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
|
||
|
|
<properties>
|
||
|
|
<property name="ignoreBlankLines" value="false"/>
|
||
|
|
</properties>
|
||
|
|
</rule>
|
||
|
|
<rule ref="Generic.Classes.DuplicateClassName"/>
|
||
|
|
<rule ref="Generic.CodeAnalysis.EmptyStatement"/>
|
||
|
|
<rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop"/>
|
||
|
|
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
|
||
|
|
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
|
||
|
|
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
|
||
|
|
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
|
||
|
|
<rule ref="Generic.Files.LineEndings"/>
|
||
|
|
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
|
||
|
|
<rule ref="Generic.PHP.DeprecatedFunctions"/>
|
||
|
|
<rule ref="Generic.PHP.DisallowShortOpenTag"/>
|
||
|
|
<rule ref="Generic.PHP.LowerCaseConstant"/>
|
||
|
|
<rule ref="Generic.PHP.NoSilencedErrors"/>
|
||
|
|
<rule ref="Generic.Strings.UnnecessaryStringConcat"/>
|
||
|
|
<rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
|
||
|
|
<rule ref="MySource.PHP.EvalObjectFactory"/>
|
||
|
|
</ruleset>
|