We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d132c2a + 62a9602 commit 12e6a38Copy full SHA for 12e6a38
CHANGELOG.md
@@ -11,6 +11,7 @@ master
11
* Updated nikic/php-parser to 5.4
12
* Updated phpunit/phpunit to 10.5
13
* Updated symfony/var-dumper to 6.4
14
+* Added empty() to the list of banned functions
15
16
v3.0.0
17
------
extension.neon
@@ -52,6 +52,11 @@ parameters:
52
type: Expr_ShellExec
53
functions: null
54
55
+ # enable detection of empty()
56
+ -
57
+ type: Expr_Empty
58
+ functions: null
59
+
60
# enable detection of `use Tests\Foo\Bar` in a non-test file
61
use_from_tests: true
62
tests/Functional/snippets/empty.php
@@ -0,0 +1,3 @@
1
+<?php
2
3
+empty(['test empty']);
0 commit comments