From 7119ca3a8c7872c859f3968a831b7e3d2288414b Mon Sep 17 00:00:00 2001 From: Massimiliano Arione Date: Fri, 15 May 2026 17:49:38 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20=20allow=20phpUnit=2013?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 20 ++++++++++---------- src/Test/WebTestCase.php | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/composer.json b/composer.json index e639dc0..1154966 100644 --- a/composer.json +++ b/composer.json @@ -16,19 +16,19 @@ ], "require": { "php": "^8.2", - "symfony/browser-kit": "^6.4 || ^7.0 || ^8.0", - "symfony/console": "^6.4 || ^7.0 || ^8.0", - "symfony/css-selector": "^6.4 || ^7.0 || ^8.0", - "symfony/dependency-injection": "^6.4 || ^7.0 || ^8.0", - "symfony/dom-crawler": "^6.4 || ^7.0 || ^8.0" + "symfony/browser-kit": "^6.4 || ^7.4 || ^8.0", + "symfony/console": "^6.4 || ^7.4 || ^8.0", + "symfony/css-selector": "^6.4 || ^7.4 || ^8.0", + "symfony/dependency-injection": "^6.4 || ^7.4 || ^8.0", + "symfony/dom-crawler": "^6.4 || ^7.4 || ^8.0" }, "require-dev": { "mikey179/vfsstream": "^1.6.7", - "phpunit/phpunit": "^10.5 || ^11.5 || ^12.3", - "symfony/framework-bundle": "^6.4 || ^7.0 || ^8.0", - "symfony/mime": "^6.4 || ^7.0 || ^8.0", - "symfony/process": "^6.4 || ^7.0 || ^8.0", - "symfony/security-core": "^6.4 || ^7.0 || ^8.0" + "phpunit/phpunit": "^11.5 || ^12.5 || ^13.1", + "symfony/framework-bundle": "^6.4 || ^7.4 || ^8.0", + "symfony/mime": "^6.4 || ^7.4 || ^8.0", + "symfony/process": "^6.4 || ^7.4 || ^8.0", + "symfony/security-core": "^6.4 || ^7.4 || ^8.0" }, "config": { "bin-dir": "bin", diff --git a/src/Test/WebTestCase.php b/src/Test/WebTestCase.php index 9ebc0fa..76d7b63 100644 --- a/src/Test/WebTestCase.php +++ b/src/Test/WebTestCase.php @@ -171,9 +171,9 @@ protected static function commandTest( $application->addCommand($otherCommand); } } else { - $application->add($command); + $application->add($command); // @phpstan-ignore-line method.notFound foreach ($otherCommands as $otherCommand) { - $application->add($otherCommand); + $application->add($otherCommand); // @phpstan-ignore-line method.notFound } } $cmd = $application->find($name);