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

@@ -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(),