This commit is contained in:
2025-11-03 16:22:33 +01:00
parent 7654db4e39
commit 662e962549
121 changed files with 132 additions and 172 deletions

View File

@@ -29,7 +29,7 @@ final class BySocialActionAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\ActivityBundle\Export\Aggregator\ACPAggregators\BySocialActionAggregator::class);
$this->aggregator = self::getContainer()->get(BySocialActionAggregator::class);
}
public function getAggregator(): BySocialActionAggregator

View File

@@ -29,7 +29,7 @@ final class BySocialIssueAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\ActivityBundle\Export\Aggregator\ACPAggregators\BySocialIssueAggregator::class);
$this->aggregator = self::getContainer()->get(BySocialIssueAggregator::class);
}
public function getAggregator(): BySocialIssueAggregator

View File

@@ -34,7 +34,7 @@ final class ActivityUserAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\ActivityBundle\Export\Aggregator\ActivityUserAggregator::class);
$this->aggregator = self::getContainer()->get(ActivityUserAggregator::class);
$request = $this->prophesize()
->willExtend(\Symfony\Component\HttpFoundation\Request::class);

View File

@@ -28,7 +28,7 @@ final class SumActivityVisitDurationTest extends AbstractExportTest
{
self::bootKernel();
$this->export = self::getContainer()->get(\Chill\ActivityBundle\Export\Export\LinkedToACP\SumActivityVisitDuration::class);
$this->export = self::getContainer()->get(SumActivityVisitDuration::class);
}
public function getExport()

View File

@@ -33,7 +33,7 @@ final class ActivityReasonFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\ActivityBundle\Export\Filter\PersonFilters\ActivityReasonFilter::class);
$this->filter = self::getContainer()->get(ActivityReasonFilter::class);
$request = $this->prophesize()
->willExtend(\Symfony\Component\HttpFoundation\Request::class);

View File

@@ -31,7 +31,7 @@ final class ActivityTypeFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\ActivityBundle\Export\Filter\ActivityTypeFilter::class);
$this->filter = self::getContainer()->get(ActivityTypeFilter::class);
}
public function getFilter(): ActivityTypeFilter

View File

@@ -31,7 +31,7 @@ final class ActivityReasonFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\ActivityBundle\Export\Filter\PersonFilters\ActivityReasonFilter::class);
$this->filter = self::getContainer()->get(ActivityReasonFilter::class);
}
public function getFilter(): ActivityReasonFilter

View File

@@ -30,7 +30,7 @@ final class PersonHavingActivityBetweenDateFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\ActivityBundle\Export\Filter\PersonFilters\PersonHavingActivityBetweenDateFilter::class);
$this->filter = self::getContainer()->get(PersonHavingActivityBetweenDateFilter::class);
}
public function getFilter(): PersonHavingActivityBetweenDateFilter

View File

@@ -32,7 +32,7 @@ final class PersonHavingActivityBetweenDateFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\ActivityBundle\Export\Filter\PersonFilters\PersonHavingActivityBetweenDateFilter::class);
$this->filter = self::getContainer()->get(PersonHavingActivityBetweenDateFilter::class);
$request = $this->prophesize()
->willExtend(Request::class);

View File

@@ -41,16 +41,15 @@ final class MapAndSubscribeUserCalendarCommand
private readonly MapCalendarToUser $mapCalendarToUser,
private readonly UserRepositoryInterface $userRepository,
private readonly MSUserAbsenceSync $userAbsenceSync,
) {
}
) {}
public function __invoke(
#[\Symfony\Component\Console\Attribute\Option(name: 'renew-before-end-interval', shortcut: 'r', mode: InputOption::VALUE_OPTIONAL, description: 'delay before renewing subscription')]
string $renewBeforeEndInterval = 'P1D',
#[\Symfony\Component\Console\Attribute\Option(name: 'subscription-duration', shortcut: 's', mode: InputOption::VALUE_OPTIONAL, description: 'duration for the subscription')]
string $subscriptionDuration = 'PT4230M',
?OutputInterface $output = null): int
{
?OutputInterface $output = null,
): int {
$this->logger->info(self::class.' execute command');
$limit = 50;

View File

@@ -46,8 +46,7 @@ class SendTestShortMessageOnCalendarCommand
private readonly ShortMessageForCalendarBuilderInterface $messageForCalendarBuilder,
private readonly TexterInterface $transporter,
private readonly UserRepositoryInterface $userRepository,
) {
}
) {}
public function __invoke(OutputInterface $output): int
{

View File

@@ -36,7 +36,7 @@ final class AgentAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\CalendarBundle\Export\Aggregator\AgentAggregator::class);
$this->aggregator = self::getContainer()->get(AgentAggregator::class);
}
public function getAggregator(): AgentAggregator

