Skip to content

Commit fdeb48e

Browse files
committed
IniSet: adjust WPCS sniff usage
WPCS moved IniSet checks into their own sniff.
1 parent 9402071 commit fdeb48e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

WordPressVIPMinimum/ruleset.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<exclude name="WordPress.Security.ValidatedSanitizedInput.MissingUnslash"/>
2424
</rule>
2525
<rule ref="WordPress.Security.PluginMenuSlug"/>
26+
<rule ref="WordPress.PHP.IniSet"/>
2627
<rule ref="WordPress.WP.EnqueuedResources"/>
2728
<rule ref="WordPress.WP.PostsPerPage"/>
2829
<rule ref="WordPress.WP.TimezoneChange"/>
@@ -73,12 +74,6 @@
7374
<rule ref="WordPress.PHP.DiscouragedPHPFunctions.runtime_configuration_error_reporting">
7475
<type>error</type>
7576
</rule>
76-
<rule ref="WordPress.PHP.DiscouragedPHPFunctions.runtime_configuration_ini_set">
77-
<type>error</type>
78-
</rule>
79-
<rule ref="WordPress.PHP.DiscouragedPHPFunctions.runtime_configuration_ini_alter">
80-
<type>error</type>
81-
</rule>
8277
<rule ref="WordPress.PHP.DiscouragedPHPFunctions.runtime_configuration_ini_restore">
8378
<type>error</type>
8479
</rule>

0 commit comments

Comments
 (0)