CLI-1130: Not all processes should use STDIN #2026
Triggered via pull request
December 14, 2023 19:02
Status
Success
Total duration
11m 11s
Artifacts
–
mutation.yml
on: pull_request
Mutation Testing
11m 0s
Annotations
2 warnings
Mutation Testing:
src/Helpers/LocalMachineHelper.php#L59
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
return (bool) $this->installedBinaries[$command];
}
$osCommand = OsInfo::isWindows() ? ['where', $command] : ['which', $command];
- $exists = $this->execute($osCommand, NULL, NULL, FALSE, NULL, NULL, FALSE)->isSuccessful();
+ $exists = $this->execute($osCommand, NULL, NULL, FALSE, NULL, NULL, true)->isSuccessful();
$this->installedBinaries[$command] = $exists;
return $exists;
}
|
Mutation Testing:
src/Helpers/LocalMachineHelper.php#L59
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
return (bool) $this->installedBinaries[$command];
}
$osCommand = OsInfo::isWindows() ? ['where', $command] : ['which', $command];
- $exists = $this->execute($osCommand, NULL, NULL, FALSE, NULL, NULL, FALSE)->isSuccessful();
+ $exists = $this->execute($osCommand, NULL, NULL, true, NULL, NULL, FALSE)->isSuccessful();
$this->installedBinaries[$command] = $exists;
return $exists;
}
|