diff --git a/composer.json b/composer.json index afaa48a..8bcd85b 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 || ^10.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'],