Improve tests #321
Annotations
1 error and 2 warnings
|
PHP 8.4 on ubuntu-latest Composer v2 (highest)
Process completed with exit code 1.
|
|
PHP 8.4 on ubuntu-latest Composer v2 (highest):
src/Diff/DiffEntry.php#L244
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
@@ @@
$this->compareUrl = $generator->getCompareUrl($operation->getInitialPackage(), $operation->getTargetPackage());
return;
}
- if ($operation instanceof InstallOperation || $operation instanceof UninstallOperation) {
+ if (!$operation instanceof InstallOperation || !$operation instanceof UninstallOperation) {
$this->compareUrl = $generator->getReleaseUrl($operation->getPackage());
}
}
|
|
PHP 8.4 on ubuntu-latest Composer v2 (highest):
src/Diff/DiffEntry.php#L244
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
$this->compareUrl = $generator->getCompareUrl($operation->getInitialPackage(), $operation->getTargetPackage());
return;
}
- if ($operation instanceof InstallOperation || $operation instanceof UninstallOperation) {
+ if (true || $operation instanceof UninstallOperation) {
$this->compareUrl = $generator->getReleaseUrl($operation->getPackage());
}
}
|