We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f3fbc3 commit ce6a85aCopy full SHA for ce6a85a
src/Rules/Deprecations/DeprecatedScopeResolver.php
@@ -4,7 +4,21 @@
4
5
use PHPStan\Analyser\Scope;
6
7
-/** @api */
+/**
8
+ * This is the interface for custom deprecated scope resolvers.
9
+ *
10
+ * To register it in the configuration file use the `phpstan.deprecations.deprecatedScopeResolver` service tag:
11
12
+ * ```
13
+ * services:
14
+ * -
15
+ * class: App\PHPStan\MyExtension
16
+ * tags:
17
+ * - phpstan.deprecations.deprecatedScopeResolver
18
19
20
+ * @api
21
+ */
22
interface DeprecatedScopeResolver
23
{
24
0 commit comments