Skip to content

Update dependency size-limit to v9 #2712

Update dependency size-limit to v9

Update dependency size-limit to v9 #2712

Triggered via pull request September 6, 2023 06:31
Status Success
Total duration 1m 7s
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 / Lint symfony container
Matrix: run / Mutation Tests
Matrix: run / Static Code Analysis
Matrix: run / Lint twig files
Matrix: run / Lint XLIFF files
Matrix: run / Lint YML files
Matrix: run / tests
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
run / Mutation Tests (8.2): src/Block/Service/MatomoStatisticBlockService.php#L72
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ */ public function configureEditForm(FormMapper $formMapper, BlockInterface $block) : void { - $formMapper->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']); + $formMapper->add('settings', ImmutableArrayType::class, ['translation_domain' => 'NucleosMatomoBundle']); } public function configureSettings(OptionsResolver $resolver) : void {
run / Mutation Tests (8.2): src/Block/Service/MatomoStatisticBlockService.php#L73
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ */ public function configureEditForm(FormMapper $formMapper, BlockInterface $block) : void { - $formMapper->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']); + $formMapper->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.2): src/Block/Service/MatomoStatisticBlockService.php#L74
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ */ public function configureEditForm(FormMapper $formMapper, BlockInterface $block) : void { - $formMapper->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']); + $formMapper->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.2): src/Block/Service/MatomoStatisticBlockService.php#L74
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ */ public function configureEditForm(FormMapper $formMapper, BlockInterface $block) : void { - $formMapper->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']); + $formMapper->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.2): src/Block/Service/MatomoStatisticBlockService.php#L75
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ */ public function configureEditForm(FormMapper $formMapper, BlockInterface $block) : void { - $formMapper->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']); + $formMapper->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.2): src/Block/Service/MatomoStatisticBlockService.php#L78
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ */ public function configureEditForm(FormMapper $formMapper, BlockInterface $block) : void { - $formMapper->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']); + $formMapper->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.2): src/Block/Service/MatomoStatisticBlockService.php#L78
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ */ public function configureEditForm(FormMapper $formMapper, BlockInterface $block) : void { - $formMapper->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']); + $formMapper->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.2): src/Block/Service/MatomoStatisticBlockService.php#L80
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ */ public function configureEditForm(FormMapper $formMapper, BlockInterface $block) : void { - $formMapper->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']); + $formMapper->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.2): src/Block/Service/MatomoStatisticBlockService.php#L82
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ */ public function configureEditForm(FormMapper $formMapper, BlockInterface $block) : void { - $formMapper->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']); + $formMapper->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.2): src/Block/Service/MatomoStatisticBlockService.php#L82
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ */ public function configureEditForm(FormMapper $formMapper, BlockInterface $block) : void { - $formMapper->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']); + $formMapper->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 {