Skip to content

Commit

Permalink
test: fix data provider usage with PHPUnit >= 10
Browse files Browse the repository at this point in the history
  • Loading branch information
jdecool committed Mar 11, 2024
1 parent 8a99853 commit 5bf7561
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function testFormatedId(Client $client)
*
* @return mixed
*/
public function clientProvider()
public static function clientProvider()
{
return [
[new Client()]
Expand Down
2 changes: 1 addition & 1 deletion tests/CoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function testRandom(CoreInterface $core, GeneratorInterface $generator)
*
* @return mixed
*/
public function coreProvider()
public static function coreProvider()
{
return [
[new Core(), new Generator()]
Expand Down
2 changes: 1 addition & 1 deletion tests/GeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function testRandom(GeneratorInterface $generator)
*
* @return mixed
*/
public function generatorProvider()
public static function generatorProvider()
{
return [
[new Generator()]
Expand Down

0 comments on commit 5bf7561

Please sign in to comment.