Skip to content

Commit 9e4b0c1

Browse files
committed
Revert WordPress Security rules names
1 parent dae25e2 commit 9e4b0c1

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

Inpsyde/ruleset.xml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
<?xml version="1.0"?>
22
<ruleset name="Inpsyde Coding Standard">
33

4-
<description>PHP 7+ coding standards for Inpsyde WordPress projects.</description>
4+
<description>PHP 7+ coding standards for Inpsyde WordPress projects.</description>
55

66
<autoload>./PhpcsHelpers.php</autoload>
77
<autoload>./PHPCSAliases.php</autoload>
88

9-
<!--
10-
PHP 7.0 and higher.
11-
-->
12-
<config name="testVersion" value="7.0-"/>
9+
<!--
10+
PHP 7.0 and higher.
11+
-->
12+
<config name="testVersion" value="7.0-"/>
1313

1414
<!--
1515
Arguments: colors, show progress and show sniff name.
1616
-->
1717
<arg name="colors"/>
1818
<arg value="sp"/>
1919

20-
<!--
21-
PSR 2 Code style.
22-
See http://www.php-fig.org/psr/psr-2/
23-
-->
20+
<!--
21+
PSR 2 Code style.
22+
See http://www.php-fig.org/psr/psr-2/
23+
-->
2424
<rule ref="PSR2">
2525
<exclude name="Generic.Files.LineLength.TooLong"/>
2626
</rule>
2727

28-
<!--
29-
Neutron standard are quality tools for PHP7 development from Automattic.
30-
See https://github.com/Automattic/phpcs-neutron-standard
31-
-->
28+
<!--
29+
Neutron standard are quality tools for PHP7 development from Automattic.
30+
See https://github.com/Automattic/phpcs-neutron-standard
31+
-->
3232
<rule ref="NeutronStandard.Arrays.DisallowLongformArray">
3333
<type>warning</type>
3434
</rule>
@@ -64,9 +64,9 @@
6464
<rule ref="WordPress.VIP.SessionVariableUsage"/>
6565
<rule ref="WordPress.VIP.SessionFunctionsUsage"/>
6666
<rule ref="WordPress.VIP.SuperGlobalInputUsage"/>
67-
<rule ref="WordPress.Security.ValidatedSanitizedInput"/>
68-
<rule ref="WordPress.Security.EscapeOutput"/>
69-
<rule ref="WordPress.Security.NonceVerification"/>
67+
<rule ref="WordPress.VIP.ValidatedSanitizedInput"/>
68+
<rule ref="WordPress.XSS.EscapeOutput"/>
69+
<rule ref="WordPress.CSRF.NonceVerification"/>
7070
<rule ref="WordPress.WP.AlternativeFunctions.curl"/>
7171
<rule ref="WordPress.WP.DiscouragedConstants"/>
7272
<rule ref="WordPress.WP.I18n"/>
@@ -93,9 +93,9 @@
9393
<type>error</type>
9494
</rule>
9595

96-
<!--
97-
Generic
98-
-->
96+
<!--
97+
Generic
98+
-->
9999
<rule ref="Generic.Metrics.CyclomaticComplexity">
100100
<properties>
101101
<property name="absoluteComplexity" value="50"/>

0 commit comments

Comments
 (0)