File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<ruleset name =" Inpsyde" >
3
- <!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
4
3
5
- <!-- Set a description for this ruleset. -->
6
4
<description >A custom set of code standard rules to check for Inpsyde Codex.</description >
7
5
8
- <exclude-pattern >vendor/*</exclude-pattern >
9
- <exclude-pattern >node_modules/*</exclude-pattern >
10
- <exclude-pattern >*.min.js</exclude-pattern >
11
-
12
- <!-- TRUE, FALSE, NULL are constant, we write in uppercase. -->
13
- <rule ref =" Generic.PHP.UpperCaseConstant" />
14
-
15
- <!-- Allow . in hook names -->
16
- <rule ref =" WordPress.NamingConventions.ValidHookName" >
17
- <properties >
18
- <property name =" additionalWordDelimiters" value =" ." />
19
- </properties >
20
- </rule >
21
-
22
- <!-- Include the WordPress ruleset, with exclusions. -->
23
6
<rule ref =" WordPress" >
7
+
24
8
<!-- Yoda conditions are not helpful, cost only time. -->
25
9
<exclude name =" WordPress.PHP.YodaConditions" />
26
10
You can’t perform that action at this time.
0 commit comments