Automation #8726
automation.yml
on: schedule
Generate job matrix
8s
Matrix: qa
Annotations
5 warnings
[PHP8.3] Infection-locked on ubuntu:
src/Service/Composer.php#L35
Escaped Mutant for Mutator "UnwrapTrim":
--- Original
+++ New
@@ @@
*/
public function getJsonFilePath(string $root): string
{
- return $root . DIRECTORY_SEPARATOR . basename(trim(getenv('COMPOSER') ?: ComposerFile::JSON));
+ return $root . DIRECTORY_SEPARATOR . basename(getenv('COMPOSER') ?: ComposerFile::JSON);
}
/**
* Retrieve the path to composer.lock file.
|
[PHP8.3] Infection-locked on ubuntu:
src/Service/Composer.php#L46
Escaped Mutant for Mutator "MBString":
--- Original
+++ New
@@ @@
public function getLockFilePath(string $root): string
{
$composerJsonPath = $this->getJsonFilePath($root);
- return (pathinfo($composerJsonPath, PATHINFO_EXTENSION) === ComposerFileType::JSON) ? mb_substr($composerJsonPath, 0, -4) . 'lock' : ($composerJsonPath . '.lock');
+ return (pathinfo($composerJsonPath, PATHINFO_EXTENSION) === ComposerFileType::JSON) ? substr($composerJsonPath, 0, -4) . 'lock' : ($composerJsonPath . '.lock');
}
public function getPhpVersionConstraint(string $path): PhpVersionConstraintInterface
{
|
[PHP8.3] Infection-locked on ubuntu:
src/Service/Composer.php#L47
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
public function getLockFilePath(string $root): string
{
$composerJsonPath = $this->getJsonFilePath($root);
- return (pathinfo($composerJsonPath, PATHINFO_EXTENSION) === ComposerFileType::JSON) ? mb_substr($composerJsonPath, 0, -4) . 'lock' : ($composerJsonPath . '.lock');
+ return (pathinfo($composerJsonPath, PATHINFO_EXTENSION) === ComposerFileType::JSON) ? mb_substr($composerJsonPath, 0, -4) . 'lock' : ('.lock' . $composerJsonPath);
}
public function getPhpVersionConstraint(string $path): PhpVersionConstraintInterface
{
|
[PHP8.3] Infection-locked on ubuntu:
src/Service/Composer.php#L47
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
public function getLockFilePath(string $root): string
{
$composerJsonPath = $this->getJsonFilePath($root);
- return (pathinfo($composerJsonPath, PATHINFO_EXTENSION) === ComposerFileType::JSON) ? mb_substr($composerJsonPath, 0, -4) . 'lock' : ($composerJsonPath . '.lock');
+ return (pathinfo($composerJsonPath, PATHINFO_EXTENSION) === ComposerFileType::JSON) ? mb_substr($composerJsonPath, 0, -4) . 'lock' : '.lock';
}
public function getPhpVersionConstraint(string $path): PhpVersionConstraintInterface
{
|
[PHP8.3] Infection-locked on ubuntu:
src/Service/Composer.php#L47
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
public function getLockFilePath(string $root): string
{
$composerJsonPath = $this->getJsonFilePath($root);
- return (pathinfo($composerJsonPath, PATHINFO_EXTENSION) === ComposerFileType::JSON) ? mb_substr($composerJsonPath, 0, -4) . 'lock' : ($composerJsonPath . '.lock');
+ return (pathinfo($composerJsonPath, PATHINFO_EXTENSION) === ComposerFileType::JSON) ? mb_substr($composerJsonPath, 0, -4) . 'lock' : $composerJsonPath;
}
public function getPhpVersionConstraint(string $path): PhpVersionConstraintInterface
{
|