2525use PHPStan \PhpDoc \PhpDocInheritanceResolver ;
2626use PHPStan \PhpDoc \StubPhpDocProvider ;
2727use PHPStan \Reflection \AttributeReflectionFactory ;
28+ use PHPStan \Reflection \Deprecation \DeprecationProvider ;
2829use PHPStan \Reflection \InitializerExprTypeResolver ;
2930use PHPStan \Reflection \ReflectionProvider ;
3031use PHPStan \Reflection \SignatureMap \SignatureMapProvider ;
@@ -67,6 +68,7 @@ public static function make(Container $container, array $rules, array $collector
6768 $ container ->getByType (StubPhpDocProvider::class),
6869 $ container ->getByType (PhpVersion::class),
6970 $ container ->getByType (SignatureMapProvider::class),
71+ $ container ->getByType (DeprecationProvider::class),
7072 $ container ->getByType (AttributeReflectionFactory::class),
7173 $ container ->getByType (PhpDocInheritanceResolver::class),
7274 $ container ->getByType (FileHelper::class),
@@ -83,6 +85,7 @@ public static function make(Container $container, array $rules, array $collector
8385 [], // @phpstan-ignore-line
8486 true ,
8587 true ,
88+ false ,
8689 );
8790 } elseif ($ version !== null && version_compare ($ version , '2.0.0 ' , '>= ' )) {
8891 $ nodeScopeResolver = new NodeScopeResolver ( // @phpstan-ignore-line
0 commit comments