mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-05 12:59:44 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -15,13 +15,13 @@ use Chill\CalendarBundle\Repository\CalendarACLAwareRepository;
|
||||
use Chill\PersonBundle\DataFixtures\Helper\PersonRandomHelper;
|
||||
use Chill\PersonBundle\Repository\AccompanyingPeriodACLAwareRepositoryInterface;
|
||||
use Chill\PersonBundle\Security\Authorization\AccompanyingPeriodVoter;
|
||||
use DateTimeImmutable;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use Prophecy\PhpUnit\ProphecyTrait;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
final class CalendarACLAwareRepositoryTest extends KernelTestCase
|
||||
@@ -51,7 +51,7 @@ final class CalendarACLAwareRepositoryTest extends KernelTestCase
|
||||
$this->entityManager
|
||||
);
|
||||
|
||||
$count = $calendarRepository->countByPerson($person, new DateTimeImmutable('yesterday'), new DateTimeImmutable('tomorrow'));
|
||||
$count = $calendarRepository->countByPerson($person, new \DateTimeImmutable('yesterday'), new \DateTimeImmutable('tomorrow'));
|
||||
|
||||
$this->assertIsInt($count);
|
||||
}
|
||||
|
Reference in New Issue
Block a user