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 f267237 commit 4306440
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/php/ReadingModeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function testFromQueryString($readingMode, $dataQuery, $queryStringArray,
* - query string (string)
* @return array
*/
public function provideReadingModes()
public static function provideReadingModes()
{
return [
// Draft
Expand Down Expand Up @@ -156,7 +156,7 @@ public function testInvalidStage($stage)
ReadingMode::validateStage($stage);
}

public function provideTestInvalidStage()
public static function provideTestInvalidStage()
{
return [
[''],
Expand Down
2 changes: 1 addition & 1 deletion tests/php/RecursiveStagesServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function testStageDiffersRecursive(string $class, string $identifier, boo
});
}

public function objectsProvider(): array
public static function objectsProvider(): array
{
return [
'primary object (versioned, update)' => [
Expand Down
2 changes: 1 addition & 1 deletion tests/php/VersionedNumberCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected function setUp(): void
TestObject::singleton()->flushCache();
}

public function cacheDataProvider()
public static function cacheDataProvider()
{
return [
[Versioned::DRAFT, 'publishedID', false, 'draftVersion'],
Expand Down

0 comments on commit 4306440

Please sign in to comment.