Skip to content

Commit

Permalink
DEP Use PHPUnit 11
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Sep 6, 2024
1 parent 4bbfa9d commit 83e3afe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions tests/GridFieldOrderableRowsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class GridFieldOrderableRowsTest extends SapphireTest
ThroughBelongsVersioned::class,
];

public function reorderItemsProvider()
public static function reorderItemsProvider()
{
return [
[StubParent::class . '.parent', 'MyHasMany', 'Sort'],
Expand Down Expand Up @@ -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 [
[
Expand Down

0 comments on commit 83e3afe

Please sign in to comment.