-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
39 lines (33 loc) · 1.6 KB
/
Copy pathphpcs.xml.dist
File metadata and controls
39 lines (33 loc) · 1.6 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
<?xml version="1.0"?>
<ruleset name="SymPress WP-CLI Console MU Plugin">
<description>
SymPress coding standard audit for the WP-CLI console package.
</description>
<arg name="colors" />
<arg value="sp" />
<arg name="basepath" value="." />
<config name="testVersion" value="8.5-" />
<config name="text_domain" value="wp-cli-console" />
<file>wp-cli-console.php</file>
<file>src</file>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>.phpunit.cache/*</exclude-pattern>
<rule ref="SymPress-WordPress">
<exclude name="Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition" />
<exclude name="SlevomatCodingStandard.Functions.UnusedParameter.UnusedParameter" />
<exclude name="SlevomatCodingStandard.Variables.DisallowSuperGlobalVariable.DisallowedSuperGlobalVariable" />
<exclude name="SymPress.Files.LineLength.TooLong" />
<exclude name="WordPress.PHP.DiscouragedPHPFunctions.system_calls_proc_open" />
<exclude name="WordPress.Security.ValidatedSanitizedInput.InputNotSanitized" />
<exclude name="WordPress.Security.ValidatedSanitizedInput.MissingUnslash" />
<exclude name="WordPress.WP.AlternativeFunctions.file_system_operations_fclose" />
<exclude name="WordPress.WP.AlternativeFunctions.file_system_operations_fread" />
</rule>
<rule ref="SymPress.Namespaces.Psr4">
<properties>
<property name="psr4" type="array">
<element key="SymPress\WpCliConsole" value="src" />
</property>
</properties>
</rule>
</ruleset>