Register extensions on symfony 7 #1355
continuous-integration.yml
on: pull_request
run
/
Generate test matrix
3s
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
23 warnings
run / Code Coverage (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Coding Standards (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Lint composer.json (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Test: PHP 8.2, Symfony 7.0, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Test: PHP 8.2, Symfony 6.4, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Test: PHP 8.2, Symfony 6.4, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Static Code Analysis (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Test: PHP 8.2, Symfony 7.0, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Test: PHP 8.3, Symfony 7.0, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Test: PHP 8.3, Symfony 6.4, highest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Test: PHP 8.3, Symfony 7.0, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Test: PHP 8.3, Symfony 6.4, lowest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
run / Mutation Tests (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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()) {
|