-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
48 lines (44 loc) · 1.68 KB
/
Copy pathphpcs.xml
File metadata and controls
48 lines (44 loc) · 1.68 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0"?>
<ruleset>
<file>./konomi.php</file>
<file>./sources</file>
<file>./tests</file>
<arg value="sp"/>
<arg name="colors"/>
<arg name="extensions" value="php,inc"/>
<config name="text_domain" value="konomi"/>
<config name="testVersion" value="8.2-"/>
<config name="ignore_warnings_on_exit" value="1"/>
<rule ref="Inpsyde">
<exclude-pattern>*/dist/*</exclude-pattern>
<exclude-pattern>*/build-module/*</exclude-pattern>
</rule>
<rule ref="Inpsyde.CodeQuality.StaticClosure.PossiblyStaticClosure">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<rule ref="PHPCompatibility.FunctionDeclarations.NewClosure.ThisFoundOutsideClass">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<rule ref="Inpsyde.CodeQuality.LineLength.TooLong">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<rule ref="Inpsyde.CodeQuality.HookPriority.HookPriority">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<rule ref="PHPCompatibility.Classes.NewLateStaticBinding.OutsideClassScope">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<rule ref="VariableAnalysis.CodeAnalysis.VariableAnalysis.StaticOutsideClass">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/wordpress/*</exclude-pattern>
<exclude-pattern>*/dist/*</exclude-pattern>
<exclude-pattern>*/tests/Helpers/*</exclude-pattern>
<exclude-pattern>*/tests/fixtures/*</exclude-pattern>
<exclude-pattern>*/tests/stubs/*</exclude-pattern>
<exclude-pattern>sources/Blocks/blocks-manifest.php</exclude-pattern>
</ruleset>