interface DeprecatedScopeResolver
This is the interface for custom deprecated scope resolvers.
To register it in the configuration file use the `phpstan.deprecations.deprecatedScopeResolver` service tag:
``` services: - class: App\PHPStan\MyExtension tags: - phpstan.deprecations.deprecatedScopeResolver ```
@api
Hierarchy
- interface \PHPStan\Rules\Deprecations\DeprecatedScopeResolver
Expanded class hierarchy of DeprecatedScopeResolver
All classes that implement DeprecatedScopeResolver
3 files declare their use of DeprecatedScopeResolver
- DeprecationHelperScope.php in vendor/
mglaman/ phpstan-drupal/ src/ DeprecatedScope/ DeprecationHelperScope.php - GroupLegacyScope.php in vendor/
mglaman/ phpstan-drupal/ src/ DeprecatedScope/ GroupLegacyScope.php - IgnoreDeprecationsScope.php in vendor/
mglaman/ phpstan-drupal/ src/ DeprecatedScope/ IgnoreDeprecationsScope.php
File
-
vendor/
phpstan/ phpstan-deprecation-rules/ src/ Rules/ Deprecations/ DeprecatedScopeResolver.php, line 22
Namespace
PHPStan\Rules\DeprecationsView source
interface DeprecatedScopeResolver {
public function isScopeDeprecated(Scope $scope) : bool;
}