File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 125
125
<!-- Ban some functions -->
126
126
<rule ref =" Generic.PHP.ForbiddenFunctions" >
127
127
<properties >
128
- <property name =" forbiddenFunctions" type =" array" >
129
- <element key =" sizeof" value =" count" />
130
- <element key =" delete" value =" unset" />
128
+ <property name =" forbiddenFunctions" type =" array" extend =" true" >
131
129
<element key =" print" value =" echo" />
132
130
<element key =" is_null" value =" null" />
133
131
<element key =" create_function" value =" null" />
Original file line number Diff line number Diff line change 55
55
<!-- Ban some functions -->
56
56
<rule ref =" Generic.PHP.ForbiddenFunctions" >
57
57
<properties >
58
- <property name =" forbiddenFunctions" type =" array" >
59
- <element key =" sizeof" value =" count" />
60
- <element key =" delete" value =" unset" />
58
+ <property name =" forbiddenFunctions" type =" array" extend =" true" >
61
59
<element key =" print" value =" echo" />
62
60
<element key =" is_null" value =" null" />
63
61
<element key =" create_function" value =" null" />
You can’t perform that action at this time.
0 commit comments