forked from czechitas/da-test-webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs_lang.xml
31 lines (25 loc) · 1.34 KB
/
phpcs_lang.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
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Czechitas App Custom Ruleset">
<!-- Check folders -->
<file>./resources/lang/</file>
<arg name="basepath" value="."/> <!-- Strip file basepath from report -->
<arg name="colors"/>
<arg value="p"/><!-- Display progress in report -->
<arg value="s"/><!-- Display sniff codes in report -->
<rule ref="./vendor/arxeiss/coding-standards/Rules/phpcs-spaces.xml">
<exclude name="Squiz.Arrays.ArrayDeclaration"/>
</rule>
<!-- Add set of strict rules if needed -->
<rule ref="./vendor/arxeiss/coding-standards/Rules/phpcs-strict.xml">
<exclude name="Generic.Files.LineLength.MaxExceeded"/>
</rule>
<rule ref="Squiz.Arrays.ArrayDeclaration">
<exclude name="Squiz.Arrays.ArrayDeclaration.ValueNotAligned" />
<exclude name="Squiz.Arrays.ArrayDeclaration.KeyNotAligned" />
<!-- <exclude name="Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned" /> -->
<exclude name="Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned" />
<!-- <exclude name="Squiz.Arrays.ArrayDeclaration.ValueNoNewline" /> -->
<!-- <exclude name="Squiz.Arrays.ArrayDeclaration.MultiLineNotAllowed" /> -->
<exclude name="Squiz.Arrays.ArrayDeclaration.SingleLineNotAllowed" />
</rule>
</ruleset>