diff --git a/composer.json b/composer.json index c4e999e4..ece4f29f 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ "silverstripe/vendor-plugin": "^2" }, "require-dev": { - "phpunit/phpunit": "^9.6", + "phpunit/phpunit": "^11.3", "squizlabs/php_codesniffer": "^3.7", "silverstripe/standards": "^1", "phpstan/extension-installer": "^1.3" diff --git a/tests/ReportAdminTest.php b/tests/ReportAdminTest.php index 36776c6d..d6553e22 100644 --- a/tests/ReportAdminTest.php +++ b/tests/ReportAdminTest.php @@ -46,7 +46,7 @@ public function testBreadcrumbsAreGenerated() $this->assertSame('Fake report two', $map['Title']); } - public function provideShowReport(): array + public static function provideShowReport(): array { return [ 'cannot view' => [