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.constantDeprecationExtension
| Methods | ||
|---|---|---|
public
|
getConstantDeprecation(ReflectionConstant $reflection): ?Deprecation
|
# |