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 dabf301 + b0ea915 commit 4ed7983Copy full SHA for 4ed7983
src/Standards/Generic/Sniffs/PHP/DeprecatedFunctionsSniff.php
@@ -35,9 +35,6 @@ public function __construct()
35
36
foreach ($functions['internal'] as $functionName) {
37
$function = new \ReflectionFunction($functionName);
38
- if (method_exists($function, 'isDeprecated') === false) {
39
- break;
40
- }
41
42
if ($function->isDeprecated() === true) {
43
$this->forbiddenFunctions[$functionName] = null;
0 commit comments