PluginProbe
Integrate Umami / trunk
Integrate Umami vtrunk
trunk 0.1 0.1.1 0.2.0 0.2.1 0.2.2 0.3.0 0.3.1 0.3.2 0.3.3 0.4.0 0.4.1 0.4.2 0.5.0 0.6.0 0.6.1 0.7.0 0.8.0 0.8.1 0.8.2 0.8.3 07.0
integrate-umami / phpcs.xml

phpcs.xml in Integrate Umami trunk, at phpcs.xml

40 lines 1.3 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="WPUmami">
3 <description>WPUmami coding standard</description>
4
5 <!-- Exclude files and directories. -->
6 <exclude-pattern>/vendor/*</exclude-pattern>
7 <exclude-pattern>/node_modules/*</exclude-pattern>
8 <exclude-pattern>*.js</exclude-pattern>
9 <exclude-pattern>*.css</exclude-pattern>
10
11 <!-- Include the WordPress Coding Standards -->
12 <rule ref="WordPress-Extra">
13 <exclude name="WordPress.WP.I18n.NonSingularStringLiteralText" />
14 <exclude name="WordPress.Files.FileName.InvalidClassFileName"/>
15 <exclude name="Generic.Arrays.DisallowShortArraySyntax"/>
16 <exclude name="WordPress.Files.FileName.NotHyphenatedLowercase"/>
17 <exclude name="WordPress.PHP.YodaConditions.NotYoda"/>
18 </rule>
19
20 <rule ref="WordPress-Docs">
21 <exclude name="Squiz.Commenting.FileComment.Missing"/>
22 </rule>
23
24 <rule ref="PSR2.Namespaces.NamespaceDeclaration"/>
25 <rule ref="PSR2.Namespaces.UseDeclaration"/>
26
27
28 <rule ref="Generic.Files.LineLength">
29 <properties>
30 <property name="lineLimit" value="200" />
31 <property name="absoluteLineLimit" value="200" />
32 </properties>
33 </rule>
34
35 <config name="testVersion" value="7.4-"/>
36 <rule ref="PHPCompatibility">
37 <include-pattern>*\.php$</include-pattern>
38 </rule>
39 </ruleset>
40