wp-advads 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -57,9 +57,13 @@
|
|
|
57
57
|
<type>error</type>
|
|
58
58
|
</rule>
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
<!-- Disable short arrays: -->
|
|
61
|
+
<rule ref="WordPress-Extra">
|
|
62
|
+
<exclude name="Generic.Arrays.DisallowShortArraySyntax"/>
|
|
63
|
+
</rule>
|
|
64
|
+
|
|
65
|
+
<!-- Enforce short arrays: -->
|
|
66
|
+
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
|
|
63
67
|
|
|
64
68
|
<!-- Method names MUST NOT be prefixed with a single underscore to indicate protected or private visibility. That is, an underscore prefix explicitly has no meaning. -->
|
|
65
69
|
<rule ref="PSR2.Methods.MethodDeclaration.Underscore">
|