diff --git a/composer.json b/composer.json index 7ea9ded..f461963 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "guzzlehttp/guzzle": "^7.5" }, "require-dev": { - "phpunit/phpunit": "^9.6", + "phpunit/phpunit": "^11.3", "squizlabs/php_codesniffer": "^3", "symfony/thanks": "^1.2", "silverstripe/standards": "^1", diff --git a/tests/Model/PackageTest.php b/tests/Model/PackageTest.php index 4392c07..6259939 100644 --- a/tests/Model/PackageTest.php +++ b/tests/Model/PackageTest.php @@ -9,7 +9,7 @@ class PackageTest extends SapphireTest { - public function providePackageNamesAndTitles() + public static function providePackageNamesAndTitles() { return [ ['pretendvendor/silverstripe-prefixedpackage', 'prefixedpackage'], diff --git a/tests/Util/ApiLoaderTest.php b/tests/Util/ApiLoaderTest.php index 2bf1043..86f705c 100644 --- a/tests/Util/ApiLoaderTest.php +++ b/tests/Util/ApiLoaderTest.php @@ -125,7 +125,7 @@ protected function getCacheKey() $inst->parseResponseContents($contents, $failureMessage); } - public function provideParseResponseContentsEmpty(): array + public static function provideParseResponseContentsEmpty(): array { return [ [