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