-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphpcs.xml
More file actions
25 lines (23 loc) · 1.21 KB
/
phpcs.xml
File metadata and controls
25 lines (23 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0"?>
<ruleset name="Phauthentic">
<config name="installed_paths" value="vendor/slevomat/coding-standard"/>
<arg name="tab-width" value="4"/>
<rule ref="PSR12">
<exclude name="Squiz.WhiteSpace.OperatorSpacing.SpacingAfter"/>
<exclude name="Generic.Files.LineLength.TooLong"/>
</rule>
<!-- SlevomatCodingStandard -->
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses"/>
<rule ref="SlevomatCodingStandard.Variables.UselessVariable"/>
<rule ref="SlevomatCodingStandard.PHP.UselessSemicolon"/>
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses"/>
<rule ref="SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature" minLineLength="120" minParametersCount="2"/>
<rule ref="SlevomatCodingStandard.ControlStructures.EarlyExit"/>
<rule ref="SlevomatCodingStandard.ControlStructures.DisallowYodaComparison"/>
<rule ref="SlevomatCodingStandard.Commenting.EmptyComment"/>
<rule ref="SlevomatCodingStandard.Commenting.UselessFunctionDocComment"/>
<rule ref="SlevomatCodingStandard.Commenting.UselessInheritDocComment"/>
<file>./src</file>
<file>./tests/Unit</file>
<exclude-pattern>*.TestCode</exclude-pattern>
</ruleset>