Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generic/DeprecatedFunctions: remove redundant
method_exists()
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.php
- Loading branch information