Add support for Symfony 7 #68
Annotations
7 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run Infection:
src/Factory/ContainerAwareVersionFactory.php#L31
Escaped Mutant for Mutator "LogicalAnd":
--- Original
+++ New
@@ @@
public function createVersion(string $migrationClassName): AbstractMigration
{
$instance = $this->migrationFactory->createVersion($migrationClassName);
- if (interface_exists(ContainerAwareInterface::class) && $instance instanceof ContainerAwareInterface) {
+ if (interface_exists(ContainerAwareInterface::class) || $instance instanceof ContainerAwareInterface) {
$instance->setContainer($this->container);
}
return $instance;
}
}
|
Run Infection:
src/Factory/ContainerAwareVersionFactory.php#L31
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation":
--- Original
+++ New
@@ @@
public function createVersion(string $migrationClassName): AbstractMigration
{
$instance = $this->migrationFactory->createVersion($migrationClassName);
- if (interface_exists(ContainerAwareInterface::class) && $instance instanceof ContainerAwareInterface) {
+ if (!interface_exists(ContainerAwareInterface::class) && $instance instanceof ContainerAwareInterface) {
$instance->setContainer($this->container);
}
return $instance;
}
}
|
Run Infection:
src/Factory/ContainerAwareVersionFactory.php#L32
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
public function createVersion(string $migrationClassName): AbstractMigration
{
$instance = $this->migrationFactory->createVersion($migrationClassName);
- if (interface_exists(ContainerAwareInterface::class) && $instance instanceof ContainerAwareInterface) {
+ if (interface_exists(ContainerAwareInterface::class) && true) {
$instance->setContainer($this->container);
}
return $instance;
}
}
|
Run Infection:
src/Factory/ContainerAwareVersionFactory.php#L32
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
public function createVersion(string $migrationClassName): AbstractMigration
{
$instance = $this->migrationFactory->createVersion($migrationClassName);
- if (interface_exists(ContainerAwareInterface::class) && $instance instanceof ContainerAwareInterface) {
+ if (interface_exists(ContainerAwareInterface::class) && false) {
$instance->setContainer($this->container);
}
return $instance;
}
}
|
Get Composer cache directory
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading