Skip to content

Update dependency eslint to v9 #2892

Update dependency eslint to v9

Update dependency eslint to v9 #2892

Triggered via pull request September 27, 2024 06:44
Status Success
Total duration 56s
Artifacts

continuous-integration.yml

on: pull_request
run  /  Generate test matrix
4s
run / Generate test matrix
Matrix: run / Code Coverage
Matrix: run / Coding Standards
Matrix: run / Lint composer.json
Matrix: run / Mutation Tests
Matrix: run / Static Code Analysis
Matrix: run / tests
Fit to window
Zoom out
Zoom in

Annotations

23 warnings
run / Lint composer.json (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Code Coverage (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Coding Standards (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Mutation Tests (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Mutation Tests (8.3): src/Block/Service/MatomoStatisticBlockService.php#L69
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ */ public function configureEditForm(FormMapper $form, BlockInterface $block): void { - $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['required' => false, 'label' => 'form.label_title']], ['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); + $form->add('settings', ImmutableArrayType::class, ['translation_domain' => 'NucleosMatomoBundle']); } public function configureSettings(OptionsResolver $resolver): void {
run / Mutation Tests (8.3): src/Block/Service/MatomoStatisticBlockService.php#L70
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ */ public function configureEditForm(FormMapper $form, BlockInterface $block): void { - $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['required' => false, 'label' => 'form.label_title']], ['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); + $form->add('settings', ImmutableArrayType::class, ['keys' => [['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); } public function configureSettings(OptionsResolver $resolver): void {
run / Mutation Tests (8.3): src/Block/Service/MatomoStatisticBlockService.php#L71
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ */ public function configureEditForm(FormMapper $form, BlockInterface $block): void { - $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['required' => false, 'label' => 'form.label_title']], ['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); + $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['label' => 'form.label_title']], ['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); } public function configureSettings(OptionsResolver $resolver): void {
run / Mutation Tests (8.3): src/Block/Service/MatomoStatisticBlockService.php#L71
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ */ public function configureEditForm(FormMapper $form, BlockInterface $block): void { - $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['required' => false, 'label' => 'form.label_title']], ['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); + $form->add('settings', ImmutableArrayType::class, ['keys' => [[TextType::class, ['required' => false, 'label' => 'form.label_title']], ['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); } public function configureSettings(OptionsResolver $resolver): void {
run / Mutation Tests (8.3): src/Block/Service/MatomoStatisticBlockService.php#L72
Escaped Mutant for Mutator "FalseValue": @@ @@ */ public function configureEditForm(FormMapper $form, BlockInterface $block): void { - $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['required' => false, 'label' => 'form.label_title']], ['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); + $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['required' => true, 'label' => 'form.label_title']], ['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); } public function configureSettings(OptionsResolver $resolver): void {
run / Mutation Tests (8.3): src/Block/Service/MatomoStatisticBlockService.php#L75
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ */ public function configureEditForm(FormMapper $form, BlockInterface $block): void { - $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['required' => false, 'label' => 'form.label_title']], ['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); + $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['required' => false, 'label' => 'form.label_title']], ['translation_domain', TextType::class, ['required' => false]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); } public function configureSettings(OptionsResolver $resolver): void {
run / Mutation Tests (8.3): src/Block/Service/MatomoStatisticBlockService.php#L75
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ */ public function configureEditForm(FormMapper $form, BlockInterface $block): void { - $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['required' => false, 'label' => 'form.label_title']], ['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); + $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['required' => false, 'label' => 'form.label_title']], [TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); } public function configureSettings(OptionsResolver $resolver): void {
run / Mutation Tests (8.3): src/Block/Service/MatomoStatisticBlockService.php#L77
Escaped Mutant for Mutator "FalseValue": @@ @@ */ public function configureEditForm(FormMapper $form, BlockInterface $block): void { - $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['required' => false, 'label' => 'form.label_title']], ['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); + $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['required' => false, 'label' => 'form.label_title']], ['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => true]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); } public function configureSettings(OptionsResolver $resolver): void {
run / Mutation Tests (8.3): src/Block/Service/MatomoStatisticBlockService.php#L79
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ */ public function configureEditForm(FormMapper $form, BlockInterface $block): void { - $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['required' => false, 'label' => 'form.label_title']], ['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); + $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['required' => false, 'label' => 'form.label_title']], ['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], ['icon', TextType::class, ['required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); } public function configureSettings(OptionsResolver $resolver): void {
run / Mutation Tests (8.3): src/Block/Service/MatomoStatisticBlockService.php#L79
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ */ public function configureEditForm(FormMapper $form, BlockInterface $block): void { - $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['required' => false, 'label' => 'form.label_title']], ['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], ['icon', TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); + $form->add('settings', ImmutableArrayType::class, ['keys' => [['title', TextType::class, ['required' => false, 'label' => 'form.label_title']], ['translation_domain', TextType::class, ['label' => 'form.label_translation_domain', 'required' => false]], [TextType::class, ['label' => 'form.label_icon', 'required' => false]], ['class', TextType::class, ['label' => 'form.label_class', 'required' => false]], ['host', TextType::class, ['required' => false, 'label' => 'form.label_host']], ['token', TextType::class, ['required' => false, 'label' => 'form.label_token']], ['site', NumberType::class, ['label' => 'form.label_site']], ['method', ChoiceType::class, ['choices' => ['form.choice_visitors' => 'VisitsSummary.getVisits', 'form.choice_unique_visitors' => 'VisitsSummary.getUniqueVisitors', 'form.choice_hits' => 'VisitsSummary.getActions '], 'label' => 'form.label_method']], ['period', ChoiceType::class, ['choices' => ['form.choice_day' => 'day', 'form.choice_week' => 'week', 'form.choice_month' => 'month', 'form.choice_year' => 'year'], 'label' => 'form.label_period']], ['date', ChoiceType::class, ['choices' => ['form.choice_today' => 'last1', 'form.choice_1_week' => 'last7', 'form.choice_2_weeks' => 'last14', 'form.choice_1_month' => 'last30', 'form.choice_3_months' => 'last90', 'form.choice_6_months' => 'last180', 'form.choice_1_year' => 'last360'], 'label' => 'form.label_date']]], 'translation_domain' => 'NucleosMatomoBundle']); } public function configureSettings(OptionsResolver $resolver): void {
run / Test: PHP 8.3, Symfony 6.4, lowest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Test: PHP 8.2, Symfony 6.4, lowest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Test: PHP 8.2, Symfony 6.4, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Static Code Analysis (8.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Test: PHP 8.2, Symfony 7.0, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Test: PHP 8.3, Symfony 6.4, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Test: PHP 8.2, Symfony 7.0, lowest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Test: PHP 8.3, Symfony 7.0, lowest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run / Test: PHP 8.3, Symfony 7.0, highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/