File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 27
27
<rule ref =" WordPress.DateTime.CurrentTimeTimestamp" />
28
28
<rule ref =" WordPress.DateTime.RestrictedFunctions" >
29
29
<properties >
30
- <property name =" exclude" type =" array" value =" date" />
30
+ <property name =" exclude" type =" array" >
31
+ <element key =" 0" value =" date" />
32
+ </property >
31
33
</properties >
32
34
</rule >
33
35
<rule ref =" WordPress.NamingConventions.PrefixAllGlobals" />
47
49
<rule ref =" WordPress.PHP.RestrictedPHPFunctions" />
48
50
<rule ref =" WordPress.PHP.DiscouragedPHPFunctions" >
49
51
<properties >
50
- <property name =" exclude" type =" array" value =" serialize,urlencode,obfuscation" />
52
+ <property name =" exclude" type =" array" >
53
+ <element key =" 0" value =" serialize" />
54
+ <element key =" 1" value =" urlencode" />
55
+ <element key =" 2" value =" obfuscation" />
56
+ </property >
51
57
</properties >
52
58
</rule >
53
59
<rule ref =" WordPress.PHP.DiscouragedPHPFunctions.runtime_configuration" >
You can’t perform that action at this time.
0 commit comments