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.classDeprecationExtension
Methods | ||
---|---|---|
public
|
getClassDeprecation(ReflectionClass|ReflectionEnum $reflection): ?Deprecation
|
# |