mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 13:54:59 +00:00
apply rules rector up to php82
This commit is contained in:
@@ -96,7 +96,7 @@ final class AccompanyingPeriodWorkEvaluationDenormalizerTest extends TestCase
|
||||
"id": 382
|
||||
}';
|
||||
|
||||
public function testAssociatedDocumentIsTheSame()
|
||||
public function testAssociatedDocumentIsTheSame(): never
|
||||
{
|
||||
$this->markTestIncomplete('not yet finished');
|
||||
$evaluation = new AccompanyingPeriodWorkEvaluation();
|
||||
|
@@ -30,7 +30,7 @@ final class HouseholdNormalizerTest extends KernelTestCase
|
||||
|
||||
private ?NormalizerInterface $normalizer;
|
||||
|
||||
private array $toDelete;
|
||||
private readonly array $toDelete;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
|
@@ -95,11 +95,7 @@ final class PersonDocGenNormalizerTest extends KernelTestCase
|
||||
->setFirstName('Renaud')
|
||||
->setLastName('Mégane');
|
||||
|
||||
$expected = array_merge(
|
||||
self::BLANK,
|
||||
['firstName' => 'Renaud', 'lastName' => 'Mégane',
|
||||
'text' => 'Renaud Mégane', ]
|
||||
);
|
||||
$expected = [...self::BLANK, 'firstName' => 'Renaud', 'lastName' => 'Mégane', 'text' => 'Renaud Mégane'];
|
||||
|
||||
yield [$person, $expected, 'partial normalization for a person'];
|
||||
|
||||
|
Reference in New Issue
Block a user