From 2ae701a8c5cb5dc4bd1fb04885397b6a9999a745 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 11 Oct 2026 12:12:57 +0000 Subject: [PATCH 1/2] [TASK] Update PHPStan packages | datasource | package | from | to | | ---------- | ----------------------- | ------ | ----- | | packagist | phpstan/phpstan | 2.2.17 | 2.3.0 | | packagist | phpstan/phpstan-phpunit | 2.0.21 | 2.1.1 | | packagist | phpstan/phpstan-symfony | 2.0.20 | 2.1.0 | --- Tests/CGL/composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/CGL/composer.json b/Tests/CGL/composer.json index be890d2..0377b58 100644 --- a/Tests/CGL/composer.json +++ b/Tests/CGL/composer.json @@ -4,9 +4,9 @@ "ergebnis/composer-normalize": "2.54.0", "friendsofphp/php-cs-fixer": "3.95.27", "phpstan/extension-installer": "1.4.3", - "phpstan/phpstan": "2.2.17", - "phpstan/phpstan-phpunit": "2.0.21", - "phpstan/phpstan-symfony": "2.0.20", + "phpstan/phpstan": "2.3.0", + "phpstan/phpstan-phpunit": "2.1.1", + "phpstan/phpstan-symfony": "2.1.0", "saschaegerer/phpstan-typo3": "3.1.0", "shipmonk/composer-dependency-analyser": "1.8.4", "ssch/typo3-rector": "3.16.0", From 8592d135e486ddd6c5e4bea4c95f8270badd025c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20H=C3=A4u=C3=9Fler?= Date: Mon, 12 Oct 2026 07:47:19 +0200 Subject: [PATCH 2/2] [TASK] Simplify variable assignments --- Classes/Command/ListQueueCommand.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Classes/Command/ListQueueCommand.php b/Classes/Command/ListQueueCommand.php index fbc00b2..a82b552 100644 --- a/Classes/Command/ListQueueCommand.php +++ b/Classes/Command/ListQueueCommand.php @@ -72,7 +72,6 @@ protected function execute(Console\Input\InputInterface $input, Console\Output\O $watch = $input->getOption('watch'); $transport = $this->mailer->getTransport(); - $hasFailures = false; // Early return if unsupported mail transport is configured if (!($transport instanceof Mail\Transport\QueueableTransport)) { @@ -97,12 +96,11 @@ protected function execute(Console\Input\InputInterface $input, Console\Output\O $section = $output->section(); $this->io = new Console\Style\SymfonyStyle($input, $section); - $this->watchForQueueUpdates($section, $transport); - } else { - $hasFailures = $this->decorateMailQueue($transport->getMailQueue()); } + $hasFailures = $this->decorateMailQueue($transport->getMailQueue()); + if ($strict && $hasFailures) { return self::FAILURE; }