Make data providers static

From PHPUnit 10, all data providers need to be static. This commit will
make migrating from version 9 to 10 a bit easier.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
This commit is contained in:
Henrique Moody 2023-04-02 16:00:37 +02:00
commit 2ee7509c2e
No known key found for this signature in database
GPG key ID: 221E9281655813A6
151 changed files with 891 additions and 891 deletions

View file

@ -28,7 +28,7 @@ final class ArrayValTest extends RuleTestCase
/**
* {@inheritDoc}
*/
public function providerForValidInput(): array
public static function providerForValidInput(): array
{
$rule = new ArrayVal();
@ -43,7 +43,7 @@ final class ArrayValTest extends RuleTestCase
/**
* {@inheritDoc}
*/
public function providerForInvalidInput(): array
public static function providerForInvalidInput(): array
{
$rule = new ArrayVal();