Commit b0ea915
committed
Generic/DeprecatedFunctions: remove redundant
This code snippet was introduced in ec29df4 to allow for running the sniff on HHVM, but HHVM support has been dropped in PHPCS 3.3.1.
In native PHP, the `ReflectionFunctionAbstract::isDeprecated()` method is available since PHP 5.2, so this check is redundant.
Ref: https://www.php.net/manual/en/reflectionfunctionabstract.isdeprecated.phpmethod_exists()
1 parent 6070b60 commit b0ea915
File tree
1 file changed
+0
-3
lines changed- src/Standards/Generic/Sniffs/PHP
1 file changed
+0
-3
lines changedLines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
| |||
0 commit comments