PluginProbe
QuadMenu – Mega Menu / 3.3.8
QuadMenu – Mega Menu v3.3.8
3.3.8 3.3.7 3.3.6 trunk 1.8.4 1.8.5 1.8.7 1.8.8 1.8.9 1.9.0 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 88 releases
quadmenu / vendor / franmastromarino / wp-orm / phpcs.xml

phpcs.xml in QuadMenu – Mega Menu 3.3.8, at vendor/franmastromarino/wp-orm/phpcs.xml

37 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?xml version="1.0"?>
2 <ruleset name="WP ORM">
3 <description>PHP CodeSniffer configuration for WP ORM using PSR12, PHPCompatibility, and some additional rules</description>
4
5 <!-- Set the default coding standards to PSR12 and PHPCompatibility -->
6 <rule ref="PSR12"/>
7 <rule ref="PHPCompatibility"/>
8
9 <!-- Specify the PHP version to check for compatibility -->
10 <config name="testVersion" value="7.1-"/>
11
12 <!-- Files to include -->
13 <file>src</file>
14
15 <!-- Exclude specific files/folders -->
16 <exclude-pattern>*/tests/*</exclude-pattern>
17
18 <!-- Ignore warnings, show only errors -->
19 <arg value="n"/>
20
21 <!-- Show sniff codes in all reports -->
22 <arg value="s"/>
23
24 <!-- Additional rules -->
25 <rule ref="Generic.CodeAnalysis.UnusedFunctionParameter">
26 <severity>10</severity>
27 </rule>
28 <rule ref="Generic.CodeAnalysis.EmptyStatement">
29 <severity>10</severity>
30 </rule>
31 <rule ref="Generic.PHP.LowerCaseConstant">
32 <severity>10</severity>
33 </rule>
34 <rule ref="Generic.PHP.DeprecatedFunctions">
35 <severity>10</severity>
36 </rule>
37 </ruleset>