View File

@@ -36,7 +36,7 @@ final class CancelReasonAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\CalendarBundle\Export\Aggregator\CancelReasonAggregator::class);
$this->aggregator = self::getContainer()->get(CancelReasonAggregator::class);
}
public function getAggregator(): CancelReasonAggregator

View File

@@ -36,7 +36,7 @@ final class JobAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\CalendarBundle\Export\Aggregator\JobAggregator::class);
$this->aggregator = self::getContainer()->get(JobAggregator::class);
}
public function getAggregator(): JobAggregator

View File

@@ -36,7 +36,7 @@ final class LocationAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\CalendarBundle\Export\Aggregator\LocationAggregator::class);
$this->aggregator = self::getContainer()->get(LocationAggregator::class);
}
public function getAggregator(): LocationAggregator

View File

@@ -36,7 +36,7 @@ final class LocationTypeAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\CalendarBundle\Export\Aggregator\LocationTypeAggregator::class);
$this->aggregator = self::getContainer()->get(LocationTypeAggregator::class);
}
public function getAggregator(): LocationTypeAggregator

View File

@@ -36,7 +36,7 @@ final class MonthYearAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\CalendarBundle\Export\Aggregator\MonthYearAggregator::class);
$this->aggregator = self::getContainer()->get(MonthYearAggregator::class);
}
public function getAggregator(): MonthYearAggregator

View File

@@ -36,7 +36,7 @@ final class ScopeAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\CalendarBundle\Export\Aggregator\ScopeAggregator::class);
$this->aggregator = self::getContainer()->get(ScopeAggregator::class);
}
public function getAggregator(): ScopeAggregator

View File

@@ -43,7 +43,7 @@ final class AgentFilterTest extends AbstractFilterTest
$request->willExtend(\Symfony\Component\HttpFoundation\Request::class);
$request->getLocale()->willReturn('fr');
$this->filter = self::getContainer()->get(\Chill\CalendarBundle\Export\Filter\AgentFilter::class);
$this->filter = self::getContainer()->get(AgentFilter::class);
}
public function getFilter(): AgentFilter

View File

@@ -43,7 +43,7 @@ final class BetweenDatesFilterTest extends AbstractFilterTest
$request->willExtend(\Symfony\Component\HttpFoundation\Request::class);
$request->getLocale()->willReturn('fr');
$this->filter = self::getContainer()->get(\Chill\CalendarBundle\Export\Filter\BetweenDatesFilter::class);
$this->filter = self::getContainer()->get(BetweenDatesFilter::class);
}
public function getFilter(): BetweenDatesFilter

View File

@@ -44,7 +44,7 @@ final class JobFilterTest extends AbstractFilterTest
$request->willExtend(\Symfony\Component\HttpFoundation\Request::class);
$request->getLocale()->willReturn('fr');
$this->filter = self::getContainer()->get(\Chill\CalendarBundle\Export\Filter\JobFilter::class);
$this->filter = self::getContainer()->get(JobFilter::class);
}
public function getFilter(): JobFilter

View File

@@ -44,7 +44,7 @@ final class ScopeFilterTest extends AbstractFilterTest
$request->willExtend(\Symfony\Component\HttpFoundation\Request::class);
$request->getLocale()->willReturn('fr');
$this->filter = self::getContainer()->get(\Chill\CalendarBundle\Export\Filter\ScopeFilter::class);
$this->filter = self::getContainer()->get(ScopeFilter::class);
}
public function getFilter(): ScopeFilter

View File

