Skip to content

Commit 3180675

Browse files
committed
Update AutowiredAttributeServicesExtension.php
1 parent 8b2d4f1 commit 3180675

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/DependencyInjection/AutowiredAttributeServicesExtension.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@
2121
use PHPStan\Reflection\Deprecation\PropertyDeprecationExtension;
2222
use PHPStan\Reflection\MethodsClassReflectionExtension;
2323
use PHPStan\Reflection\PropertiesClassReflectionExtension;
24+
use PHPStan\Rules\Constants\AlwaysUsedClassConstantsExtension;
2425
use PHPStan\Rules\Constants\AlwaysUsedClassConstantsExtensionProvider;
2526
use PHPStan\Rules\LazyRegistry;
27+
use PHPStan\Rules\Methods\AlwaysUsedMethodExtension;
28+
use PHPStan\Rules\Methods\AlwaysUsedMethodExtensionProvider;
2629
use PHPStan\Rules\Properties\ReadWritePropertiesExtension;
2730
use PHPStan\Rules\Properties\ReadWritePropertiesExtensionProvider;
2831
use PHPStan\Rules\RestrictedUsage\RestrictedClassConstantUsageExtension;
@@ -71,7 +74,8 @@ public function loadConfiguration(): void
7174
TypeNodeResolverExtension::class => TypeNodeResolverExtension::EXTENSION_TAG,
7275
Rule::class => LazyRegistry::RULE_TAG,
7376
StubFilesExtension::class => StubFilesExtension::EXTENSION_TAG,
74-
AlwaysUsedClassConstantsExtensionProvider::class => AlwaysUsedClassConstantsExtensionProvider::EXTENSION_TAG,
77+
AlwaysUsedClassConstantsExtension::class => AlwaysUsedClassConstantsExtensionProvider::EXTENSION_TAG,
78+
AlwaysUsedMethodExtension::class => AlwaysUsedMethodExtensionProvider::EXTENSION_TAG,
7579
ReadWritePropertiesExtension::class => ReadWritePropertiesExtensionProvider::EXTENSION_TAG,
7680
FunctionTypeSpecifyingExtension::class => TypeSpecifierFactory::FUNCTION_TYPE_SPECIFYING_EXTENSION_TAG,
7781
MethodTypeSpecifyingExtension::class => TypeSpecifierFactory::METHOD_TYPE_SPECIFYING_EXTENSION_TAG,

0 commit comments

Comments
 (0)