-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.xml.dist
30 lines (26 loc) · 1.17 KB
/
phpcs.xml.dist
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
26
27
28
29
30
<?xml version="1.0"?>
<ruleset name="code-distortion coding standard">
<rule ref="PSR12">
<!-- allow whitespace after control structures -->
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpen" />
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpacingBeforeClose" />
</rule>
<rule ref="Squiz.Commenting.FunctionComment" />
<rule ref="Squiz.Commenting.FunctionCommentThrowTag" />
<rule ref="Squiz.Commenting.ClassComment" />
<!-- <rule ref="Squiz.Commenting.FileComment" /> -->
<rule ref="Squiz.Commenting.VariableComment" />
<exclude-pattern>/.git/*</exclude-pattern>
<exclude-pattern>/.github/*</exclude-pattern>
<exclude-pattern>/.idea/*</exclude-pattern>
<exclude-pattern>/.phpunit/*</exclude-pattern>
<exclude-pattern>/.phpunit.cache/*</exclude-pattern>
<exclude-pattern>/build/*</exclude-pattern>
<exclude-pattern>/infection/*</exclude-pattern>
<exclude-pattern>/phpunit/*</exclude-pattern>
<exclude-pattern>/phpunit.cache/*</exclude-pattern>
<exclude-pattern>/vendor/*</exclude-pattern>
<exclude-pattern>/vendor.*/*</exclude-pattern>
<arg name="colors"/>
<ini name="memory_limit" value="512M"/>
</ruleset>