Replace VFS Stream with spatie temp directory #614
Annotations
1 error and 2 warnings
Infection
Process completed with exit code 1.
|
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/
|
Infection:
src/ComposerRequireChecker/FileLocator/LocateFilesByGlobPattern.php#L25
Escaped Mutant for Mutator "UnwrapRtrim":
--- Original
+++ New
@@ @@
public function __invoke(array $globPatterns, string $rootDir) : Traversable
{
foreach ($globPatterns as $globPattern) {
- yield from Glob::glob(rtrim($rootDir, '/') . '/' . $globPattern);
+ yield from Glob::glob($rootDir . '/' . $globPattern);
}
}
}
|
Loading