-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml.dist
33 lines (29 loc) · 1007 Bytes
/
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
<?xml version="1.0" encoding="UTF-8"?>
<ruleset>
<file>./src/</file>
<file>./tests/</file>
<arg value="sp"/>
<config name="testVersion" value="8.1-"/>
<rule ref="Inpsyde">
<exclude name="WordPress.WP"/>
<exclude name="WordPress.Security.EscapeOutput"/>
<exclude name="WordPress.PHP.DevelopmentFunctions"/>
<exclude name="WordPress.PHP.DiscouragedPHPFunctions.runtime_configuration_error_reporting"/>
<exclude name="Inpsyde.CodeQuality.DisableMagicSerialize"/>
</rule>
<rule ref="Inpsyde.CodeQuality.Psr4">
<properties>
<property
name="psr4"
type="array"
value="
Toobo\TypeChecker=>src,
Toobo\TypeChecker\Tests=>tests/src|tests/cases
"
/>
</properties>
</rule>
<rule ref="Inpsyde.CodeQuality.FunctionLength">
<exclude-pattern>./tests/</exclude-pattern>
</rule>
</ruleset>