Configure Renovate #21
Annotations
1 error and 5 warnings
Run make mutation-testing
Process completed with exit code 2.
|
Run make mutation-testing:
src/Files.php#L35
Escaped Mutant for Mutator "UnwrapRtrim":
--- Original
+++ New
@@ @@
*/
public static function setUp(string $templates, string $destination, array $templateVariables) : void
{
- foreach (new RecursiveIteratorIterator(new RecursiveDirectoryIterator(rtrim($templates, '/'), FilesystemIterator::SKIP_DOTS | FilesystemIterator::CURRENT_AS_PATHNAME)) as $fileName) {
+ foreach (new RecursiveIteratorIterator(new RecursiveDirectoryIterator($templates, FilesystemIterator::SKIP_DOTS | FilesystemIterator::CURRENT_AS_PATHNAME)) as $fileName) {
if (!is_string($fileName)) {
continue;
}
|
Run make mutation-testing:
src/Files.php#L49
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
if (!is_file($fileName)) {
continue;
}
- $newFilename = render($destination . DIRECTORY_SEPARATOR . substr($fileName, strlen($templates)), $templateVariables);
+ $newFilename = render(DIRECTORY_SEPARATOR . $destination . substr($fileName, strlen($templates)), $templateVariables);
try {
/** @phpstan-ignore-next-line */
@mkdir(dirname($newFilename), 0744, true);
|
Run make mutation-testing:
src/Files.php#L49
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
if (!is_file($fileName)) {
continue;
}
- $newFilename = render($destination . DIRECTORY_SEPARATOR . substr($fileName, strlen($templates)), $templateVariables);
+ $newFilename = render($destination . substr($fileName, strlen($templates)), $templateVariables);
try {
/** @phpstan-ignore-next-line */
@mkdir(dirname($newFilename), 0744, true);
|
Run make mutation-testing:
src/Files.php#L55
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
$newFilename = render($destination . DIRECTORY_SEPARATOR . substr($fileName, strlen($templates)), $templateVariables);
try {
/** @phpstan-ignore-next-line */
- @mkdir(dirname($newFilename), 0744, true);
+ @mkdir(dirname($newFilename), 485, true);
} catch (FilesystemException) {
// void @IgnoreException
}
|
Run make mutation-testing:
src/Files.php#L55
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
$newFilename = render($destination . DIRECTORY_SEPARATOR . substr($fileName, strlen($templates)), $templateVariables);
try {
/** @phpstan-ignore-next-line */
- @mkdir(dirname($newFilename), 0744, true);
+ @mkdir(dirname($newFilename), 483, true);
} catch (FilesystemException) {
// void @IgnoreException
}
|
The logs for this run have expired and are no longer available.
Loading