Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DeprecatedScopeResolver.php

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\Deprecations
View source
interface DeprecatedScopeResolver {
    public function isScopeDeprecated(Scope $scope) : bool;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
DeprecatedScopeResolver::isScopeDeprecated public function 4
RSS feed
Powered by Drupal