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 11<?xml version =" 1.0" ?>
22<ruleset name =" Inpsyde" >
3- <!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
43
5- <!-- Set a description for this ruleset. -->
64 <description >A custom set of code standard rules to check for Inpsyde Codex.</description >
75
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. -->
236 <rule ref =" WordPress" >
7+
248 <!-- Yoda conditions are not helpful, cost only time. -->
259 <exclude name =" WordPress.PHP.YodaConditions" />
2610
You can’t perform that action at this time.
0 commit comments