Skip to content

Commit

Permalink
Merge branch '5.4' into 6.2
Browse files Browse the repository at this point in the history
* 5.4:
  [Translation][Mailer] Convert `$this` calls to static ones in data providers
  [BC Break] Make data providers for abstract test cases static
  use TestCase suffix for abstract tests in Tests directories
  Fix Request locale property doc types
  Bump absolute lowest dep to 4.4
  • Loading branch information
nicolas-grekas committed Feb 17, 2023
2 parents f68a404 + 783ee4c commit 051bb72
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Test/TransportFactoryTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,33 +31,33 @@ abstract public function createFactory(): TransportFactoryInterface;
/**
* @return iterable<array{0: bool, 1: string}>
*/
abstract public function supportsProvider(): iterable;
abstract public static function supportsProvider(): iterable;

/**
* @return iterable<array{0: string, 1: string, 2: TransportInterface}>
*/
abstract public function createProvider(): iterable;
abstract public static function createProvider(): iterable;

/**
* @return iterable<array{0: string, 1: string|null}>
*/
public function unsupportedSchemeProvider(): iterable
public static function unsupportedSchemeProvider(): iterable
{
return [];
}

/**
* @return iterable<array{0: string, 1: string|null}>
*/
public function incompleteDsnProvider(): iterable
public static function incompleteDsnProvider(): iterable
{
return [];
}

/**
* @return iterable<array{0: string, 1: string|null}>
*/
public function missingRequiredOptionProvider(): iterable
public static function missingRequiredOptionProvider(): iterable
{
return [];
}
Expand Down

0 comments on commit 051bb72

Please sign in to comment.