Continuous Integration #2744
Annotations
10 warnings
Run mutation tests with pcov and infection/infection:
src/Block/Service/MatomoStatisticBlockService.php#L69
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
*/
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":
--- Original
+++ New
@@ @@
*/
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":
--- Original
+++ New
@@ @@
*/
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":
--- Original
+++ New
@@ @@
*/
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":
--- Original
+++ New
@@ @@
*/
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":
--- Original
+++ New
@@ @@
*/
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":
--- Original
+++ New
@@ @@
*/
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":
--- Original
+++ New
@@ @@
*/
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":
--- Original
+++ New
@@ @@
*/
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":
--- Original
+++ New
@@ @@
*/
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
{
|
The logs for this run have expired and are no longer available.
Loading