1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace PHPStan\Rules\RestrictedUsage; |
4: | |
5: | use PHPStan\Analyser\Scope; |
6: | use PHPStan\Reflection\ClassConstantReflection; |
7: | |
8: | |
9: | |
10: | |
11: | |
12: | |
13: | |
14: | |
15: | |
16: | |
17: | |
18: | |
19: | |
20: | |
21: | |
22: | |
23: | |
24: | |
25: | |
26: | |
27: | |
28: | interface RestrictedClassConstantUsageExtension |
29: | { |
30: | |
31: | public const CLASS_CONSTANT_EXTENSION_TAG = 'phpstan.restrictedClassConstantUsageExtension'; |
32: | |
33: | public function isRestrictedClassConstantUsage( |
34: | ClassConstantReflection $constantReflection, |
35: | Scope $scope, |
36: | ): ?RestrictedUsage; |
37: | |
38: | } |
39: | |