disallow key_exists
Some checks failed
ci/woodpecker/push/code-style Pipeline failed
ci/woodpecker/push/test Pipeline was successful

This commit is contained in:
Ferdinand Kuhl 2022-07-30 14:38:51 +02:00
parent 2478c0f3ff
commit 99e18213f2

View file

@ -7,6 +7,7 @@
<!-- Base standard -->
<rule ref="PSR12"/>
<exclude-pattern>*\.js</exclude-pattern>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<rule ref="DigiComp.Commenting.VariableComment">
@ -61,7 +62,7 @@
<rule ref="Generic.PHP.ForbiddenFunctions">
<properties>
<property name="forbiddenFunctions" type="array" value="sizeof=>count,delete=>unset,xdebug_break=>null,join=>implode,is_null=>null"/>
<property name="forbiddenFunctions" type="array" value="sizeof=>count,delete=>unset,xdebug_break=>null,join=>implode,is_null=>null,key_exists=>array_key_exists"/>
</properties>
</rule>
<rule ref="Generic.Formatting.SpaceAfterCast">