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.methodDeprecationExtension
Methods | ||
---|---|---|
public
|
getMethodDeprecation(ReflectionMethod $reflection): ?Deprecation
|
# |