Update dependency @symfony/webpack-encore to v5 #2895
Annotations
11 warnings
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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
{
|
Loading