| 1: | <?php declare(strict_types = 1); |
| 2: | |
| 3: | namespace PHPStan\Reflection\Deprecation; |
| 4: | |
| 5: | use PHPStan\BetterReflection\Reflection\Adapter\ReflectionFunction; |
| 6: | use PHPStan\DependencyInjection\ExtensionInterface; |
| 7: | |
| 8: | |
| 9: | |
| 10: | |
| 11: | |
| 12: | |
| 13: | |
| 14: | |
| 15: | |
| 16: | |
| 17: | |
| 18: | |
| 19: | |
| 20: | |
| 21: | |
| 22: | |
| 23: | #[ExtensionInterface(tag: self::FUNCTION_EXTENSION_TAG)] |
| 24: | interface FunctionDeprecationExtension |
| 25: | { |
| 26: | |
| 27: | public const FUNCTION_EXTENSION_TAG = 'phpstan.functionDeprecationExtension'; |
| 28: | |
| 29: | public function getFunctionDeprecation(ReflectionFunction $reflection): ?Deprecation; |
| 30: | |
| 31: | } |
| 32: | |