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');
|
throw $this->createNotFoundException('Accompanying Period not found');
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO Add permission
|
// TODO Add permission
|
||||||
// $this->denyAccessUnlessGranted('CHILL_PERSON_SEE', $person);
|
// $this->denyAccessUnlessGranted('CHILL_PERSON_SEE', $person);
|
||||||
} else {
|
} else {
|
||||||
throw $this->createNotFoundException('Person or Accompanying Period not found');
|
throw $this->createNotFoundException('Person or Accompanying Period not found');
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ use UnexpectedValueException;
|
|||||||
final readonly class CalendarDocController
|
final readonly class CalendarDocController
|
||||||
{
|
{
|
||||||
public function __construct(
|
public function __construct(
|
||||||
private EngineInterface $engine,
|
private \Twig\Environment $engine,
|
||||||
private EntityManagerInterface $entityManager,
|
private EntityManagerInterface $entityManager,
|
||||||
private FormFactoryInterface $formFactory,
|
private FormFactoryInterface $formFactory,
|
||||||
private Security $security,
|
private Security $security,
|
||||||
|
@ -126,10 +126,11 @@ services:
|
|||||||
|
|
||||||
chill.custom_field.custom_field_long_choice:
|
chill.custom_field.custom_field_long_choice:
|
||||||
class: Chill\CustomFieldsBundle\CustomFields\CustomFieldLongChoice
|
class: Chill\CustomFieldsBundle\CustomFields\CustomFieldLongChoice
|
||||||
|
autowire: true
|
||||||
|
autoconfigure: true
|
||||||
arguments:
|
arguments:
|
||||||
- "@chill.custom_field.custom_field_long_choice_option_repository"
|
- "@chill.custom_field.custom_field_long_choice_option_repository"
|
||||||
- "@chill.main.helper.translatable_string"
|
- "@chill.main.helper.translatable_string"
|
||||||
- "@templating"
|
|
||||||
tags:
|
tags:
|
||||||
- { name: 'chill.custom_field', type: 'long_choice' }
|
- { name: 'chill.custom_field', type: 'long_choice' }
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ final readonly class GenericDocForAccompanyingPeriodController
|
|||||||
private Manager $manager,
|
private Manager $manager,
|
||||||
private PaginatorFactory $paginator,
|
private PaginatorFactory $paginator,
|
||||||
private Security $security,
|
private Security $security,
|
||||||
private EngineInterface $twig,
|
private \Twig\Environment $twig,
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ final readonly class GenericDocForPerson
|
|||||||
private Manager $manager,
|
private Manager $manager,
|
||||||
private PaginatorFactory $paginator,
|
private PaginatorFactory $paginator,
|
||||||
private Security $security,
|
private Security $security,
|
||||||
private EngineInterface $twig,
|
private \Twig\Environment $twig,
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ class EventSearch extends AbstractSearch
|
|||||||
private readonly Security $security,
|
private readonly Security $security,
|
||||||
private readonly EventRepository $er,
|
private readonly EventRepository $er,
|
||||||
private readonly AuthorizationHelper $authorizationHelper,
|
private readonly AuthorizationHelper $authorizationHelper,
|
||||||
private readonly TemplatingEngine $templating,
|
private readonly \Twig\Environment $templating,
|
||||||
private readonly PaginatorFactory $paginationFactory
|
private readonly PaginatorFactory $paginationFactory
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
@ -24,6 +24,7 @@ class PasswordRecoverEvent extends Event
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param bool $safelyGenerated true if generated safely (from console command, etc.)
|
* @param bool $safelyGenerated true if generated safely (from console command, etc.)
|
||||||
|
* @param null|mixed $ip
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct(
|
||||||
private readonly ?string $token = null,
|
private readonly ?string $token = null,
|
||||||
|
@ -102,7 +102,7 @@ class ThirdPartyType extends AbstractType
|
|||||||
'label' => 'thirdparty.Contact data are confidential',
|
'label' => 'thirdparty.Contact data are confidential',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Institutional ThirdParty (parent)
|
// Institutional ThirdParty (parent)
|
||||||
} else {
|
} else {
|
||||||
$builder
|
$builder
|
||||||
->add('nameCompany', TextType::class, [
|
->add('nameCompany', TextType::class, [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user