-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
52 lines (43 loc) · 1.54 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<ruleset>
<file>./src/</file>
<file>./fau-degree-program-output.php</file>
<file>./templates/</file>
<file>./tests/</file>
<arg value="sp"/>
<arg name="colors"/>
<config name="testVersion" value="8.0-"/>
<config name="text_domain" value="fau-degree-program-output"/>
<config name="ignore_warnings_on_exit" value="1"/>
<rule ref="Inpsyde">
</rule>
<rule ref="Inpsyde.CodeQuality.Psr4">
<properties>
<property
name="psr4"
type="array"
value="Fau\DegreeProgram\Output=>src,Fau\DegreeProgram\Output\Tests=>tests/php/unit"
/>
</properties>
</rule>
<rule ref="WordPress.Security.EscapeOutput">
<properties>
<property name="customAutoEscapedFunctions" type="array">
<element value="renderComponent"/>
</property>
</properties>
</rule>
<rule ref="Inpsyde.CodeQuality.NoAccessors.NoGetter">
<exclude-pattern>Cache.php</exclude-pattern>
</rule>
<rule ref="Inpsyde.CodeQuality.NoAccessors.NoSetter">
<exclude-pattern>Cache.php</exclude-pattern>
</rule>
<rule ref="VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable">
<exclude-pattern>*/templates/*</exclude-pattern>
</rule>
<rule ref="Inpsyde.CodeQuality.NoElse.ElseFound">
<exclude-pattern>*/templates/*</exclude-pattern>
</rule>
<exclude-pattern>*/vendor/*</exclude-pattern>
</ruleset>