Skip to content

Commit

Permalink
[Tester] fix PHPUnit 10 deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
olarno authored Oct 27, 2023
1 parent f80acd4 commit 0fedf5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/tester/Tests/Http/Cookie/CookieTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function testMatchesDomain(): void
static::assertTrue($cookie->matchesDomain('example.local'));
}

public function pathMatchProvider(): array
public static function pathMatchProvider(): array
{
return [
['/foo', '/foo', true],
Expand Down Expand Up @@ -147,7 +147,7 @@ public function testMatchesPath(string $cookiePath, string $requestPath, bool $i
static::assertSame($isMatch, $cookie->matchesPath($requestPath));
}

public function cookieValidateProvider(): array
public static function cookieValidateProvider(): array
{
return [
['foo', 'baz', 'bar', true],
Expand Down Expand Up @@ -200,7 +200,7 @@ public function testConvertsToString(): void
/**
* Provides the parsed information from a cookie.
*/
public function cookieParserDataProvider(): array
public static function cookieParserDataProvider(): array
{
return [
[
Expand Down

0 comments on commit 0fedf5b

Please sign in to comment.