-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
phpcs.xml
47 lines (40 loc) · 1.92 KB
/
phpcs.xml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0"?>
<ruleset name="Laminas coding standard">
<description>Laminas coding standard</description>
<!-- display progress -->
<arg value="p"/>
<arg name="colors"/>
<arg name="extensions" value="php,dist,phtml"/>
<!-- inherit rules from: -->
<rule ref="PSR12"/>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
<properties>
<property name="ignoreBlankLines" value="false"/>
</properties>
</rule>
<!-- Paths to check -->
<file>config</file>
<file>module</file>
<file>public/index.php</file>
<exclude-pattern>config/autoload/releases.global.php</exclude-pattern>
<exclude-pattern>module/Application/view/application/contacts/index.phtml</exclude-pattern>
<exclude-pattern>module/Application/view/application/video/index.phtml</exclude-pattern>
<exclude-pattern>module/Documentation/view/documentation/disclaimer.phtml</exclude-pattern>
<rule ref="Generic.Files.LineLength.TooLong">
<exclude-pattern>module/Application/view/layout/layout.phtml</exclude-pattern>
<exclude-pattern>module/Application/view/error/index.phtml</exclude-pattern>
<exclude-pattern>module/Application/view/error/404.phtml</exclude-pattern>
</rule>
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpen">
<exclude-pattern>module/Application/view/error/index.phtml</exclude-pattern>
<exclude-pattern>module/Application/view/error/404.phtml</exclude-pattern>
</rule>
<rule ref="PSR12.Files.FileHeader.SpacingAfterBlock">
<exclude-pattern>module/Application/view/error/index.phtml</exclude-pattern>
<exclude-pattern>module/Application/view/error/404.phtml</exclude-pattern>
</rule>
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>bin/get-releases.php</exclude-pattern>
</rule>
</ruleset>