@@ -45,8 +45,7 @@ class CreateFieldsOnGroupCommand
private readonly ValidatorInterface $validator,
private $availableLanguages,
private $customizablesEntities,
) {
}
) {}
/**
* Delete the existing custom fields for a given customFieldGroup.

View File

@@ -115,6 +115,7 @@ class OnGenerationFailsTest extends TestCase
if (!$arg instanceof Email) {
return false;
}
return array_any($arg->getTo(), fn ($to) => 'test@test.com' === $to->getAddress());
}),
Argument::any()

View File

@@ -189,8 +189,6 @@ class CRUDController extends AbstractController
* build a default role name, using the crud resolver.
*
* This method should not be overriden. Override `getRoleFor` instead.
*
* @return string
*/
protected function buildDefaultRole(string $action): string
{

View File

@@ -60,8 +60,7 @@ class ChillImportUsersCommand
protected \Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface $passwordEncoder,
protected ValidatorInterface $validator,
protected UserRepository $userRepository,
) {
}
) {}
protected function appendUserToFile(User $user)
{

View File

@@ -19,9 +19,7 @@ use Symfony\Component\Console\Output\OutputInterface;
#[AsCommand(name: 'chill:main:dump-list-permissions', description: 'Print a markdown reference of permissions (roles) grouped by title with dependencies).')]
final readonly class DumpListPermissionsCommand
{
public function __construct(private RoleDumper $roleDumper)
{
}
public function __construct(private RoleDumper $roleDumper) {}
public function __invoke(OutputInterface $output): int
{

View File

@@ -25,8 +25,7 @@ class ExecuteCronJobCommand
public function __construct(
private readonly CronManagerInterface $cronManager,
) {
}
) {}
protected function configure()
{

View File

@@ -24,8 +24,7 @@ class LoadAddressesBEFromBestAddressCommand
public function __construct(
private readonly AddressReferenceBEFromBestAddress $addressImporter,
private readonly PostalCodeBEFromBestAddress $postalCodeBEFromBestAddressImporter,
) {
}
) {}
public function __invoke(
#[\Symfony\Component\Console\Attribute\Argument(name: 'lang', description: "Language code, for example 'fr'")]

View File

@@ -21,9 +21,7 @@ class LoadAddressesFRFromBANCommand
{
protected static $defaultDescription = 'Import FR addresses from BAN (see https://adresses.data.gouv.fr';
public function __construct(private readonly AddressReferenceFromBAN $addressReferenceFromBAN)
{
}
public function __construct(private readonly AddressReferenceFromBAN $addressReferenceFromBAN) {}
public function __invoke(#[\Symfony\Component\Console\Attribute\Argument(name: 'departementNo', description: 'a list of departement numbers')]
array $departementno, #[\Symfony\Component\Console\Attribute\Option(name: 'send-report-email', shortcut: 's', mode: InputOption::VALUE_REQUIRED, description: 'Email address where a list of unimported addresses can be send')]

View File

@@ -21,9 +21,7 @@ class LoadAddressesFRFromBANOCommand
{
protected static $defaultDescription = 'Import FR addresses from bano (see https://bano.openstreetmap.fr';
public function __construct(private readonly AddressReferenceFromBano $addressReferenceFromBano)
{
}
public function __construct(private readonly AddressReferenceFromBano $addressReferenceFromBano) {}
public function __invoke(#[\Symfony\Component\Console\Attribute\Argument(name: 'departementNo', description: 'a list of departement numbers')]
array $departementno, #[\Symfony\Component\Console\Attribute\Option(name: 'send-report-email', shortcut: 's', mode: InputOption::VALUE_REQUIRED, description: 'Email address where a list of unimported addresses can be send')]

View File

@@ -22,8 +22,7 @@ class LoadAddressesLUFromBDAddressCommand
public function __construct(
private readonly AddressReferenceLU $addressImporter,
) {
}
) {}
public function __invoke(
#[\Symfony\Component\Console\Attribute\Option(name: 'send-report-email', shortcut: 's', mode: InputOption::VALUE_REQUIRED, description: 'Email address where a list of unimported addresses can be send')]

View File

@@ -39,9 +39,7 @@ class LoadAndUpdateLanguagesCommand
/**
* LoadCountriesCommand constructor.
*/
public function __construct(private readonly EntityManagerInterface $entityManager, private readonly ParameterBagInterface $parameterBag)
{
}
public function __construct(private readonly EntityManagerInterface $entityManager, private readonly ParameterBagInterface $parameterBag) {}
/**
* (non-PHPdoc).
@@ -52,8 +50,8 @@ class LoadAndUpdateLanguagesCommand
#[\Symfony\Component\Console\Attribute\Option(name: self::INCLUDE_REGIONAL_VERSION, mode: InputOption::VALUE_NONE, description: 'Include the regional languages. The regional languages are languages with code containing')]
bool $includeRegional = false,
#[\Symfony\Component\Console\Attribute\Option(name: self::INCLUDE_ANCIENT, mode: InputOption::VALUE_NONE, description: 'Include the ancient languages that are languages with code ')]
bool $includeAncient = false): int
{
bool $includeAncient = false,
): int {
$em = $this->entityManager;
$chillAvailableLanguages = $this->parameterBag->get('chill_main.available_languages');
$languages = [];

View File

@@ -22,9 +22,7 @@ class LoadCountriesCommand
/**
* LoadCountriesCommand constructor.
*/
public function __construct(private readonly EntityManager $entityManager, private $availableLanguages)
{
}
public function __construct(private readonly EntityManager $entityManager, private $availableLanguages) {}
public static function prepareCountryList($languages)
{

View File

@@ -19,9 +19,7 @@ class LoadPostalCodeFR
{
protected static $defaultDescription = 'Load France\'s postal code from online open data';
public function __construct(private readonly PostalCodeFRFromOpenData $loader)
{
}
public function __construct(private readonly PostalCodeFRFromOpenData $loader) {}
public function __invoke(): int
{

View File

@@ -27,9 +27,7 @@ class LoadPostalCodesCommand
{
protected static $defaultDescription = 'Add the postal code from a csv file.';
public function __construct(private readonly EntityManagerInterface $entityManager, private readonly ValidatorInterface $validator)
{
}
public function __construct(private readonly EntityManagerInterface $entityManager, private readonly ValidatorInterface $validator) {}
public function __invoke(#[\Symfony\Component\Console\Attribute\Argument(name: 'csv_file', description: 'the path to '
.'the csv file. See the help for specifications.')]

View File

@@ -28,9 +28,7 @@ class SetPasswordCommand
/**
* SetPasswordCommand constructor.
*/
public function __construct(private readonly EntityManager $entityManager)
{
}
public function __construct(private readonly EntityManager $entityManager) {}
public function _getUser($username): ?object
{

View File

@@ -21,8 +21,7 @@ class SynchronizeEntityInfoViewsCommand
public function __construct(
private readonly ViewEntityInfoManager $viewEntityInfoManager,
) {
}
) {}
public function __invoke(): int
{

View File

@@ -18,9 +18,8 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
*/
class MenuController extends AbstractController
{
public function __construct(private readonly \Chill\MainBundle\Routing\MenuComposer $menuComposer)
{
}
public function __construct(private readonly \Chill\MainBundle\Routing\MenuComposer $menuComposer) {}
public function writeMenuAction($menu, $layout, $activeRouteKey = null, array $args = []): \Symfony\Component\HttpFoundation\Response
{
return $this->render($layout, [

View File

@@ -26,7 +26,6 @@ use Symfony\Component\HttpFoundation\Session\Session;
use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Contracts\Translation\TranslatorInterface;
use Symfony\Component\Routing\Annotation\Route;
use Twig\Environment;
final readonly class UserUpdateProfileController

View File

@@ -15,7 +15,6 @@ use Chill\MainBundle\Entity\Workflow\EntityWorkflow;
use Chill\MainBundle\Routing\ChillUrlGeneratorInterface;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Twig\Environment;
final readonly class WorkflowWaitStepChangeController

View File

@@ -41,7 +41,6 @@ class MenuTwig extends AbstractExtension
* - layout: the layout. Absolute path needed (i.e.: @ChillXyz/section/foo.html.twig)
* - activeRouteKey : the key active, will render the menu differently.
*
*
* @param string $menuId
* @param mixed[] $params
*/

View File

@@ -202,6 +202,7 @@ class AuthorizationHelper implements AuthorizationHelperInterface
public function userHasAccess(UserInterface $user, mixed $entity, string $attribute): bool
{
$centers = $this->centerResolverManager->resolveCenters($entity);
return array_any($centers, fn ($c) => $this->userHasAccessForCenter($user, $c, $entity, $attribute));
}

View File

@@ -77,6 +77,7 @@ final class EntityWorkflowTransitionVoter extends Voter implements ProvideRoleHi
$centers = $this->centerResolverManager->resolveCenters($entity);
$reachableCenters = $this->authorizationHelper->getReachableCenters(self::APPLY_ALL_TRANSITIONS);
return array_any($centers, fn ($center) => in_array($center, $reachableCenters, true));
}
}

View File

@@ -13,10 +13,7 @@ namespace Chill\MainBundle\Templating;
use Symfony\Bridge\Twig\Extension\RoutingExtension;
use Symfony\Component\HttpFoundation\RequestStack;
use Twig\Attribute\AsTwigFunction;
use Twig\ExpressionParser\ExpressionParserInterface;
use Twig\Extension\AbstractExtension;
use Twig\Extension\ExtensionInterface;
use Twig\Node\Node;
use Twig\TwigFilter;
use Twig\TwigFunction;

View File

@@ -11,9 +11,6 @@ declare(strict_types=1);
namespace Chill\MainBundle\Templating;
use Twig\Extension\AbstractExtension;
use Twig\Extension\ExtensionInterface;
class TranslatableStringTwig
{
/**

View File

@@ -347,7 +347,7 @@ final class ExportManagerTest extends KernelTestCase
return new ExportManager(
$logger ?? self::getContainer()->get(LoggerInterface::class),
$authorizationChecker ?? self::getContainer()->get(\Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface::class),
$authorizationChecker ?? self::getContainer()->get(AuthorizationCheckerInterface::class),
$authorizationHelper ?? self::getContainer()->get(\Chill\MainBundle\Security\Authorization\AuthorizationHelperInterface::class),
$tokenStorage,
$exports,

View File

@@ -53,7 +53,7 @@ class NotificationToUserGroupsOnTransitionTest extends KernelTestCase
protected function setUp(): void
{
self::bootKernel();
$this->twig = self::getContainer()->get(\Twig\Environment::class);
$this->twig = self::getContainer()->get(Environment::class);
$this->bodyRenderer = self::getContainer()->get(BodyRendererInterface::class);
$this->em = self::getContainer()->get(\Doctrine\ORM\EntityManager::class);
}

View File

@@ -193,6 +193,7 @@ class WorkflowRelatedEntityPermissionHelper
if (!$currentUser instanceof User) {
return false;
}
return array_any($entityWorkflows, fn ($entityWorkflow) => $entityWorkflow->isUserInvolved($currentUser));
}
}

View File

@@ -30,8 +30,7 @@ final class ChillPersonMoveCommand extends Command
private readonly PersonMove $mover,
private readonly EntityManagerInterface $em,
private readonly LoggerInterface $chillLogger,
) {
}
) {}
protected function buildLoggingContext(Person $from, Person $to, $deleteEntities, $sqls)
{

View File

@@ -23,8 +23,7 @@ final readonly class ImportSocialWorkMetadata
public function __construct(
private SocialWorkMetadataInterface $importer,
) {
}
) {}
private function configure(): void
{

View File

@@ -20,9 +20,7 @@ class RemoveOldDraftAccompanyingPeriodCommand
{
protected static $defaultDescription = 'Remove draft accompanying period which are still draft and unused';
public function __construct(private readonly LoggerInterface $logger, private readonly OldDraftAccompanyingPeriodRemoverInterface $remover)
{
}
public function __construct(private readonly LoggerInterface $logger, private readonly OldDraftAccompanyingPeriodRemoverInterface $remover) {}
public function __invoke(
#[\Symfony\Component\Console\Attribute\Argument(name: 'interval', description: 'The interval for unactive periods')]

View File

@@ -19,7 +19,6 @@ use Symfony\Bundle\SecurityBundle\Security;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Serializer\Normalizer\AbstractNormalizer;
use Symfony\Component\Serializer\SerializerInterface;

View File

@@ -772,7 +772,6 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
* If the `$at` parameter is now, use the method `getCurrentPersonAddress`, which is optimized
* on database side.
*
*
* @throws \Exception
*/
#[\Deprecated(message: 'since chill2.0, address is linked to the household. Use @see{Person::getCurrentHouseholdAddress}')]
@@ -1168,8 +1167,8 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
}
/**
*
* @return false|mixed|null
*
* @throws \Exception
*/
#[\Deprecated(message: 'Use @see{Person::getCurrentPersonAddress} or @see{Person::getCurrentHouseholdAddress} instead')]

View File

@@ -43,7 +43,7 @@ class WorkflowSignatureCancelControllerStepTest extends WebTestCase
{
self::bootKernel();
$this->formFactory = self::getContainer()->get(\Symfony\Component\Form\FormFactoryInterface::class);
$this->formFactory = self::getContainer()->get(FormFactoryInterface::class);
$this->signatureStepStateChanger = self::getContainer()->get(SignatureStepStateChanger::class);
$this->chillUrlGenerator = self::getContainer()->get(ChillUrlGeneratorInterface::class);

View File

@@ -29,7 +29,7 @@ final class AdministrativeLocationAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\AdministrativeLocationAggregator::class);
$this->aggregator = self::getContainer()->get(AdministrativeLocationAggregator::class);
}
public function getAggregator(): AdministrativeLocationAggregator

View File

@@ -29,7 +29,7 @@ final class ClosingMotiveAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\ClosingMotiveAggregator::class);
$this->aggregator = self::getContainer()->get(ClosingMotiveAggregator::class);
}
public function getAggregator(): ClosingMotiveAggregator

View File

@@ -29,7 +29,7 @@ final class ConfidentialAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\ConfidentialAggregator::class);
$this->aggregator = self::getContainer()->get(ConfidentialAggregator::class);
}
public function getAggregator(): ConfidentialAggregator

View File

@@ -29,7 +29,7 @@ final class DurationAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\DurationAggregator::class);
$this->aggregator = self::getContainer()->get(DurationAggregator::class);
}
public function getAggregator(): DurationAggregator

View File

@@ -29,7 +29,7 @@ final class EmergencyAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\EmergencyAggregator::class);
$this->aggregator = self::getContainer()->get(EmergencyAggregator::class);
}
public function getAggregator(): EmergencyAggregator

View File

@@ -29,7 +29,7 @@ final class EvaluationAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\EvaluationAggregator::class);
$this->aggregator = self::getContainer()->get(EvaluationAggregator::class);
}
public function getAggregator(): EvaluationAggregator

View File

@@ -31,7 +31,7 @@ final class GeographicalUnitStatAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\GeographicalUnitStatAggregator::class);
$this->aggregator = self::getContainer()->get(GeographicalUnitStatAggregator::class);
}
public function getAggregator(): GeographicalUnitStatAggregator

