Update dependency @symfony/webpack-encore to v5 #2733
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/GDPRInformationBlockService.php#L60
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
return new Response('', Response::HTTP_NO_CONTENT);
}
$parameters = ['context' => $blockContext, 'settings' => $blockContext->getSettings(), 'block' => $blockContext->getBlock()];
- return $this->renderResponse($blockContext->getTemplate(), $parameters, $response)->setTtl(0)->setPrivate();
+ return $this->renderResponse($blockContext->getTemplate(), $parameters, $response)->setTtl(-1)->setPrivate();
}
public function configureCreateForm(FormMapper $form, BlockInterface $block): void
{
|
Run mutation tests with pcov and infection/infection:
src/Block/Service/GDPRInformationBlockService.php#L60
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
return new Response('', Response::HTTP_NO_CONTENT);
}
$parameters = ['context' => $blockContext, 'settings' => $blockContext->getSettings(), 'block' => $blockContext->getBlock()];
- return $this->renderResponse($blockContext->getTemplate(), $parameters, $response)->setTtl(0)->setPrivate();
+ return $this->renderResponse($blockContext->getTemplate(), $parameters, $response)->setTtl(1)->setPrivate();
}
public function configureCreateForm(FormMapper $form, BlockInterface $block): void
{
|
Run mutation tests with pcov and infection/infection:
src/Block/Service/GDPRInformationBlockService.php#L72
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
}
public function configureEditForm(FormMapper $form, BlockInterface $block): void
{
- $form->add('settings', ImmutableArrayType::class, ['keys' => [['text', TextType::class, ['label' => 'form.label_text', 'required' => false]], ['url', UrlType::class, ['label' => 'form.label_url', 'required' => false]], ['position', ChoiceType::class, ['label' => 'form.label_position', 'choices' => ['form.choice_top' => 'top', 'form.choice_fixedtop' => 'fixedtop', 'form.choice_bottom' => 'bottom', 'form.choice_block' => 'block']]]], 'translation_domain' => 'NucleosGDPRBundle']);
+ $form->add('settings', ImmutableArrayType::class, ['translation_domain' => 'NucleosGDPRBundle']);
}
public function configureSettings(OptionsResolver $resolver): void
{
|
Run mutation tests with pcov and infection/infection:
src/Block/Service/GDPRInformationBlockService.php#L73
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
}
public function configureEditForm(FormMapper $form, BlockInterface $block): void
{
- $form->add('settings', ImmutableArrayType::class, ['keys' => [['text', TextType::class, ['label' => 'form.label_text', 'required' => false]], ['url', UrlType::class, ['label' => 'form.label_url', 'required' => false]], ['position', ChoiceType::class, ['label' => 'form.label_position', 'choices' => ['form.choice_top' => 'top', 'form.choice_fixedtop' => 'fixedtop', 'form.choice_bottom' => 'bottom', 'form.choice_block' => 'block']]]], 'translation_domain' => 'NucleosGDPRBundle']);
+ $form->add('settings', ImmutableArrayType::class, ['keys' => [['url', UrlType::class, ['label' => 'form.label_url', 'required' => false]], ['position', ChoiceType::class, ['label' => 'form.label_position', 'choices' => ['form.choice_top' => 'top', 'form.choice_fixedtop' => 'fixedtop', 'form.choice_bottom' => 'bottom', 'form.choice_block' => 'block']]]], 'translation_domain' => 'NucleosGDPRBundle']);
}
public function configureSettings(OptionsResolver $resolver): void
{
|
Run mutation tests with pcov and infection/infection:
src/Block/Service/GDPRInformationBlockService.php#L74
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
}
public function configureEditForm(FormMapper $form, BlockInterface $block): void
{
- $form->add('settings', ImmutableArrayType::class, ['keys' => [['text', TextType::class, ['label' => 'form.label_text', 'required' => false]], ['url', UrlType::class, ['label' => 'form.label_url', 'required' => false]], ['position', ChoiceType::class, ['label' => 'form.label_position', 'choices' => ['form.choice_top' => 'top', 'form.choice_fixedtop' => 'fixedtop', 'form.choice_bottom' => 'bottom', 'form.choice_block' => 'block']]]], 'translation_domain' => 'NucleosGDPRBundle']);
+ $form->add('settings', ImmutableArrayType::class, ['keys' => [['text', TextType::class, ['required' => false]], ['url', UrlType::class, ['label' => 'form.label_url', 'required' => false]], ['position', ChoiceType::class, ['label' => 'form.label_position', 'choices' => ['form.choice_top' => 'top', 'form.choice_fixedtop' => 'fixedtop', 'form.choice_bottom' => 'bottom', 'form.choice_block' => 'block']]]], 'translation_domain' => 'NucleosGDPRBundle']);
}
public function configureSettings(OptionsResolver $resolver): void
{
|
Run mutation tests with pcov and infection/infection:
src/Block/Service/GDPRInformationBlockService.php#L74
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
}
public function configureEditForm(FormMapper $form, BlockInterface $block): void
{
- $form->add('settings', ImmutableArrayType::class, ['keys' => [['text', TextType::class, ['label' => 'form.label_text', 'required' => false]], ['url', UrlType::class, ['label' => 'form.label_url', 'required' => false]], ['position', ChoiceType::class, ['label' => 'form.label_position', 'choices' => ['form.choice_top' => 'top', 'form.choice_fixedtop' => 'fixedtop', 'form.choice_bottom' => 'bottom', 'form.choice_block' => 'block']]]], 'translation_domain' => 'NucleosGDPRBundle']);
+ $form->add('settings', ImmutableArrayType::class, ['keys' => [[TextType::class, ['label' => 'form.label_text', 'required' => false]], ['url', UrlType::class, ['label' => 'form.label_url', 'required' => false]], ['position', ChoiceType::class, ['label' => 'form.label_position', 'choices' => ['form.choice_top' => 'top', 'form.choice_fixedtop' => 'fixedtop', 'form.choice_bottom' => 'bottom', 'form.choice_block' => 'block']]]], 'translation_domain' => 'NucleosGDPRBundle']);
}
public function configureSettings(OptionsResolver $resolver): void
{
|
Run mutation tests with pcov and infection/infection:
src/Block/Service/GDPRInformationBlockService.php#L76
Escaped Mutant for Mutator "FalseValue":
@@ @@
}
public function configureEditForm(FormMapper $form, BlockInterface $block): void
{
- $form->add('settings', ImmutableArrayType::class, ['keys' => [['text', TextType::class, ['label' => 'form.label_text', 'required' => false]], ['url', UrlType::class, ['label' => 'form.label_url', 'required' => false]], ['position', ChoiceType::class, ['label' => 'form.label_position', 'choices' => ['form.choice_top' => 'top', 'form.choice_fixedtop' => 'fixedtop', 'form.choice_bottom' => 'bottom', 'form.choice_block' => 'block']]]], 'translation_domain' => 'NucleosGDPRBundle']);
+ $form->add('settings', ImmutableArrayType::class, ['keys' => [['text', TextType::class, ['label' => 'form.label_text', 'required' => true]], ['url', UrlType::class, ['label' => 'form.label_url', 'required' => false]], ['position', ChoiceType::class, ['label' => 'form.label_position', 'choices' => ['form.choice_top' => 'top', 'form.choice_fixedtop' => 'fixedtop', 'form.choice_bottom' => 'bottom', 'form.choice_block' => 'block']]]], 'translation_domain' => 'NucleosGDPRBundle']);
}
public function configureSettings(OptionsResolver $resolver): void
{
|
Run mutation tests with pcov and infection/infection:
src/Block/Service/GDPRInformationBlockService.php#L78
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
}
public function configureEditForm(FormMapper $form, BlockInterface $block): void
{
- $form->add('settings', ImmutableArrayType::class, ['keys' => [['text', TextType::class, ['label' => 'form.label_text', 'required' => false]], ['url', UrlType::class, ['label' => 'form.label_url', 'required' => false]], ['position', ChoiceType::class, ['label' => 'form.label_position', 'choices' => ['form.choice_top' => 'top', 'form.choice_fixedtop' => 'fixedtop', 'form.choice_bottom' => 'bottom', 'form.choice_block' => 'block']]]], 'translation_domain' => 'NucleosGDPRBundle']);
+ $form->add('settings', ImmutableArrayType::class, ['keys' => [['text', TextType::class, ['label' => 'form.label_text', 'required' => false]], ['url', UrlType::class, ['required' => false]], ['position', ChoiceType::class, ['label' => 'form.label_position', 'choices' => ['form.choice_top' => 'top', 'form.choice_fixedtop' => 'fixedtop', 'form.choice_bottom' => 'bottom', 'form.choice_block' => 'block']]]], 'translation_domain' => 'NucleosGDPRBundle']);
}
public function configureSettings(OptionsResolver $resolver): void
{
|
Run mutation tests with pcov and infection/infection:
src/Block/Service/GDPRInformationBlockService.php#L78
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
}
public function configureEditForm(FormMapper $form, BlockInterface $block): void
{
- $form->add('settings', ImmutableArrayType::class, ['keys' => [['text', TextType::class, ['label' => 'form.label_text', 'required' => false]], ['url', UrlType::class, ['label' => 'form.label_url', 'required' => false]], ['position', ChoiceType::class, ['label' => 'form.label_position', 'choices' => ['form.choice_top' => 'top', 'form.choice_fixedtop' => 'fixedtop', 'form.choice_bottom' => 'bottom', 'form.choice_block' => 'block']]]], 'translation_domain' => 'NucleosGDPRBundle']);
+ $form->add('settings', ImmutableArrayType::class, ['keys' => [['text', TextType::class, ['label' => 'form.label_text', 'required' => false]], [UrlType::class, ['label' => 'form.label_url', 'required' => false]], ['position', ChoiceType::class, ['label' => 'form.label_position', 'choices' => ['form.choice_top' => 'top', 'form.choice_fixedtop' => 'fixedtop', 'form.choice_bottom' => 'bottom', 'form.choice_block' => 'block']]]], 'translation_domain' => 'NucleosGDPRBundle']);
}
public function configureSettings(OptionsResolver $resolver): void
{
|
Run mutation tests with pcov and infection/infection:
src/Block/Service/GDPRInformationBlockService.php#L80
Escaped Mutant for Mutator "FalseValue":
@@ @@
}
public function configureEditForm(FormMapper $form, BlockInterface $block): void
{
- $form->add('settings', ImmutableArrayType::class, ['keys' => [['text', TextType::class, ['label' => 'form.label_text', 'required' => false]], ['url', UrlType::class, ['label' => 'form.label_url', 'required' => false]], ['position', ChoiceType::class, ['label' => 'form.label_position', 'choices' => ['form.choice_top' => 'top', 'form.choice_fixedtop' => 'fixedtop', 'form.choice_bottom' => 'bottom', 'form.choice_block' => 'block']]]], 'translation_domain' => 'NucleosGDPRBundle']);
+ $form->add('settings', ImmutableArrayType::class, ['keys' => [['text', TextType::class, ['label' => 'form.label_text', 'required' => false]], ['url', UrlType::class, ['label' => 'form.label_url', 'required' => true]], ['position', ChoiceType::class, ['label' => 'form.label_position', 'choices' => ['form.choice_top' => 'top', 'form.choice_fixedtop' => 'fixedtop', 'form.choice_bottom' => 'bottom', 'form.choice_block' => 'block']]]], 'translation_domain' => 'NucleosGDPRBundle']);
}
public function configureSettings(OptionsResolver $resolver): void
{
|
Loading