Update dependency symfony/phpunit-bridge to v7 #1348
continuous-integration.yml
on: pull_request
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
10 errors and 10 warnings
run / Test: PHP 8.2, Symfony 5.4, highest)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires symfony/property-access ^7.0 -> satisfiable by symfony/property-access[v7.0.0].
- symfony/property-access v7.0.0 requires symfony/property-info ^6.4|^7.0 -> found symfony/property-info[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require.
Problem 2
- Root composer.json requires symfony/browser-kit ^7.0 -> satisfiable by symfony/browser-kit[v7.0.0].
- symfony/browser-kit v7.0.0 requires symfony/dom-crawler ^6.4|^7.0 -> found symfony/dom-crawler[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require.
Problem 3
- Root composer.json requires symfony/expression-language ^7.0 -> satisfiable by symfony/expression-language[v7.0.0].
- symfony/expression-language v7.0.0 requires symfony/cache ^6.4|^7.0 -> found symfony/cache[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require.
Problem 4
- Root composer.json requires symfony/framework-bundle ^7.0.0 -> satisfiable by symfony/framework-bundle[v7.0.0, v7.0.1].
- symfony/framework-bundle[v7.0.0, ..., v7.0.1] require symfony/cache ^6.4|^7.0 -> found symfony/cache[v6.4.0, v7.0.0] but these were not loaded, likely because it conflicts with another require.
Problem 5
- doctrine/doctrine-bundle[2.11.0, ..., 2.11.1] require symfony/framework-bundle ^5.4 || ^6.0 || ^7.0 -> satisfiable by symfony/framework-bundle[v7.0.0, v7.0.1].
- doctrine/doctrine-bundle[2.5.0, ..., 2.5.4] require symfony/dependency-injection ^4.3.3|^5.0|^6.0 -> found symfony/dependency-injection[v4.3.3, ..., v4.4.49, v5.0.0, ..., v5.4.33, v6.0.0, ..., v6.4.1] but it conflicts with your root composer.json require (^7.0).
- doctrine/doctrine-bundle[2.5.5, ..., 2.7.0] require symfony/dependency-injection ^4.4.18|^5.0|^6.0 -> found symfony/dependency-injection[v4.4.18, ..., v4.4.49, v5.0.0, ..., v5.4.33, v6.0.0, ..., v6.4.1] but it conflicts with your root composer.json require (^7.0).
- doctrine/doctrine-bundle[2.7.1, ..., 2.7.2] require symfony/dependency-injection ^4.4.18 || ^5.4 || ^6.0 -> found symfony/dependency-injection[v4.4.18, ..., v4.4.49, v5.4.0, ..., v5.4.33, v6.0.0, ..., v6.4.1] but it conflicts with your root composer.json require (^7.0).
- doctrine/doctrine-bundle[2.8.0, ..., 2.10.3] require symfony/dependency-injection ^5.4 || ^6.0 -> found symfony/dependency-injection[v5.4.0, ..., v5.4.33, v6.0.0, ..., v6.4.1] but it conflicts with your root composer.json require (^7.0).
- symfony/framework-bundle[v7.0.0, ..., v7.0.1] require symfony/cache ^6.4|^7.0 -> found symfony/cache[v6.4.0, v7.0.0] 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 5.4, highest)
Process completed with exit code 2.
|
run / Test: PHP 8.3, Symfony 5.4, lowest)
The job was canceled because "_8_2_5_4_highest" failed.
|
run / Test: PHP 8.3, Symfony 6.3, lowest)
The job was canceled because "_8_2_5_4_highest" failed.
|
run / Test: PHP 8.3, Symfony 6.3, highest)
The job was canceled because "_8_2_5_4_highest" failed.
|
run / Test: PHP 8.3, Symfony 5.4, highest)
The job was canceled because "_8_2_5_4_highest" failed.
|
run / Test: PHP 8.2, Symfony 6.3, lowest)
The job was canceled because "_8_2_5_4_highest" failed.
|
run / Test: PHP 8.2, Symfony 6.3, highest)
The job was canceled because "_8_2_5_4_highest" failed.
|
run / Test: PHP 8.2, Symfony 6.3, highest)
The operation was canceled.
|
run / Test: PHP 8.2, Symfony 5.4, lowest)
The operation was canceled.
|
run / Mutation Tests (8.3):
src/Bridge/Symfony/DependencyInjection/NucleosDoctrineExtension.php#L32
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$config = $this->processConfiguration($configuration, $configs);
$loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
$loader->load('services.php');
- $container->setParameter('nucleos_doctrine.table.prefix', $config['table']['prefix']);
+
}
}
|
run / Mutation Tests (8.3):
src/EventListener/ORM/LifecycleDateListener.php#L61
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
if (null === $reflClass || !$reflClass->implementsInterface(LifecycleDateTimeInterface::class)) {
return;
}
- $this->createDateTimeField($meta, 'createdAt', false);
+ $this->createDateTimeField($meta, 'createdAt', true);
$this->createDateTimeField($meta, 'updatedAt', false);
}
}
|
run / Mutation Tests (8.3):
src/EventListener/ORM/LifecycleDateListener.php#L62
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
return;
}
$this->createDateTimeField($meta, 'createdAt', false);
- $this->createDateTimeField($meta, 'updatedAt', false);
+ $this->createDateTimeField($meta, 'updatedAt', true);
}
}
|
run / Mutation Tests (8.3):
src/EventListener/ORM/SortableListener.php#L55
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
}
public function prePersist(PrePersistEventArgs $args) : void
{
- if (!$args->getObject() instanceof PositionAwareInterface) {
+ if (!true) {
return;
}
$this->uniquePosition($args);
|
run / Mutation Tests (8.3):
src/EventListener/ORM/SortableListener.php#L55
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
}
public function prePersist(PrePersistEventArgs $args) : void
{
- if (!$args->getObject() instanceof PositionAwareInterface) {
+ if (!false) {
return;
}
$this->uniquePosition($args);
|
run / Mutation Tests (8.3):
src/EventListener/ORM/SortableListener.php#L55
Escaped Mutant for Mutator "LogicalNot":
--- Original
+++ New
@@ @@
}
public function prePersist(PrePersistEventArgs $args) : void
{
- if (!$args->getObject() instanceof PositionAwareInterface) {
+ if ($args->getObject() instanceof PositionAwareInterface) {
return;
}
$this->uniquePosition($args);
|
run / Mutation Tests (8.3):
src/EventListener/ORM/SortableListener.php#L81
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
public function preRemove(PreRemoveEventArgs $args) : void
{
$entity = $args->getObject();
- if ($entity instanceof PositionAwareInterface) {
+ if (false) {
$this->movePosition($args->getObjectManager(), $entity, -1);
}
}
|
run / Mutation Tests (8.3):
src/EventListener/ORM/UniqueActiveListener.php#L52
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
public function prePersist(PrePersistEventArgs $args) : void
{
- $this->uniqueActive($args);
+
}
public function preUpdate(PreUpdateEventArgs $args) : void
{
|
run / Mutation Tests (8.3):
src/EventListener/ORM/UniqueActiveListener.php#L57
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
public function preUpdate(PreUpdateEventArgs $args) : void
{
- $this->uniqueActive($args);
+
}
/**
* @throws MappingException
|
run / Mutation Tests (8.3):
src/EventListener/ORM/UniqueActiveListener.php#L88
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
private function uniqueActive(LifecycleEventArgs $args) : void
{
$entity = $args->getObject();
- if (!$entity instanceof UniqueActiveInterface) {
+ if (!false) {
return;
}
if (!$entity->isActive()) {
|