apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -16,11 +16,11 @@ use Chill\PersonBundle\Entity\Household\HouseholdMember;
use Chill\PersonBundle\Entity\Household\Position;
use Chill\PersonBundle\Validator\Constraints\Household\MaxHolder;
use Chill\PersonBundle\Validator\Constraints\Household\MaxHolderValidator;
use DateTimeImmutable;
use Symfony\Component\Validator\Test\ConstraintValidatorTestCase;
/**
* @internal
*
* @coversNothing
*/
final class MaxHolderValidatorTest extends ConstraintValidatorTestCase
@@ -34,20 +34,20 @@ final class MaxHolderValidatorTest extends ConstraintValidatorTestCase
->addMember(
(new HouseholdMember())
->setHolder(true)
->setStartDate(new DateTimeImmutable('2010-01-01'))
->setEndDate(new DateTimeImmutable('2010-12-01'))
->setStartDate(new \DateTimeImmutable('2010-01-01'))
->setEndDate(new \DateTimeImmutable('2010-12-01'))
)
->addMember(
(new HouseholdMember())
->setHolder(true)
->setStartDate(new DateTimeImmutable('2010-06-01'))
->setEndDate(new DateTimeImmutable('2010-07-01'))
->setStartDate(new \DateTimeImmutable('2010-06-01'))
->setEndDate(new \DateTimeImmutable('2010-07-01'))
)
->addMember(
(new HouseholdMember())
->setHolder(true)
->setStartDate(new DateTimeImmutable('2010-01-01'))
->setEndDate(new DateTimeImmutable('2010-12-01'))
->setStartDate(new \DateTimeImmutable('2010-01-01'))
->setEndDate(new \DateTimeImmutable('2010-12-01'))
);
yield [