mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-31 03:53:49 +00:00
Merge branch 'master' into upgrade-sf5
This commit is contained in:
@@ -341,20 +341,20 @@ final class PersonContextTest extends KernelTestCase
|
||||
}
|
||||
|
||||
private function buildPersonContext(
|
||||
AuthorizationHelperInterface $authorizationHelper = null,
|
||||
BaseContextData $baseContextData = null,
|
||||
CenterResolverManagerInterface $centerResolverManager = null,
|
||||
DocumentCategoryRepository $documentCategoryRepository = null,
|
||||
EntityManagerInterface $em = null,
|
||||
NormalizerInterface $normalizer = null,
|
||||
ParameterBagInterface $parameterBag = null,
|
||||
ScopeRepositoryInterface $scopeRepository = null,
|
||||
Security $security = null,
|
||||
TranslatorInterface $translator = null,
|
||||
TranslatableStringHelperInterface $translatableStringHelper = null,
|
||||
ThirdPartyRender $thirdPartyRender = null,
|
||||
ThirdPartyRepository $thirdPartyRepository = null,
|
||||
ResidentialAddressRepository $residentialAddressRepository = null
|
||||
?AuthorizationHelperInterface $authorizationHelper = null,
|
||||
?BaseContextData $baseContextData = null,
|
||||
?CenterResolverManagerInterface $centerResolverManager = null,
|
||||
?DocumentCategoryRepository $documentCategoryRepository = null,
|
||||
?EntityManagerInterface $em = null,
|
||||
?NormalizerInterface $normalizer = null,
|
||||
?ParameterBagInterface $parameterBag = null,
|
||||
?ScopeRepositoryInterface $scopeRepository = null,
|
||||
?Security $security = null,
|
||||
?TranslatorInterface $translator = null,
|
||||
?TranslatableStringHelperInterface $translatableStringHelper = null,
|
||||
?ThirdPartyRender $thirdPartyRender = null,
|
||||
?ThirdPartyRepository $thirdPartyRepository = null,
|
||||
?ResidentialAddressRepository $residentialAddressRepository = null
|
||||
): PersonContext {
|
||||
if (null === $authorizationHelper) {
|
||||
$authorizationHelper = $this->prophesize(AuthorizationHelperInterface::class)->reveal();
|
||||
|
@@ -39,9 +39,9 @@ class AccompanyingPeriodWorkEvaluationGenericDocProviderTest extends KernelTestC
|
||||
* @dataProvider provideSearchArguments
|
||||
*/
|
||||
public function testBuildFetchQueryForAccompanyingPeriod(
|
||||
\DateTimeImmutable $startDate = null,
|
||||
\DateTimeImmutable $endDate = null,
|
||||
string $content = null
|
||||
?\DateTimeImmutable $startDate = null,
|
||||
?\DateTimeImmutable $endDate = null,
|
||||
?string $content = null
|
||||
): void {
|
||||
$period = $this->entityManager->createQuery('SELECT a FROM '.AccompanyingPeriod::class.' a')
|
||||
->setMaxResults(1)
|
||||
|
Reference in New Issue
Block a user