Update dependency symfony/phpunit-bridge to v7 #1348
Annotations
10 warnings
Run mutation tests with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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 with pcov and infection/infection:
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()) {
|
The logs for this run have expired and are no longer available.
Loading