[general] Use separate flow (#248) #2
tests.yaml
on: push
Matrix: PHP Tests
Matrix: PHP Tests With Code Coverage
Matrix: PHP Tests For Mutants
Annotations
6 warnings
PHP Tests (8.2, ubuntu-latest) / Code Tests (PHP 8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Tests With Code Coverage (8.2, ubuntu-latest) / Code Coverage (PHP 8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Transformers/EquationTransformer.php#L63
Escaped Mutant for Mutator "PublicVisibility":
--- Original
+++ New
@@ @@
throw new Exceptions\InvalidArgument('Provided equation format is not valid');
}
}
- public function getEquationFrom() : Math|null
+ protected function getEquationFrom() : Math|null
{
return $this->equationFrom !== null ? Math::from($this->equationFrom) : null;
}
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Transformers/EquationTransformer.php#L91
Escaped Mutant for Mutator "PublicVisibility":
--- Original
+++ New
@@ @@
$value = is_array($value) ? implode(' ', $value) : $value;
return $dataType === MetadataTypes\DataType::FLOAT ? floatval($value) : intval(round(floatval($value)));
}
- public function getEquationTo() : Math|null
+ protected function getEquationTo() : Math|null
{
return $this->equationTo !== null ? Math::from($this->equationTo) : null;
}
|
PHP Tests For Mutants (8.2, ubuntu-latest) / Mutation Tests (PHP 8.2):
src/Transformers/EquationTransformer.php#L131
Escaped Mutant for Mutator "NullSafeMethodCall":
--- Original
+++ New
@@ @@
}
public function __toString() : string
{
- $from = $this->getEquationFrom()?->string();
+ $from = $this->getEquationFrom()->string();
$to = $this->getEquationTo()?->string();
return 'equation:' . ($from !== null ? 'x=' . (is_array($from) ? implode($from) : $from) : '') . ($to !== null ? '|y=' . (is_array($to) ? implode($to) : $to) : '');
}
}
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Logs - Mutations
Expired
|
348 KB |
|