PluginProbe
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages / 2.0.1
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages v2.0.1
3.4.2 3.4.1 3.4.0 3.3.9 3.3.8 3.3.7 3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 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.3.2 All 195 releases
← All changes | phpcs.tests.xml +3 -12 2.3.12.0.1 View file →
@@ -1,15 +1,8 @@
1 1 <?xml version="1.0"?>
2 2 <ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd">
3 3 <description>Coding Standards for Tests</description>
4 4
5 - <!-- Inspect files in the /tests folder -->
6 - <file>tests</file>
7 -
8 - <!-- Run in verbose mode and specify the precise rule that failed in output -->
9 - <arg value="sv"/>
10 - <arg name="colors"/>
11 -
12 5 <!-- Check that code meets WordPress-Extra standards. -->
13 6 <rule ref="WordPress-Extra">
14 7 <!-- Don't use yoda conditions -->
15 8 <exclude name="WordPress.PHP.YodaConditions" />
@@ -21,9 +14,8 @@
21 14 <!-- Class and function braces and spacing in Codeceptoin differs from WordPress -->
22 15 <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis" />
23 16 <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.ExtraSpaceAfterCloseParenthesis" />
24 17 <exclude name="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen" />
25 - <exclude name="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose" />
26 18 <exclude name="WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis" />
27 19 <exclude name="Generic.Classes.OpeningBraceSameLine.BraceOnNewLine" />
28 20 <exclude name="Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine" />
29 21 <exclude name="PEAR.Functions.FunctionCallSignature.SpaceBeforeOpenBracket" />
@@ -28,16 +20,15 @@
28 20 <exclude name="Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine" />
29 21 <exclude name="PEAR.Functions.FunctionCallSignature.SpaceBeforeOpenBracket" />
30 22 <exclude name="PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket" />
31 23 <exclude name="PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket" />
32 - <exclude name="Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction" />
33 24
34 25 <!-- _before() and _passed() must use underscores in Codeception -->
35 26 <exclude name="PSR2.Methods.MethodDeclaration.Underscore" />
36 27
37 28 <!-- Permit [] instead of array() -->
38 - <exclude name="Universal.Arrays.DisallowShortArraySyntax.Found" />
39 -
29 + <exclude name="Generic.Arrays.DisallowShortArraySyntax.Found" />
30 +
40 31 <!-- We might use some datetime functions for tests -->
41 32 <exclude name="WordPress.DateTime.RestrictedFunctions" />
42 33
43 34 <!-- Handles false positives where Coding Standards thinks we did something wrong when we're just checking for e.g. a stylesheet -->
@@ -42,9 +33,9 @@
42 33
43 34 <!-- Handles false positives where Coding Standards thinks we did something wrong when we're just checking for e.g. a stylesheet -->
44 35 <exclude name="WordPress.WP.EnqueuedResources" />
45 36 <exclude name="WordPress.PHP.DiscouragedPHPFunctions" />
46 - <exclude name="WordPress.WP.CapitalPDangit.MisspelledInText" />
37 + <exclude name="WordPress.WP.CapitalPDangit.Misspelled" />
47 38 </rule>
48 39
49 40 <!-- Check that code is documented to WordPress Standards. -->
50 41 <rule ref="WordPress-Docs">