|
21 | 21 | use PHPStan\Reflection\Deprecation\PropertyDeprecationExtension;
|
22 | 22 | use PHPStan\Reflection\MethodsClassReflectionExtension;
|
23 | 23 | use PHPStan\Reflection\PropertiesClassReflectionExtension;
|
| 24 | +use PHPStan\Rules\Constants\AlwaysUsedClassConstantsExtension; |
24 | 25 | use PHPStan\Rules\Constants\AlwaysUsedClassConstantsExtensionProvider;
|
25 | 26 | use PHPStan\Rules\LazyRegistry;
|
| 27 | +use PHPStan\Rules\Methods\AlwaysUsedMethodExtension; |
| 28 | +use PHPStan\Rules\Methods\AlwaysUsedMethodExtensionProvider; |
26 | 29 | use PHPStan\Rules\Properties\ReadWritePropertiesExtension;
|
27 | 30 | use PHPStan\Rules\Properties\ReadWritePropertiesExtensionProvider;
|
28 | 31 | use PHPStan\Rules\RestrictedUsage\RestrictedClassConstantUsageExtension;
|
@@ -71,7 +74,8 @@ public function loadConfiguration(): void
|
71 | 74 | TypeNodeResolverExtension::class => TypeNodeResolverExtension::EXTENSION_TAG,
|
72 | 75 | Rule::class => LazyRegistry::RULE_TAG,
|
73 | 76 | StubFilesExtension::class => StubFilesExtension::EXTENSION_TAG,
|
74 |
| - AlwaysUsedClassConstantsExtensionProvider::class => AlwaysUsedClassConstantsExtensionProvider::EXTENSION_TAG, |
| 77 | + AlwaysUsedClassConstantsExtension::class => AlwaysUsedClassConstantsExtensionProvider::EXTENSION_TAG, |
| 78 | + AlwaysUsedMethodExtension::class => AlwaysUsedMethodExtensionProvider::EXTENSION_TAG, |
75 | 79 | ReadWritePropertiesExtension::class => ReadWritePropertiesExtensionProvider::EXTENSION_TAG,
|
76 | 80 | FunctionTypeSpecifyingExtension::class => TypeSpecifierFactory::FUNCTION_TYPE_SPECIFYING_EXTENSION_TAG,
|
77 | 81 | MethodTypeSpecifyingExtension::class => TypeSpecifierFactory::METHOD_TYPE_SPECIFYING_EXTENSION_TAG,
|
|
0 commit comments