forked from gocodebox/lifterlms-labs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
26 lines (20 loc) · 760 Bytes
/
phpcs.xml
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
<?xml version="1.0"?>
<ruleset name="LifterLMS Labs">
<description>LifterLMS Labs rules for PHP_CodeSniffer</description>
<file>.</file>
<rule ref="LifterLMS">
<!-- @todo: Most core files break this rule. -->
<exclude name="WordPress.Files.FileName.InvalidClassFileName" />
</rule>
<rule ref="LifterLMS.Commenting.FileComment.DuplicateSinceTag">
<exclude-pattern>inc/labs/inc/beaver-builder/modules/**/includes/frontend.php</exclude-pattern>
</rule>
<rule ref="Squiz.Commenting.FileComment.Missing">
<exclude-pattern>inc/labs/inc/beaver-builder/modules/**/js/frontend.js</exclude-pattern>
</rule>
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" value="lifterlms-labs" />
</properties>
</rule>
</ruleset>