Disallow is_null

This commit is contained in:
Ferdinand Kuhl 2021-10-01 19:13:03 +02:00
parent 4bb9f54ca8
commit d6e9f9b41f

View file

@ -60,7 +60,7 @@
<rule ref="Generic.PHP.ForbiddenFunctions">
<properties>
<property name="forbiddenFunctions" type="array" value="sizeof=>count,delete=>unset,xdebug_break=>null,join=>implode"/>
<property name="forbiddenFunctions" type="array" value="sizeof=>count,delete=>unset,xdebug_break=>null,join=>implode,is_null=>null"/>
</properties>
</rule>
<rule ref="Generic.Formatting.SpaceAfterCast">