diff --git a/composer.json b/composer.json index fd48ca0..91f7b80 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "silverstripe/framework": "^6" }, "require-dev": { - "phpunit/phpunit": "^9.6", + "phpunit/phpunit": "^11.3", "squizlabs/php_codesniffer": "^3.7", "silverstripe/versioned": "^3", "silverstripe/standards": "^1", diff --git a/tests/GridFieldOrderableRowsTest.php b/tests/GridFieldOrderableRowsTest.php index 6cf438b..7ef3f1e 100644 --- a/tests/GridFieldOrderableRowsTest.php +++ b/tests/GridFieldOrderableRowsTest.php @@ -61,7 +61,7 @@ class GridFieldOrderableRowsTest extends SapphireTest ThroughBelongsVersioned::class, ]; - public function reorderItemsProvider() + public static function reorderItemsProvider() { return [ [StubParent::class . '.parent', 'MyHasMany', 'Sort'], @@ -336,7 +336,7 @@ public function testGetManipulatedData(string $dataClass, string $listClass, arr $this->assertSame($expected, $sortedList->column($col)); } - public function provideGetManipulatedData(): array + public static function provideGetManipulatedData(): array { return [ [