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.classConstantDeprecationExtension
Methods | ||
---|---|---|
public
|
getClassConstantDeprecation(ReflectionClassConstant $reflection): ?Deprecation
|
# |