View File

@@ -29,7 +29,7 @@ final class IntensityAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\IntensityAggregator::class);
$this->aggregator = self::getContainer()->get(IntensityAggregator::class);
}
public function getAggregator(): IntensityAggregator

View File

@@ -29,7 +29,7 @@ final class OriginAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\OriginAggregator::class);
$this->aggregator = self::getContainer()->get(OriginAggregator::class);
}
public function getAggregator(): OriginAggregator

View File

@@ -30,7 +30,7 @@ final class ReferrerAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\ReferrerAggregator::class);
$this->aggregator = self::getContainer()->get(ReferrerAggregator::class);
}
/**

View File

@@ -29,7 +29,7 @@ final class RequestorAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\RequestorAggregator::class);
$this->aggregator = self::getContainer()->get(RequestorAggregator::class);
}
public function getAggregator(): RequestorAggregator

View File

@@ -29,7 +29,7 @@ final class ScopeAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\ScopeAggregator::class);
$this->aggregator = self::getContainer()->get(ScopeAggregator::class);
}
public function getAggregator(): ScopeAggregator

View File

@@ -29,7 +29,7 @@ final class SocialActionAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\SocialActionAggregator::class);
$this->aggregator = self::getContainer()->get(SocialActionAggregator::class);
}
public function getAggregator(): SocialActionAggregator

View File

@@ -29,7 +29,7 @@ final class SocialIssueAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\SocialIssueAggregator::class);
$this->aggregator = self::getContainer()->get(SocialIssueAggregator::class);
}
public function getAggregator(): SocialIssueAggregator

View File

@@ -30,7 +30,7 @@ final class StepAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\StepAggregator::class);
$this->aggregator = self::getContainer()->get(StepAggregator::class);
}
public function getAggregator(): StepAggregator

View File

@@ -30,7 +30,7 @@ final class UserJobAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\UserJobAggregator::class);
$this->aggregator = self::getContainer()->get(UserJobAggregator::class);
}
/**

View File

@@ -29,7 +29,7 @@ final class EvaluationTypeAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\EvaluationAggregators\EvaluationTypeAggregator::class);
$this->aggregator = self::getContainer()->get(EvaluationTypeAggregator::class);
}
public function getAggregator(): EvaluationTypeAggregator

View File

@@ -30,7 +30,7 @@ final class ChildrenNumberAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\HouseholdAggregators\ChildrenNumberAggregator::class);
$this->aggregator = self::getContainer()->get(ChildrenNumberAggregator::class);
}
public function getAggregator(): ChildrenNumberAggregator

View File

@@ -30,7 +30,7 @@ final class CompositionAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\HouseholdAggregators\CompositionAggregator::class);
$this->aggregator = self::getContainer()->get(CompositionAggregator::class);
}
public function getAggregator(): CompositionAggregator

View File

@@ -30,7 +30,7 @@ final class AgeAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\PersonAggregators\AgeAggregator::class);
$this->aggregator = self::getContainer()->get(AgeAggregator::class);
}
public function getAggregator(): AgeAggregator

View File

@@ -29,7 +29,7 @@ final class CountryOfBirthAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\PersonAggregators\CountryOfBirthAggregator::class);
$this->aggregator = self::getContainer()->get(CountryOfBirthAggregator::class);
}
public function getAggregator(): CountryOfBirthAggregator

View File

@@ -29,7 +29,7 @@ final class GenderAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\PersonAggregators\GenderAggregator::class);
$this->aggregator = self::getContainer()->get(GenderAggregator::class);
}
public function getAggregator(): GenderAggregator

View File

@@ -32,7 +32,7 @@ final class HouseholdPositionAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\PersonAggregators\HouseholdPositionAggregator::class);
$this->aggregator = self::getContainer()->get(HouseholdPositionAggregator::class);
}
public function getAggregator(): HouseholdPositionAggregator

View File

@@ -29,7 +29,7 @@ final class MaritalStatusAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\PersonAggregators\MaritalStatusAggregator::class);
$this->aggregator = self::getContainer()->get(MaritalStatusAggregator::class);
}
public function getAggregator(): MaritalStatusAggregator

View File

@@ -29,7 +29,7 @@ final class NationalityAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\PersonAggregators\NationalityAggregator::class);
$this->aggregator = self::getContainer()->get(NationalityAggregator::class);
}
public function getAggregator(): NationalityAggregator

View File

@@ -29,7 +29,7 @@ final class ActionTypeAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\SocialWorkAggregators\ActionTypeAggregator::class);
$this->aggregator = self::getContainer()->get(ActionTypeAggregator::class);
}
public function getAggregator(): ActionTypeAggregator

View File

@@ -29,7 +29,7 @@ final class GoalAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\SocialWorkAggregators\GoalAggregator::class);
$this->aggregator = self::getContainer()->get(GoalAggregator::class);
}
public function getAggregator(): GoalAggregator

View File

@@ -29,7 +29,7 @@ final class GoalResultAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\SocialWorkAggregators\GoalResultAggregator::class);
$this->aggregator = self::getContainer()->get(GoalResultAggregator::class);
}
public function getAggregator(): GoalResultAggregator

View File

@@ -29,7 +29,7 @@ final class JobAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\SocialWorkAggregators\JobAggregator::class);
$this->aggregator = self::getContainer()->get(JobAggregator::class);
}
public function getAggregator(): JobAggregator

View File

@@ -29,7 +29,7 @@ final class ResultAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\SocialWorkAggregators\ResultAggregator::class);
$this->aggregator = self::getContainer()->get(ResultAggregator::class);
}
public function getAggregator(): ResultAggregator

View File

@@ -29,7 +29,7 @@ final class ScopeAggregatorTest extends AbstractAggregatorTest
{
self::bootKernel();
$this->aggregator = self::getContainer()->get(\Chill\PersonBundle\Export\Aggregator\SocialWorkAggregators\ScopeAggregator::class);
$this->aggregator = self::getContainer()->get(ScopeAggregator::class);
}
public function getAggregator(): ScopeAggregator

View File

@@ -31,7 +31,7 @@ final class StatAccompanyingCourseDurationTest extends AbstractExportTest
{
self::bootKernel();
$this->export = self::getContainer()->get(\Chill\PersonBundle\Export\Export\StatAccompanyingCourseDuration::class);
$this->export = self::getContainer()->get(StatAccompanyingCourseDuration::class);
}
public function getExport()

View File

@@ -30,7 +30,7 @@ final class ActiveOnDateFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\ActiveOnDateFilter::class);
$this->filter = self::getContainer()->get(ActiveOnDateFilter::class);
}
public function getFilter(): ActiveOnDateFilter

View File

@@ -30,7 +30,7 @@ final class ActiveOneDayBetweenDatesFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\ActiveOneDayBetweenDatesFilter::class);
$this->filter = self::getContainer()->get(ActiveOneDayBetweenDatesFilter::class);
}
public function getFilter(): ActiveOneDayBetweenDatesFilter

View File

@@ -29,7 +29,7 @@ final class AdministrativeLocationFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\AdministrativeLocationFilter::class);
$this->filter = self::getContainer()->get(AdministrativeLocationFilter::class);
}
public function getFilter(): AdministrativeLocationFilter

View File

@@ -30,7 +30,7 @@ final class ClosingMotiveFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\ClosingMotiveFilter::class);
$this->filter = self::getContainer()->get(ClosingMotiveFilter::class);
}
public function getFilter(): ClosingMotiveFilter

View File

@@ -28,7 +28,7 @@ final class ConfidentialFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\ConfidentialFilter::class);
$this->filter = self::getContainer()->get(ConfidentialFilter::class);
}
public function getFilter(): ConfidentialFilter

View File

@@ -28,7 +28,7 @@ final class EmergencyFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\EmergencyFilter::class);
$this->filter = self::getContainer()->get(EmergencyFilter::class);
}
public function getFilter(): EmergencyFilter

View File

@@ -29,7 +29,7 @@ final class EvaluationFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\EvaluationFilter::class);
$this->filter = self::getContainer()->get(EvaluationFilter::class);
}
public function getFilter(): EvaluationFilter

View File

@@ -31,7 +31,7 @@ final class GeographicalUnitStatFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\GeographicalUnitStatFilter::class);
$this->filter = self::getContainer()->get(GeographicalUnitStatFilter::class);
}
public function getFilter(): GeographicalUnitStatFilter

View File

@@ -29,7 +29,7 @@ final class IntensityFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\IntensityFilter::class);
$this->filter = self::getContainer()->get(IntensityFilter::class);
}
public function getFilter(): IntensityFilter

View File

@@ -30,7 +30,7 @@ final class OpenBetweenDatesFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\OpenBetweenDatesFilter::class);
$this->filter = self::getContainer()->get(OpenBetweenDatesFilter::class);
}
public function getFilter(): OpenBetweenDatesFilter

View File

@@ -30,7 +30,7 @@ final class OriginFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\OriginFilter::class);
$this->filter = self::getContainer()->get(OriginFilter::class);
}
public function getFilter(): OriginFilter

View File

@@ -29,7 +29,7 @@ final class RequestorFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\RequestorFilter::class);
$this->filter = self::getContainer()->get(RequestorFilter::class);
}
public function getFilter(): RequestorFilter

View File

@@ -31,7 +31,7 @@ final class SocialActionFilterTest extends AbstractFilterTest
{
self::bootKernel();
$this->filter = self::getContainer()->get(\Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\SocialActionFilter::class);
$this->filter = self::getContainer()->get(SocialActionFilter::class);
}
public function getFilter(): SocialActionFilter

Some files were not shown because too many files have changed in this diff Show More