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,9 +16,7 @@ use Chill\MainBundle\Repository\CenterRepositoryInterface;
use Chill\MainBundle\Test\PrepareClientTrait;
use Chill\PersonBundle\Entity\Person;
use Chill\PersonBundle\Repository\PersonRepository;
use Closure;
use Doctrine\ORM\EntityManagerInterface;
use PHPUnit\Framework\Constraint\StringContains;
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
@@ -28,6 +26,7 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
* As I am logged in as "center a_social"
*
* @internal
*
* @coversNothing
*/
final class PersonControllerUpdateTest extends WebTestCase
@@ -157,7 +156,7 @@ final class PersonControllerUpdateTest extends WebTestCase
$alerts = $crawler->filter('.alert-danger');
self::assertEquals(1, $alerts->count(), "there is an alert message displayed on the page");
self::assertEquals(1, $alerts->count(), 'there is an alert message displayed on the page');
}
public static function providePerson(): iterable