From aa84148a98f3fefd2bd7caf9e0be6f179e845221 Mon Sep 17 00:00:00 2001 From: Michel Hunziker Date: Mon, 30 Dec 2024 21:09:06 +0100 Subject: [PATCH] Test with PHPUnit 9 --- composer.json | 2 +- tests/Report/GitlabTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index afaa48a..a02de93 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ }, "require-dev": { "phpstan/phpstan": "^2.0", - "phpunit/phpunit": "^8.5.14 || ^9.0", + "phpunit/phpunit": "^9.0", "squizlabs/php_codesniffer": "^3.5.0" }, "autoload": { diff --git a/tests/Report/GitlabTest.php b/tests/Report/GitlabTest.php index ebe2e26..263421e 100644 --- a/tests/Report/GitlabTest.php +++ b/tests/Report/GitlabTest.php @@ -70,7 +70,7 @@ public function testGenerateWithEmpty(): void /** * @return array> */ - public function violations(): array + public static function violations(): array { return [ 'single' => ['Single'],