PluginProbe ʕ •ᴥ•ʔ
Ocean Extra / 2.2.6
Ocean Extra v2.2.6
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.4.1 1.1.4.2 1.1.5 1.1.5.1 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.0.1 1.2.1 1.2.1.1 1.2.1.2 1.2.10 1.2.2 1.2.2.1 1.2.2.2 1.2.2.3 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.10 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.14 1.4.15 1.4.16 1.4.17 1.4.18 1.4.19 1.4.2 1.4.20 1.4.21 1.4.22 1.4.23 1.4.24 1.4.25 1.4.26 1.4.27 1.4.28 1.4.29 1.4.3 1.4.30 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.12 1.5.13 1.5.14 1.5.15 1.5.16 1.5.17 1.5.18 1.5.19 1.5.2 1.5.20 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.3.1 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6
ocean-extra / phpcs.xml.dist
ocean-extra Last commit date
assets 2 years ago includes 2 years ago languages 2 years ago sass 2 years ago changelog.txt 2 years ago index.php 9 years ago ocean-extra.php 2 years ago phpcs.xml.dist 3 years ago readme.txt 2 years ago wpml-config.xml 4 years ago
phpcs.xml.dist
54 lines
1 <?xml version="1.0"?>
2 <ruleset name="OceanExtra">
3 <description>Rules for Ocean Extra</description>
4
5 <arg name="extensions" value="php" />
6
7 <exclude-pattern>*/vendor/*</exclude-pattern>
8 <exclude-pattern>*/node_modules/*</exclude-pattern>
9 <exclude-pattern>*/sass*/*</exclude-pattern>
10 <exclude-pattern>*/build*/*</exclude-pattern>
11 <exclude-pattern>*/assets*/*</exclude-pattern>
12
13 <!-- Include the WordPress-Extra standard. -->
14 <rule ref="WordPress-Extra">
15 <!--
16 We may want a middle ground though. The best way to do this is add the
17 entire ruleset, then rule by rule, remove ones that don't suit a project.
18 We can do this by running `phpcs` with the '-s' flag, which allows us to
19 see the names of the sniffs reporting errors.
20 Once we know the sniff names, we can opt to exclude sniffs which don't
21 suit our project like so.
22 -->
23 <exclude name="WordPress.Files.FileName.InvalidClassFileName"/>
24 <exclude name="WordPress.Files.FileName.NotHyphenatedLowercase"/>
25 <exclude name="WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase"/>
26 <exclude name="WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned"/>
27 <exclude name="WordPress.PHP.StrictInArray.MissingTrueStrict"/>
28 <exclude name="Generic.Files.LineEndings" />
29 <exclude name="Generic.Formatting.MultipleStatementAlignment.NotSameWarning" />
30 <exclude name="Generic.Arrays.DisallowShortArraySyntax"/>
31 </rule>
32
33 <!-- Let's also check that everything is properly documented. -->
34 <rule ref="WordPress-Docs"/>
35 <rule ref="PHPCompatibility"/>
36
37 <config name="minimum_supported_wp_version" value="5.0.0"/>
38 <config name="testVersion" value="5.6-"/>
39
40 <rule ref="WordPress.WP.I18n">
41 <properties>
42 <property name="text_domain" value="ocean-extra"/>
43 </properties>
44 </rule>
45
46 <rule ref="WordPress.NamingConventions.PrefixAllGlobals">
47 <properties>
48 <property name="prefixes" type="array">
49 <element value="oe"/>
50 </property>
51 </properties>
52 </rule>
53
54 </ruleset>