mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 05:18:00 +00:00
replace PHP sizeof() with either count() or empty()
This commit is contained in:
@@ -32,6 +32,13 @@
|
||||
|
||||
|
||||
|
||||
<!-- eval, system, etc -->
|
||||
<rule ref="Generic.PHP.ForbiddenFunctions">
|
||||
<properties>
|
||||
<property name="forbiddenFunctions" type="array" value="sizeof=>count,delete=>unset,print=>echo,create_function=>null,eval=>null"/>
|
||||
</properties>
|
||||
</rule>
|
||||
|
||||
<!-- **************************************************************
|
||||
DOCUMENTATION
|
||||
************************************************************** -->
|
||||
|
||||
Reference in New Issue
Block a user