Update actions/setup-node action to v4 #2549
continuous-integration.yml
on: pull_request
run
/
Generate test matrix
5s
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
Annotations
10 warnings
run / Mutation Tests (8.2):
src/Block/Service/GDPRInformationBlockService.php#L60
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
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 (8.2):
src/Block/Service/GDPRInformationBlockService.php#L60
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
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 (8.2):
src/Block/Service/GDPRInformationBlockService.php#L72
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
}
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 (8.2):
src/Block/Service/GDPRInformationBlockService.php#L73
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
}
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 (8.2):
src/Block/Service/GDPRInformationBlockService.php#L74
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
}
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 (8.2):
src/Block/Service/GDPRInformationBlockService.php#L74
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
}
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 (8.2):
src/Block/Service/GDPRInformationBlockService.php#L76
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
}
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 (8.2):
src/Block/Service/GDPRInformationBlockService.php#L78
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
}
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 (8.2):
src/Block/Service/GDPRInformationBlockService.php#L78
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
}
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 (8.2):
src/Block/Service/GDPRInformationBlockService.php#L80
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
}
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
{
|