File tree Expand file tree Collapse file tree 8 files changed +14
-21
lines changed
BetterReflection/SourceLocator Expand file tree Collapse file tree 8 files changed +14
-21
lines changed Original file line number Diff line number Diff line change @@ -625,40 +625,22 @@ services:
625625 arguments :
626626 usePathConstantsAsConstantString : %usePathConstantsAsConstantString%
627627
628- -
629- class : PHPStan\Reflection\Annotations\AnnotationsMethodsClassReflectionExtension
630-
631- -
632- class : PHPStan\Reflection\Annotations\AnnotationsPropertiesClassReflectionExtension
633-
634- -
635- class : PHPStan\Reflection\BetterReflection\SourceLocator\CachingVisitor
636-
637628 -
638629 class : PHPStan\Reflection\BetterReflection\SourceLocator\FileNodesFetcher
639630 arguments :
640631 parser : @defaultAnalysisParser
641632
642- -
643- class : PHPStan\Reflection\BetterReflection\SourceLocator\ComposerJsonAndInstalledJsonSourceLocatorMaker
644-
645633 -
646634 class : PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocatorFactory
647635 arguments :
648636 fileFinder : @fileFinderScan
649637
650- -
651- class : PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedDirectorySourceLocatorRepository
652-
653638 -
654639 implement : PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedPsrAutoloaderLocatorFactory
655640
656641 -
657642 implement : PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedSingleFileSourceLocatorFactory
658643
659- -
660- class : PHPStan\Reflection\BetterReflection\SourceLocator\OptimizedSingleFileSourceLocatorRepository
661-
662644 -
663645 class : PHPStan\Reflection\BetterReflection\Type\AdapterReflectionEnumCaseDynamicReturnTypeExtension
664646 arguments :
@@ -678,9 +660,6 @@ services:
678660 arguments :
679661 additionalConstructors : %additionalConstructors%
680662
681- -
682- class : PHPStan\Reflection\RequireExtension\RequireExtendsMethodsClassReflectionExtension
683-
684663 -
685664 class : PHPStan\Reflection\RequireExtension\RequireExtendsPropertiesClassReflectionExtension
686665
Original file line number Diff line number Diff line change 22
33namespace PHPStan \Reflection \Annotations ;
44
5+ use PHPStan \DependencyInjection \AutowiredService ;
56use PHPStan \PhpDoc \Tag \TemplateTag ;
67use PHPStan \Reflection \ClassReflection ;
78use PHPStan \Reflection \ExtendedMethodReflection ;
1516use function array_map ;
1617use function count ;
1718
19+ #[AutowiredService]
1820final class AnnotationsMethodsClassReflectionExtension implements MethodsClassReflectionExtension
1921{
2022
Original file line number Diff line number Diff line change 22
33namespace PHPStan \Reflection \Annotations ;
44
5+ use PHPStan \DependencyInjection \AutowiredService ;
56use PHPStan \Reflection \ClassReflection ;
67use PHPStan \Reflection \ExtendedPropertyReflection ;
78use PHPStan \Reflection \PropertiesClassReflectionExtension ;
89use PHPStan \Type \Generic \TemplateTypeHelper ;
910use PHPStan \Type \Generic \TemplateTypeVariance ;
1011use PHPStan \Type \NeverType ;
1112
13+ #[AutowiredService]
1214final class AnnotationsPropertiesClassReflectionExtension implements PropertiesClassReflectionExtension
1315{
1416
Original file line number Diff line number Diff line change 99use PHPStan \BetterReflection \Reflection \Exception \InvalidConstantNode ;
1010use PHPStan \BetterReflection \SourceLocator \Located \LocatedSource ;
1111use PHPStan \BetterReflection \Util \ConstantNodeChecker ;
12+ use PHPStan \DependencyInjection \AutowiredService ;
1213use PHPStan \Reflection \ConstantNameHelper ;
1314use function strtolower ;
1415
16+ #[AutowiredService]
1517final class CachingVisitor extends NodeVisitorAbstract
1618{
1719
Original file line number Diff line number Diff line change 88use PHPStan \BetterReflection \SourceLocator \Type \Composer \Psr \Psr0Mapping ;
99use PHPStan \BetterReflection \SourceLocator \Type \Composer \Psr \Psr4Mapping ;
1010use PHPStan \BetterReflection \SourceLocator \Type \SourceLocator ;
11+ use PHPStan \DependencyInjection \AutowiredService ;
1112use PHPStan \File \CouldNotReadFileException ;
1213use PHPStan \File \FileReader ;
1314use PHPStan \Internal \ComposerHelper ;
2526use function str_contains ;
2627use const GLOB_ONLYDIR ;
2728
29+ #[AutowiredService]
2830final class ComposerJsonAndInstalledJsonSourceLocatorMaker
2931{
3032
Original file line number Diff line number Diff line change 22
33namespace PHPStan \Reflection \BetterReflection \SourceLocator ;
44
5+ use PHPStan \DependencyInjection \AutowiredService ;
56use function array_key_exists ;
67
8+ #[AutowiredService]
79final class OptimizedDirectorySourceLocatorRepository
810{
911
Original file line number Diff line number Diff line change 22
33namespace PHPStan \Reflection \BetterReflection \SourceLocator ;
44
5+ use PHPStan \DependencyInjection \AutowiredService ;
56use function array_key_exists ;
67
8+ #[AutowiredService]
79final class OptimizedSingleFileSourceLocatorRepository
810{
911
Original file line number Diff line number Diff line change 33namespace PHPStan \Reflection \RequireExtension ;
44
55use PHPStan \Analyser \OutOfClassScope ;
6+ use PHPStan \DependencyInjection \AutowiredService ;
67use PHPStan \Reflection \ClassReflection ;
78use PHPStan \Reflection \ExtendedMethodReflection ;
89use PHPStan \Reflection \MethodsClassReflectionExtension ;
910use PHPStan \ShouldNotHappenException ;
1011
12+ #[AutowiredService]
1113final class RequireExtendsMethodsClassReflectionExtension implements MethodsClassReflectionExtension
1214{
1315
You can’t perform that action at this time.
0 commit comments