Test on PHP 8.4 #378
main.yml
on: pull_request
Static Analysis and Validation
3m 16s
Matrix: tests
Annotations
2 errors and 4 warnings
Test with PHP 8.0
Process completed with exit code 1.
|
Test with PHP 7.4
Process completed with exit code 1.
|
Static Analysis and Validation:
src/Helper/RunningVariance.php#L75
Escaped Mutant for Mutator "LessThan":
--- Original
+++ New
@@ @@
$this->min = $value;
$this->max = $value;
} else {
- if ($value < $this->min) {
+ if ($value <= $this->min) {
$this->min = $value;
}
if ($value > $this->max) {
|
Static Analysis and Validation:
src/Helper/RunningVariance.php#L79
Escaped Mutant for Mutator "GreaterThan":
--- Original
+++ New
@@ @@
if ($value < $this->min) {
$this->min = $value;
}
- if ($value > $this->max) {
+ if ($value >= $this->max) {
$this->max = $value;
}
}
|
Static Analysis and Validation:
src/Helper/RunningVariance.php#L177
Escaped Mutant for Mutator "LessThan":
--- Original
+++ New
@@ @@
$this->mean = $this->count * $this->mean / $count + $other->count * $other->mean / $count;
$this->m2 = $this->m2 + $other->m2 + $delta ** 2 * $this->count * $other->count / $count;
$this->count = $count;
- if ($other->min < $this->min) {
+ if ($other->min <= $this->min) {
$this->min = $other->min;
}
if ($other->max > $this->max) {
|
Static Analysis and Validation:
src/Helper/RunningVariance.php#L181
Escaped Mutant for Mutator "GreaterThan":
--- Original
+++ New
@@ @@
if ($other->min < $this->min) {
$this->min = $other->min;
}
- if ($other->max > $this->max) {
+ if ($other->max >= $this->max) {
$this->max = $other->max;
}
}
}
|