File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -78,13 +78,6 @@ class IniSetSniff extends AbstractFunctionParameterSniff {
7878 * );
7979 */
8080 protected $ blacklisted_options = array (
81- 'max_execution_time ' => array (
82- 'message ' => 'Use `set_time_limit()` instead. ' ,
83- ),
84- 'short_open_tag ' => array (
85- 'invalid_values ' => array ( 'false ' , '0 ' , 'Off ' ),
86- 'message ' => 'Turning off short_open_tag is prohibited as it can break other plugins. ' ,
87- ),
8881 'bcmath.scale ' => array (
8982 'message ' => 'Use `bcscale()` instead. ' ,
9083 ),
@@ -115,9 +108,16 @@ class IniSetSniff extends AbstractFunctionParameterSniff {
115108 'log_errors ' => array (
116109 'message ' => 'Use `WP_DEBUG_LOG` instead. ' ,
117110 ),
111+ 'max_execution_time ' => array (
112+ 'message ' => 'Use `set_time_limit()` instead. ' ,
113+ ),
118114 'memory_limit ' => array (
119115 'message ' => 'Use `wp_raise_memory_limit()` or hook into the filters in that function. ' ,
120116 ),
117+ 'short_open_tag ' => array (
118+ 'invalid_values ' => array ( 'false ' , '0 ' , 'Off ' ),
119+ 'message ' => 'Turning off short_open_tag is prohibited as it can break other plugins. ' ,
120+ ),
121121 );
122122
123123 /**
You can’t perform that action at this time.
0 commit comments