From 56023d67ec9e387f1bfa7fd7b48061743d2071bd Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Fri, 6 Sep 2024 17:42:58 +1200 Subject: [PATCH] DEP Use PHPUnit 11 --- composer.json | 2 +- tests/php/Control/LoginSessionControllerTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 3c22443..45fffe4 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "ua-parser/uap-php": "^3.9.14" }, "require-dev": { - "phpunit/phpunit": "^9.6", + "phpunit/phpunit": "^11.3", "squizlabs/php_codesniffer": "^3.7", "symbiote/silverstripe-queuedjobs": "^6", "silverstripe/standards": "^1", diff --git a/tests/php/Control/LoginSessionControllerTest.php b/tests/php/Control/LoginSessionControllerTest.php index 73c5d07..7bd4e40 100644 --- a/tests/php/Control/LoginSessionControllerTest.php +++ b/tests/php/Control/LoginSessionControllerTest.php @@ -113,7 +113,7 @@ public function testBadSecurityID() ); } - public function badIDs() + public static function badIDs() { return [ 'No ID' => [''],