mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 19:43:49 +00:00
upgrade phpunit: make data provider static
This commit is contained in:
@@ -77,7 +77,7 @@ final class PersonDocGenNormalizerTest extends KernelTestCase
|
||||
$this->normalizer = self::getContainer()->get(NormalizerInterface::class);
|
||||
}
|
||||
|
||||
public function dataGeneratorNormalizationNullOrNotNullHaveSameKeys(): iterable
|
||||
public static function dataGeneratorNormalizationNullOrNotNullHaveSameKeys(): iterable
|
||||
{
|
||||
yield [['docgen:expects' => Person::class, 'groups' => ['docgen:read']]];
|
||||
|
||||
@@ -88,7 +88,7 @@ final class PersonDocGenNormalizerTest extends KernelTestCase
|
||||
yield [['docgen:expects' => Person::class, 'groups' => ['docgen:read'], 'docgen:person:with-budget' => true]];
|
||||
}
|
||||
|
||||
public function generateData()
|
||||
public static function generateData()
|
||||
{
|
||||
$person = new Person();
|
||||
$person
|
||||
|
Reference in New Issue
Block a user