mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 19:43:49 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -108,10 +108,8 @@ final class PersonDocGenNormalizerTest extends KernelTestCase
|
||||
|
||||
/**
|
||||
* @dataProvider dataGeneratorNormalizationNullOrNotNullHaveSameKeys
|
||||
*
|
||||
* @param mixed $context
|
||||
*/
|
||||
public function testNormalizationNullOrNotNullHaveSameKeys($context)
|
||||
public function testNormalizationNullOrNotNullHaveSameKeys(mixed $context)
|
||||
{
|
||||
$period = new Person();
|
||||
$notNullData = $this->buildPersonNormalizer()->normalize($period, 'docgen', $context);
|
||||
@@ -126,11 +124,8 @@ final class PersonDocGenNormalizerTest extends KernelTestCase
|
||||
|
||||
/**
|
||||
* @dataProvider generateData
|
||||
*
|
||||
* @param mixed $expected
|
||||
* @param mixed $msg
|
||||
*/
|
||||
public function testNormalize(?Person $person, $expected, $msg)
|
||||
public function testNormalize(?Person $person, mixed $expected, mixed $msg)
|
||||
{
|
||||
$normalized = $this->normalizer->normalize($person, 'docgen', [
|
||||
'docgen:expects' => Person::class,
|
||||
@@ -229,11 +224,8 @@ final class PersonDocGenNormalizerTest extends KernelTestCase
|
||||
* serializers.
|
||||
*
|
||||
* @dataProvider generateData
|
||||
*
|
||||
* @param mixed $expected
|
||||
* @param mixed $msg
|
||||
*/
|
||||
public function testNormalizeUsingNormalizer(?Person $person, $expected, $msg)
|
||||
public function testNormalizeUsingNormalizer(?Person $person, mixed $expected, mixed $msg)
|
||||
{
|
||||
$normalizer = $this->buildNormalizer();
|
||||
|
||||
|
Reference in New Issue
Block a user