File tree Expand file tree Collapse file tree 7 files changed +13
-18
lines changed
Expand file tree Collapse file tree 7 files changed +13
-18
lines changed Original file line number Diff line number Diff line change @@ -408,32 +408,17 @@ services:
408408 arguments :
409409 parser : @defaultAnalysisParser
410410
411- -
412- class : PHPStan\Analyser\IgnoreErrorExtensionProvider
413-
414- -
415- class : PHPStan\Analyser\LocalIgnoresProcessor
416-
417- -
418- class : PHPStan\Analyser\RuleErrorTransformer
419-
420411 -
421412 class : PHPStan\Analyser\Ignore\IgnoredErrorHelper
422413 arguments :
423414 ignoreErrors : %ignoreErrors%
424415 reportUnmatchedIgnoredErrors : %reportUnmatchedIgnoredErrors%
425416
426- -
427- class : PHPStan\Analyser\Ignore\IgnoreLexer
428-
429417 -
430418 class : PHPStan\Analyser\LazyInternalScopeFactory
431419 autowired :
432420 - PHPStan\Analyser\InternalScopeFactory
433421
434- -
435- class : PHPStan\Analyser\ScopeFactory
436-
437422 -
438423 class : PHPStan\Analyser\NodeScopeResolver
439424 arguments :
@@ -453,9 +438,6 @@ services:
453438 class : PHPStan\Analyser\ConstantResolver
454439 factory : @PHPStan\Analyser\ConstantResolverFactory::create ()
455440
456- -
457- class : PHPStan\Analyser\ConstantResolverFactory
458-
459441 -
460442 implement : PHPStan\Analyser\ResultCache\ResultCacheManagerFactory
461443 arguments :
Original file line number Diff line number Diff line change 22
33namespace PHPStan \Analyser ;
44
5+ use PHPStan \DependencyInjection \AutowiredService ;
56use PHPStan \DependencyInjection \Container ;
67use PHPStan \Php \ComposerPhpVersionFactory ;
78use PHPStan \Reflection \ReflectionProvider \ReflectionProviderProvider ;
89
10+ #[AutowiredService]
911final class ConstantResolverFactory
1012{
1113
Original file line number Diff line number Diff line change 44
55use Nette \Utils \Strings ;
66use PHPStan \Analyser \Error ;
7+ use PHPStan \DependencyInjection \AutowiredService ;
78use function implode ;
89use const PREG_SET_ORDER ;
910
11+ #[AutowiredService]
1012final class IgnoreLexer
1113{
1214
Original file line number Diff line number Diff line change 22
33namespace PHPStan \Analyser ;
44
5+ use PHPStan \DependencyInjection \AutowiredService ;
56use PHPStan \DependencyInjection \Container ;
67
8+ #[AutowiredService]
79final class IgnoreErrorExtensionProvider
810{
911
Original file line number Diff line number Diff line change 22
33namespace PHPStan \Analyser ;
44
5+ use PHPStan \DependencyInjection \AutowiredService ;
56use function array_key_exists ;
67use function array_values ;
78use function count ;
1011/**
1112 * @phpstan-import-type LinesToIgnore from FileAnalyserResult
1213 */
14+ #[AutowiredService]
1315final class LocalIgnoresProcessor
1416{
1517
Original file line number Diff line number Diff line change 33namespace PHPStan \Analyser ;
44
55use PhpParser \Node ;
6+ use PHPStan \DependencyInjection \AutowiredService ;
67use PHPStan \Rules \FileRuleError ;
78use PHPStan \Rules \IdentifierRuleError ;
89use PHPStan \Rules \LineRuleError ;
1112use PHPStan \Rules \RuleError ;
1213use PHPStan \Rules \TipRuleError ;
1314
15+ #[AutowiredService]
1416final class RuleErrorTransformer
1517{
1618
Original file line number Diff line number Diff line change 22
33namespace PHPStan \Analyser ;
44
5+ use PHPStan \DependencyInjection \AutowiredService ;
6+
57/**
68 * @api
79 */
10+ #[AutowiredService]
811final class ScopeFactory
912{
1013
You can’t perform that action at this time.
0 commit comments