mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-01 12:33:49 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -13,15 +13,14 @@ namespace Chill\CalendarBundle\Tests\Controller;
|
||||
|
||||
use Chill\MainBundle\Test\PrepareClientTrait;
|
||||
use Chill\PersonBundle\Entity\AccompanyingPeriod;
|
||||
use Chill\PersonBundle\Entity\AccompanyingPeriodParticipation;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use function random_int;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
final class CalendarControllerTest extends WebTestCase
|
||||
@@ -75,7 +74,7 @@ final class CalendarControllerTest extends WebTestCase
|
||||
->join('ac.scopes', 's')
|
||||
->andWhere('JSON_EXTRACT(s.name,\'fr\') LIKE :s')
|
||||
->setParameter('s', 'social')
|
||||
->setFirstResult(random_int(0, $nb - 1))
|
||||
->setFirstResult(\random_int(0, $nb - 1))
|
||||
->setMaxResults(1)
|
||||
->getQuery()
|
||||
->getSingleScalarResult(),
|
||||
|
Reference in New Issue
Block a user