-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
24 lines (20 loc) · 937 Bytes
/
Copy pathphpcs.xml
File metadata and controls
24 lines (20 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0"?>
<ruleset name="OffsetWP Coding Standards">
<description>PHPCS</description>
<arg value="ps"/>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<rule ref="WordPress">
<exclude name="WordPress.Files.FileName" />
<exclude name="WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents" />
<exclude name="WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents" />
<exclude name="WordPress.WP.AlternativeFunctions.file_system_operations_mkdir" />
<exclude name="WordPress.WP.AlternativeFunctions.file_system_operations_rmdir" />
<exclude name="WordPress.WP.AlternativeFunctions.unlink_unlink" />
<exclude name="Squiz.Commenting.FunctionComment.SpacingAfterParamType" />
<exclude name="Universal.NamingConventions.NoReservedKeywordParameterNames" />
</rule>
<file>commands</file>
<file>src</file>
<exclude-pattern>vendor</exclude-pattern>
</ruleset>