-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
25 lines (21 loc) · 748 Bytes
/
phpcs.xml
File metadata and controls
25 lines (21 loc) · 748 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
25
<?xml version="1.0"?>
<ruleset name="BlockBridge WP">
<description>PHPCS ruleset for BlockBridge WP plugin.</description>
<file>blockbridge-wp.php</file>
<file>includes/</file>
<arg name="basepath" value="."/>
<arg name="colors"/>
<arg value="sp"/>
<rule ref="WordPress"/>
<rule ref="WordPress.Files.FileName">
<properties>
<property name="strict_class_file_names" value="false"/>
</properties>
<exclude name="WordPress.Files.FileName.NotHyphenatedLowercase"/>
</rule>
<!-- WordPress plugin header block serves as file documentation. -->
<rule ref="Squiz.Commenting.FileComment.Missing">
<exclude-pattern>blockbridge-wp.php</exclude-pattern>
<exclude-pattern>includes/functions.php</exclude-pattern>
</rule>
</ruleset>