-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathphpcs_lang.xml
28 lines (22 loc) · 1.06 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
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="SunOutdoor 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 -->
<config name="php_version" value="80000"/>
<rule ref="./vendor/arxeiss/coding-standards/Rules/phpcs-spaces.xml" />
<rule ref="./vendor/arxeiss/coding-standards/Rules/phpcs-strict.xml">
<exclude name="Generic.Files.LineLength.MaxExceeded"/>
<exclude name="SlevomatCodingStandard.Files.FileLength.FileTooLong"/>
</rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned">
<severity>5</severity>
</rule>
<!-- Squiz.Arrays.ArrayDeclaration.KeyNotAligned not working for nested arrays properly -->
<rule ref="Squiz.Arrays.ArrayDeclaration.ValueNotAligned">
<severity>5</severity>
</rule>
</ruleset>