Continuous Integration #288
continuous-integration.yml
on: create
run
/
Generate test matrix
2s
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
12 errors and 10 warnings
run / Test: PHP 8.3, Symfony 7.0, lowest)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires symfony/framework-bundle ^6.4 || ^7.0.5, found symfony/framework-bundle[v6.4.0, v6.4.1] but these were not loaded, likely because it conflicts with another require.
Problem 2
- doctrine/doctrine-bundle[2.5.0, ..., 2.7.0] require symfony/cache ^4.3.3|^5.0|^6.0 -> found symfony/cache[v4.3.3, ..., v4.4.48, v5.0.0, ..., v5.4.32, v6.0.0, ..., v6.4.0] but these were not loaded, likely because it conflicts with another require.
- doctrine/doctrine-bundle[2.7.1, ..., 2.7.2] require symfony/cache ^4.4 || ^5.4 || ^6.0 -> found symfony/cache[v4.4.0, ..., v4.4.48, v5.4.0, ..., v5.4.32, v6.0.0, ..., v6.4.0] but these were not loaded, likely because it conflicts with another require.
- doctrine/doctrine-bundle[2.8.0, ..., 2.10.3] require symfony/cache ^5.4 || ^6.0 -> found symfony/cache[v5.4.0, ..., v5.4.32, v6.0.0, ..., v6.4.0] but these were not loaded, likely because it conflicts with another require.
- doctrine/doctrine-bundle[2.11.0, ..., 2.11.1] require symfony/framework-bundle ^5.4 || ^6.0 || ^7.0 -> found symfony/framework-bundle[v5.4.0, ..., v5.4.32, v6.0.0, ..., v6.4.1, v7.0.0, v7.0.1] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires doctrine/doctrine-bundle ^2.5 -> satisfiable by doctrine/doctrine-bundle[2.5.0, ..., 2.11.1].
|
run / Test: PHP 8.3, Symfony 7.0, lowest)
Process completed with exit code 2.
|
run / Test: PHP 8.3, Symfony 6.4, lowest)
The job was canceled because "_8_3_7_0_lowest" failed.
|
run / Test: PHP 8.2, Symfony 7.0, highest)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires symfony/framework-bundle ^6.4 || ^7.0.5, found symfony/framework-bundle[v6.4.0, v6.4.1] but these were not loaded, likely because it conflicts with another require.
Problem 2
- doctrine/doctrine-bundle[2.5.0, ..., 2.7.0] require symfony/cache ^4.3.3|^5.0|^6.0 -> found symfony/cache[v4.3.3, ..., v4.4.48, v5.0.0, ..., v5.4.32, v6.0.0, ..., v6.4.0] but these were not loaded, likely because it conflicts with another require.
- doctrine/doctrine-bundle[2.7.1, ..., 2.7.2] require symfony/cache ^4.4 || ^5.4 || ^6.0 -> found symfony/cache[v4.4.0, ..., v4.4.48, v5.4.0, ..., v5.4.32, v6.0.0, ..., v6.4.0] but these were not loaded, likely because it conflicts with another require.
- doctrine/doctrine-bundle[2.8.0, ..., 2.10.3] require symfony/cache ^5.4 || ^6.0 -> found symfony/cache[v5.4.0, ..., v5.4.32, v6.0.0, ..., v6.4.0] but these were not loaded, likely because it conflicts with another require.
- doctrine/doctrine-bundle[2.11.0, ..., 2.11.1] require symfony/framework-bundle ^5.4 || ^6.0 || ^7.0 -> found symfony/framework-bundle[v5.4.0, ..., v5.4.32, v6.0.0, ..., v6.4.1, v7.0.0, v7.0.1] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires doctrine/doctrine-bundle ^2.5 -> satisfiable by doctrine/doctrine-bundle[2.5.0, ..., 2.11.1].
|
run / Test: PHP 8.2, Symfony 7.0, highest)
Process completed with exit code 2.
|
run / Test: PHP 8.3, Symfony 7.0, highest)
The job was canceled because "_8_3_7_0_lowest" failed.
|
run / Test: PHP 8.3, Symfony 7.0, highest)
The operation was canceled.
|
run / Test: PHP 8.2, Symfony 6.4, highest)
The job was canceled because "_8_3_7_0_lowest" failed.
|
run / Test: PHP 8.2, Symfony 6.4, lowest)
The operation was canceled.
|
run / Test: PHP 8.2, Symfony 7.0, lowest)
The job was canceled because "_8_3_7_0_lowest" failed.
|
run / Test: PHP 8.2, Symfony 7.0, lowest)
The operation was canceled.
|
run / Test: PHP 8.3, Symfony 6.4, highest)
The job was canceled because "_8_3_7_0_lowest" failed.
|
run / Mutation Tests (8.3):
src/Extension/DownloadTypeExtension.php#L33
Escaped Mutant for Mutator "ArrayItemRemoval":
--- Original
+++ New
@@ @@
{
public function configureOptions(OptionsResolver $resolver) : void
{
- $resolver->setDefaults(['download_path' => null, 'download_text' => 'link_download'])->setAllowedTypes('download_path', ['null', 'string'])->setAllowedTypes('download_text', ['null', 'string']);
+ $resolver->setDefaults(['download_path' => null, 'download_text' => 'link_download'])->setAllowedTypes('download_path', ['null', 'string'])->setAllowedTypes('download_text', ['string']);
}
public function buildForm(FormBuilderInterface $builder, array $options) : void
{
|
run / Mutation Tests (8.3):
src/Extension/DownloadTypeExtension.php#L46
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
}
public function buildView(FormView $view, FormInterface $form, array $options) : void
{
- if (null !== $options['download_path'] && null !== $form->getParent()) {
+ if (null !== $options['download_path'] || null !== $form->getParent()) {
$parentData = $form->getParent()->getData();
if (null !== $parentData) {
$propertyAccessor = PropertyAccess::createPropertyAccessor();
|
run / Mutation Tests (8.3):
src/Extension/ImageTypeExtension.php#L27
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
{
public function configureOptions(OptionsResolver $resolver) : void
{
- $resolver->setDefaults(['image_path' => null])->setAllowedTypes('image_path', ['null', 'string']);
+
}
public function buildForm(FormBuilderInterface $builder, array $options) : void
{
|
run / Mutation Tests (8.3):
src/Extension/ImageTypeExtension.php#L44
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
}
public function buildView(FormView $view, FormInterface $form, array $options) : void
{
- if (null !== $options['image_path'] && null !== $form->getParent()) {
+ if (null !== $options['image_path'] || null !== $form->getParent()) {
$parentData = $form->getParent()->getData();
if (null !== $parentData) {
$propertyAccessor = PropertyAccess::createPropertyAccessor();
|
run / Mutation Tests (8.3):
src/Handler/AbstractFormHandler.php#L61
Escaped Mutant for Mutator "ProtectedVisibility":
--- Original
+++ New
@@ @@
/**
* Executes before form validating and processing is started.
*/
- protected function preProcess(FormInterface $form, Request $request) : ?Response
+ private function preProcess(FormInterface $form, Request $request) : ?Response
{
return null;
}
|
run / Mutation Tests (8.3):
src/Handler/AbstractFormHandler.php#L69
Escaped Mutant for Mutator "ProtectedVisibility":
--- Original
+++ New
@@ @@
/**
* Executes after preprocessing and before form processing is started.
*/
- protected function validate(FormInterface $form, Request $request) : ?Response
+ private function validate(FormInterface $form, Request $request) : ?Response
{
return null;
}
|
run / Mutation Tests (8.3):
src/Handler/AbstractFormHandler.php#L82
Escaped Mutant for Mutator "ProtectedVisibility":
--- Original
+++ New
@@ @@
/**
* Executes after form processing is finished and filters response.
*/
- protected function postProcess(FormInterface $form, Request $request, Response $response) : ?Response
+ private function postProcess(FormInterface $form, Request $request, Response $response) : ?Response
{
return $response;
}
}
|
run / Mutation Tests (8.3):
src/Model/BatchTime.php#L39
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
}
public function setDay(?int $day) : void
{
- $this->day = $day ?: 0;
+ $this->day = $day ?: -1;
}
public function getTime() : ?DateTimeInterface
{
|
run / Mutation Tests (8.3):
src/Model/BatchTime.php#L39
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
}
public function setDay(?int $day) : void
{
- $this->day = $day ?: 0;
+ $this->day = $day ?: 1;
}
public function getTime() : ?DateTimeInterface
{
|
run / Mutation Tests (8.3):
src/Model/BatchTime.php#L57
Escaped Mutant for Mutator "CloneRemoval":
--- Original
+++ New
@@ @@
{
$seconds = $this->getDay() * 86400;
if (null !== $this->getTime()) {
- $time = clone $this->getTime();
+ $time = $this->getTime();
$seconds += (int) $time->format('U');
}
return $seconds;
}
}
|