Automation #18525
Triggered via workflow run
January 29, 2025 18:21
ghostwriter
completed
a1a3c03
Status
Success
Total duration
58s
Artifacts
–
automation.yml
on: workflow_run
Generate job matrix
6s
Matrix: qa
Annotations
4 warnings
[PHP8.4][locked]Infection on ubuntu:
src/Value/Composer/Composer.php#L46
Escaped Mutant for Mutator "MBString":
@@ @@
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';
}
/**
* @throws Throwable
|
[PHP8.4][locked]Infection on ubuntu:
src/Value/Composer/Composer.php#L47
Escaped Mutant for Mutator "Concat":
@@ @@
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;
}
/**
* @throws Throwable
|
[PHP8.4][locked]Infection on ubuntu:
src/Value/Composer/Composer.php#L47
Escaped Mutant for Mutator "ConcatOperandRemoval":
@@ @@
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';
}
/**
* @throws Throwable
|
[PHP8.4][locked]Infection on ubuntu:
src/Value/Composer/Composer.php#L47
Escaped Mutant for Mutator "ConcatOperandRemoval":
@@ @@
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;
}
/**
* @throws Throwable
|