From c9b8e01b3e4748cf49386c72d25deb7e34f31c00 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Thu, 30 Oct 2025 07:31:35 +0100 Subject: [PATCH] Update phpstan-phpunit to 2.0.8 --- composer.json | 2 +- tests/Symfony/DefaultParameterMapTest.php | 3 --- tests/Symfony/DefaultServiceMapTest.php | 3 --- tests/Type/Symfony/ExtensionTest.php | 1 - tests/Type/Symfony/ExtensionTestWithoutContainer.php | 2 -- 5 files changed, 1 insertion(+), 10 deletions(-) diff --git a/composer.json b/composer.json index c03d2c99..fc6a9d4f 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-phpunit": "^2.0", + "phpstan/phpstan-phpunit": "^2.0.8", "phpstan/phpstan-strict-rules": "^2.0", "phpunit/phpunit": "^9.6", "psr/container": "1.1.2", diff --git a/tests/Symfony/DefaultParameterMapTest.php b/tests/Symfony/DefaultParameterMapTest.php index 018a68a9..318590d3 100644 --- a/tests/Symfony/DefaultParameterMapTest.php +++ b/tests/Symfony/DefaultParameterMapTest.php @@ -25,9 +25,6 @@ public function testGetParameterEscapedPath(): void self::assertNotNull($serviceMap->getParameter('app.string')); } - /** - * @return Iterator - */ public function getParameterProvider(): Iterator { yield [ diff --git a/tests/Symfony/DefaultServiceMapTest.php b/tests/Symfony/DefaultServiceMapTest.php index b43bee49..1188e64e 100644 --- a/tests/Symfony/DefaultServiceMapTest.php +++ b/tests/Symfony/DefaultServiceMapTest.php @@ -25,9 +25,6 @@ public function testGetContainerEscapedPath(): void self::assertNotNull($serviceMap->getService('withClass')); } - /** - * @return Iterator - */ public function getServiceProvider(): Iterator { yield [ diff --git a/tests/Type/Symfony/ExtensionTest.php b/tests/Type/Symfony/ExtensionTest.php index 0848715e..c749203a 100644 --- a/tests/Type/Symfony/ExtensionTest.php +++ b/tests/Type/Symfony/ExtensionTest.php @@ -12,7 +12,6 @@ class ExtensionTest extends TypeInferenceTestCase { - /** @return mixed[] */ public function dataFileAsserts(): iterable { yield from $this->gatherAssertTypes(__DIR__ . '/data/messenger_handle_trait.php'); diff --git a/tests/Type/Symfony/ExtensionTestWithoutContainer.php b/tests/Type/Symfony/ExtensionTestWithoutContainer.php index fd1785c7..4d68aa04 100644 --- a/tests/Type/Symfony/ExtensionTestWithoutContainer.php +++ b/tests/Type/Symfony/ExtensionTestWithoutContainer.php @@ -8,7 +8,6 @@ class ExtensionTestWithoutContainer extends TypeInferenceTestCase { - /** @return mixed[] */ public function dataExampleController(): iterable { if (!class_exists('Symfony\Bundle\FrameworkBundle\Controller\Controller')) { @@ -18,7 +17,6 @@ public function dataExampleController(): iterable yield from $this->gatherAssertTypes(__DIR__ . '/data/ExampleController.php'); } - /** @return mixed[] */ public function dataAbstractController(): iterable { if (!class_exists('Symfony\Bundle\FrameworkBundle\Controller\AbstractController')) {