46 lines
1.6 KiB
XML
46 lines
1.6 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset>
|
|
<arg name="basepath" value="."/>
|
|
<arg name="extensions" value="php"/>
|
|
<arg name="parallel" value="16"/>
|
|
<arg name="colors"/>
|
|
|
|
<!-- Ignore warnings, show progress of the run and show sniff names -->
|
|
<arg value="nps"/>
|
|
|
|
<!-- Directories to be checked -->
|
|
<file>src</file>
|
|
<file>tests</file>
|
|
<file>public</file>
|
|
|
|
<exclude-pattern>tests/dependencies/*</exclude-pattern>
|
|
|
|
<!-- Include full Doctrine Coding Standard -->
|
|
<rule ref="Doctrine">
|
|
<exclude name="SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming.SuperfluousSuffix"/>
|
|
<exclude name="SlevomatCodingStandard.Classes.SuperfluousExceptionNaming.SuperfluousSuffix"/>
|
|
<exclude name="SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousPrefix"/>
|
|
<exclude name="Squiz.Commenting.FunctionComment.InvalidNoReturn" />
|
|
<exclude name="Generic.Formatting.MultipleStatementAlignment" />
|
|
</rule>
|
|
|
|
<!-- Do not align assignments -->
|
|
<rule ref="Generic.Formatting.MultipleStatementAlignment">
|
|
<severity>0</severity>
|
|
</rule>
|
|
|
|
<!-- Do not align comments -->
|
|
<rule ref="Squiz.Commenting.FunctionComment.SpacingAfterParamName">
|
|
<severity>0</severity>
|
|
</rule>
|
|
<rule ref="Squiz.Commenting.FunctionComment.SpacingAfterParamType">
|
|
<severity>0</severity>
|
|
</rule>
|
|
|
|
<!-- Require no space before colon in return types -->
|
|
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing">
|
|
<properties>
|
|
<property name="spacesCountBeforeColon" value="0"/>
|
|
</properties>
|
|
</rule>
|
|
</ruleset> |