Skip to content

Initial commit

Initial commit #5

Triggered via push February 27, 2024 20:54
Status Success
Total duration 2m 38s
Artifacts 1

ci.yaml

on: push
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
4s
Status check - CI
Fit to window
Zoom out
Zoom in

Annotations

23 warnings
Coding standard (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static analysis (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test for mutants (ubuntu-latest, 8.1): src/DefaultCronExpressionExplainer.php#L81
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $dayOfWeekPart = $this->parsePart($dayOfWeek, $this->dayOfWeekInterpreter); $explanation = 'At '; if ($minutePart instanceof ValuePart && $hourPart instanceof ValuePart && is_numeric($minutePartValue = $minutePart->getValue()) && is_numeric($hourPartValue = $hourPart->getValue())) { - $this->hourInterpreter->assertValueInRange($hourPartValue); + $this->minuteInterpreter->assertValueInRange($minutePartValue); $explanation .= str_pad($hourPartValue, 2, '0', STR_PAD_LEFT) . ':' . str_pad($minutePartValue, 2, '0', STR_PAD_LEFT); } else {
Test for mutants (ubuntu-latest, 8.1): src/DefaultCronExpressionExplainer.php#L82
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $explanation = 'At '; if ($minutePart instanceof ValuePart && $hourPart instanceof ValuePart && is_numeric($minutePartValue = $minutePart->getValue()) && is_numeric($hourPartValue = $hourPart->getValue())) { $this->hourInterpreter->assertValueInRange($hourPartValue); - $this->minuteInterpreter->assertValueInRange($minutePartValue); + $explanation .= str_pad($hourPartValue, 2, '0', STR_PAD_LEFT) . ':' . str_pad($minutePartValue, 2, '0', STR_PAD_LEFT); } else { $explanation .= $this->minuteInterpreter->explainPart($minutePart);
Test for mutants (ubuntu-latest, 8.1): src/DefaultCronExpressionExplainer.php#L139
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ private function parseUnlistedPart(string $part, BasePartInterpreter $interpreter) : Part { if (str_contains($part, '/')) { - $stepParts = explode('/', $part, 2); + $stepParts = explode('/', $part, 3); $step = (int) $stepParts[1]; assert((string) $step === $stepParts[1]); return new StepPart($this->parseRangePart($stepParts[0], $interpreter), $step);
Test for mutants (ubuntu-latest, 8.1): src/DefaultCronExpressionExplainer.php#L159
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ private function parseRangePart(string $part, BasePartInterpreter $interpreter) : RangePart { assert(str_contains($part, '-')); - $range = explode('-', $part, 2); + $range = explode('-', $part, 3); return new RangePart($this->parseValuePart($range[0], $interpreter), $this->parseValuePart($range[1], $interpreter)); } private function parseValuePart(string $part, BasePartInterpreter $interpreter) : ValuePart
Test for mutants (ubuntu-latest, 8.1): src/Exception/InvalidExpression.php#L13
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ { public function __construct(string $message, Throwable $previous) { - parent::__construct($message, 0, $previous); + parent::__construct($message, -1, $previous); } }
Test for mutants (ubuntu-latest, 8.1): src/Exception/InvalidExpression.php#L13
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ { public function __construct(string $message, Throwable $previous) { - parent::__construct($message, 0, $previous); + parent::__construct($message, 1, $previous); } }
Test for mutants (ubuntu-latest, 8.1): src/Interpreter/BasePartInterpreter.php#L67
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ $right = $part->getRight(); return ($renderName ? "every {$this->getInRangeName()} " : '') . 'from ' . $this->explainPart($left, false) . ' through ' . $this->explainPart($right, false); } - assert($part instanceof ValuePart); + assert(true); $value = $part->getValue(); if ($value === '*') { return $this->getAsteriskDescription();
Test for mutants (ubuntu-latest, 8.1): src/Interpreter/BasePartInterpreter.php#L75
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ if ($value === '*') { return $this->getAsteriskDescription(); } - $this->assertValueInRange($value); + $name = $this->getInValueName(); return ($renderName ? $name !== '' ? "{$name} " : '' : '') . $this->translateValue($value); }
Test for mutants (ubuntu-latest, 8.1): src/Interpreter/DayOfMonthInterpreter.php#L37
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ } protected function assertValueInRange(string $value) : void { - $intValue = (int) $value; + $intValue = $value; assert($value === (string) $intValue); assert($intValue >= 1 && $intValue <= 31); }
Test for mutants (ubuntu-latest, 8.1): src/Interpreter/DayOfMonthInterpreter.php#L39
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ { $intValue = (int) $value; assert($value === (string) $intValue); - assert($intValue >= 1 && $intValue <= 31); + assert($intValue >= 1 || $intValue <= 31); } protected function translateValue(string $value) : string {
Tests (ubuntu-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 7.4, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 7.4, --prefer-lowest --prefer-stable, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (ubuntu-latest, 8.2, --ignore-platform-req=php+, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (macos-latest, 7.4, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (macos-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (macos-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (windows-latest, 8.0, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (windows-latest, 8.1, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests (windows-latest, 7.4, false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
8.76 KB