This interface allows you to provide custom deprecation information
To register it in the configuration file use the following tag:
services:
-
class: App\PHPStan\MyProvider
tags:
- phpstan.functionDeprecationExtension
Methods | ||
---|---|---|
public
|
getFunctionDeprecation(ReflectionFunction $reflection): ?Deprecation
|
# |