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 ea772ee commit 81f1b63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/php/Publisher/FilesystemPublisherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public function testPathToURL($expected, $path): void
);
}

public function providePathsToURL()
public static function providePathsToURL()
{
return [
['http://example.com', 'index.html'],
Expand Down
8 changes: 4 additions & 4 deletions tests/php/Service/UrlBundleServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@ public function testChunkSize(string $jobClass, int $chunkSize): void
$this->assertEquals($chunkSize, $method->invoke($job));
}

public function jobClasses(): array
public static function jobClasses(): array
{
return [
[GenerateStaticCacheJob::class],
[DeleteStaticCacheJob::class],
];
}

public function urlsPerJobCases(): array
public static function urlsPerJobCases(): array
{
return [
[
Expand All @@ -115,7 +115,7 @@ public function urlsPerJobCases(): array
];
}

public function chunkCases(): array
public static function chunkCases(): array
{
return [
[
Expand Down Expand Up @@ -183,7 +183,7 @@ public function testStripStageParam(string $url, string $expectedUrl): void
$this->assertEquals($expectedUrl, $method->invoke($urlService, $url));
}

public function provideStripStageParamUrls(): array
public static function provideStripStageParamUrls(): array
{
return [
// Testing removal of stage=Stage, expect http to remain http
Expand Down

0 comments on commit 81f1b63

Please sign in to comment.