mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
apply rector rules after updating the code with master branch
This commit is contained in:
parent
e45430f0c9
commit
aa553db659
@ -677,8 +677,8 @@ final class ActivityController extends AbstractController
|
||||
throw $this->createNotFoundException('Accompanying Period not found');
|
||||
}
|
||||
|
||||
// TODO Add permission
|
||||
// $this->denyAccessUnlessGranted('CHILL_PERSON_SEE', $person);
|
||||
// TODO Add permission
|
||||
// $this->denyAccessUnlessGranted('CHILL_PERSON_SEE', $person);
|
||||
} else {
|
||||
throw $this->createNotFoundException('Person or Accompanying Period not found');
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ use UnexpectedValueException;
|
||||
final readonly class CalendarDocController
|
||||
{
|
||||
public function __construct(
|
||||
private EngineInterface $engine,
|
||||
private \Twig\Environment $engine,
|
||||
private EntityManagerInterface $entityManager,
|
||||
private FormFactoryInterface $formFactory,
|
||||
private Security $security,
|
||||
|
@ -126,10 +126,11 @@ services:
|
||||
|
||||
chill.custom_field.custom_field_long_choice:
|
||||
class: Chill\CustomFieldsBundle\CustomFields\CustomFieldLongChoice
|
||||
autowire: true
|
||||
autoconfigure: true
|
||||
arguments:
|
||||
- "@chill.custom_field.custom_field_long_choice_option_repository"
|
||||
- "@chill.main.helper.translatable_string"
|
||||
- "@templating"
|
||||
tags:
|
||||
- { name: 'chill.custom_field', type: 'long_choice' }
|
||||
|
||||
|
@ -30,7 +30,7 @@ final readonly class GenericDocForAccompanyingPeriodController
|
||||
private Manager $manager,
|
||||
private PaginatorFactory $paginator,
|
||||
private Security $security,
|
||||
private EngineInterface $twig,
|
||||
private \Twig\Environment $twig,
|
||||
) {
|
||||
}
|
||||
|
||||
|
@ -29,7 +29,7 @@ final readonly class GenericDocForPerson
|
||||
private Manager $manager,
|
||||
private PaginatorFactory $paginator,
|
||||
private Security $security,
|
||||
private EngineInterface $twig,
|
||||
private \Twig\Environment $twig,
|
||||
) {
|
||||
}
|
||||
|
||||
|
@ -45,7 +45,7 @@ class EventSearch extends AbstractSearch
|
||||
private readonly Security $security,
|
||||
private readonly EventRepository $er,
|
||||
private readonly AuthorizationHelper $authorizationHelper,
|
||||
private readonly TemplatingEngine $templating,
|
||||
private readonly \Twig\Environment $templating,
|
||||
private readonly PaginatorFactory $paginationFactory
|
||||
) {
|
||||
}
|
||||
|
@ -24,6 +24,7 @@ class PasswordRecoverEvent extends Event
|
||||
|
||||
/**
|
||||
* @param bool $safelyGenerated true if generated safely (from console command, etc.)
|
||||
* @param null|mixed $ip
|
||||
*/
|
||||
public function __construct(
|
||||
private readonly ?string $token = null,
|
||||
|
@ -102,7 +102,7 @@ class ThirdPartyType extends AbstractType
|
||||
'label' => 'thirdparty.Contact data are confidential',
|
||||
]);
|
||||
|
||||
// Institutional ThirdParty (parent)
|
||||
// Institutional ThirdParty (parent)
|
||||
} else {
|
||||
$builder
|
||||
->add('nameCompany', TextType::class, [
|
||||
|
Loading…
x
Reference in New Issue
Block a user