From cc051cbda4c1e7da9de953abb8e850c4139b5b96 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Mon, 27 Oct 2025 07:52:25 +0100 Subject: [PATCH] IgnoreErrorExtension is a valid conditional-tag --- src/DependencyInjection/ValidateServiceTagsExtension.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DependencyInjection/ValidateServiceTagsExtension.php b/src/DependencyInjection/ValidateServiceTagsExtension.php index 0180baae09..f8428c7e99 100644 --- a/src/DependencyInjection/ValidateServiceTagsExtension.php +++ b/src/DependencyInjection/ValidateServiceTagsExtension.php @@ -5,6 +5,7 @@ use Nette\DI\CompilerExtension; use Override; use PhpParser\NodeVisitor; +use PHPStan\Analyser\IgnoreErrorExtension; use PHPStan\Analyser\ResultCache\ResultCacheMetaExtension; use PHPStan\Analyser\TypeSpecifierFactory; use PHPStan\Broker\BrokerFactory; @@ -115,6 +116,7 @@ final class ValidateServiceTagsExtension extends CompilerExtension NodeVisitor::class => RichParser::VISITOR_SERVICE_TAG, Collector::class => CollectorRegistryFactory::COLLECTOR_TAG, DiagnoseExtension::class => DiagnoseExtension::EXTENSION_TAG, + IgnoreErrorExtension::class => IgnoreErrorExtension::EXTENSION_TAG, ]; /**