Update php cs fixer to latest version 3.88.2 with fixes

This commit is contained in:
2025-10-02 16:54:11 +02:00
parent 7fceef03f7
commit 9a11e12669
5 changed files with 4 additions and 9 deletions

View File

@@ -54,9 +54,7 @@ class LoadUsers extends Fixture implements OrderedFixtureInterface
],
];
public function __construct(private readonly UserPasswordHasherInterface $passwordHasher)
{
}
public function __construct(private readonly UserPasswordHasherInterface $passwordHasher) {}
public function getOrder(): int
{

View File

@@ -22,9 +22,7 @@ use Symfony\Bundle\SecurityBundle\Security;
class TrackCreateUpdateSubscriber implements EventSubscriber
{
public function __construct(private readonly Security $security)
{
}
public function __construct(private readonly Security $security) {}
public function getSubscribedEvents(): array
{

View File

@@ -18,7 +18,6 @@ use Symfony\Component\Form\Extension\Core\Type\FormType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Contracts\Translation\TranslatorInterface;
use function count;
/**
* Command to get the report with curl:

View File

@@ -44,7 +44,7 @@ final readonly class PersonEditController
* @ParamConverter("person", options={"id": "person_id"})
*/
#[Route(path: '/{_locale}/person/{person_id}/general/edit', name: 'chill_person_general_edit')]
public function editAction(Person $person, Request $request, Session $session): \Symfony\Component\HttpFoundation\RedirectResponse|\Symfony\Component\HttpFoundation\Response
public function editAction(Person $person, Request $request, Session $session): RedirectResponse|Response
{
if (!$this->security->isGranted(PersonVoter::UPDATE, $person)) {
throw new AccessDeniedHttpException('You are not allowed to edit this person.');