Skip to content

Translations

Translations #34

Triggered via push April 17, 2024 20:31
Status Failure
Total duration 2m 4s
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
2s
Status check - CI
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 13 warnings
Tests (ubuntu-latest, 7.4, false)
Input required and not supplied: extensions
Tests (ubuntu-latest, 8.0, false)
The job was canceled because "ubuntu-latest_7_4_false" failed.
Tests (ubuntu-latest, 8.2, --ignore-platform-req=php+, false)
The job was canceled because "ubuntu-latest_7_4_false" failed.
Tests (macos-latest, 8.0, false)
The job was canceled because "ubuntu-latest_7_4_false" failed.
Tests (macos-latest, 8.0, false)
A task was canceled.
Tests (macos-latest, 7.4, false)
The job was canceled because "ubuntu-latest_7_4_false" failed.
Tests (macos-latest, 7.4, false)
A task was canceled.
Tests (windows-latest, 8.1, false)
The job was canceled because "ubuntu-latest_7_4_false" failed.
Tests (windows-latest, 8.1, false)
The operation was canceled.
Tests (ubuntu-latest, 7.4, --prefer-lowest --prefer-stable, false)
The job was canceled because "ubuntu-latest_7_4_false" failed.
Tests (ubuntu-latest, 7.4, --prefer-lowest --prefer-stable, false)
The operation was canceled.
Tests (ubuntu-latest, 8.2, fileinfo, json, mbstring, sodium, ssh2, --ignore-platform-req=php+, fa...
The job was canceled because "ubuntu-latest_7_4_false" failed.
Tests (ubuntu-latest, 8.1, false)
The job was canceled because "ubuntu-latest_7_4_false" failed.
Tests (macos-latest, 8.1, false)
The job was canceled because "ubuntu-latest_7_4_false" failed.
Tests (macos-latest, 8.1, false)
A task was canceled.
Tests (windows-latest, 8.0, false)
The job was canceled because "ubuntu-latest_7_4_false" failed.
Tests (windows-latest, 8.0, false)
The operation was canceled.
Tests (windows-latest, 7.4, false)
The job was canceled because "ubuntu-latest_7_4_false" failed.
Tests (windows-latest, 7.4, false)
The operation was canceled.
Status check - CI
Process completed with exit code 1.
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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/.
Test for mutants (ubuntu-latest, 8.1): src/DefaultCronExpressionExplainer.php#L70
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } public function setDefaultLocale(string $locale) : void { - $this->checkLocaleIsSupported($locale); + $this->defaultLocale = $locale; } /**
Test for mutants (ubuntu-latest, 8.1): src/DefaultCronExpressionExplainer.php#L92
Escaped Mutant for Mutator "AssignCoalesce": --- Original +++ New @@ @@ public function explain(string $expression, ?int $repeatSeconds = null, ?DateTimeZone $timeZone = null, ?string $locale = null) : string { $this->checkLocaleIsSupported($locale); - $locale ??= $this->defaultLocale; + $locale = $this->defaultLocale; $repeatSeconds ??= 0; [$minutePart, $hourPart, $dayOfMonthPart, $monthPart, $dayOfWeekPart] = $this->expressionToParts($expression); return $this->build($locale, $repeatSeconds, $minutePart, $hourPart, $dayOfWeekPart, $dayOfMonthPart, $monthPart, $timeZone);
Test for mutants (ubuntu-latest, 8.1): src/DefaultCronExpressionExplainer.php#L94
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ { $this->checkLocaleIsSupported($locale); $locale ??= $this->defaultLocale; - $repeatSeconds ??= 0; + $repeatSeconds ??= -1; [$minutePart, $hourPart, $dayOfMonthPart, $monthPart, $dayOfWeekPart] = $this->expressionToParts($expression); return $this->build($locale, $repeatSeconds, $minutePart, $hourPart, $dayOfWeekPart, $dayOfMonthPart, $monthPart, $timeZone); }
Test for mutants (ubuntu-latest, 8.1): src/DefaultCronExpressionExplainer.php#L237
Escaped Mutant for Mutator "Assignment": --- Original +++ New @@ @@ { $explanation = ''; $secondsExplanation = $this->explainSeconds($repeatSeconds, $locale); - $explanation .= $secondsExplanation; + $explanation = $secondsExplanation; if ($minutePart instanceof ValuePart && $hourPart instanceof ValuePart && is_numeric($minutePartValue = $minutePart->getValue()) && is_numeric($hourPartValue = $hourPart->getValue())) { if ($secondsExplanation !== '') { $explanation .= ' ';
Test for mutants (ubuntu-latest, 8.1): src/DefaultCronExpressionExplainer.php#L270
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ $minutePartValue = str_pad((string) $this->minuteInterpreter->convertNumericValue($minutePartValue), 2, '0', STR_PAD_LEFT); $explanation .= $this->translator->translate('hour+minute', ['hour' => $hourPartValue, 'minute' => $minutePartValue], $locale); } else { - if (!($repeatSeconds > 0 && $minutePart instanceof ValuePart && $this->minuteInterpreter->isAll($minutePart))) { + if (!($repeatSeconds > 0 && true && $this->minuteInterpreter->isAll($minutePart))) { if ($secondsExplanation !== '') { $explanation .= ' '; }
Test for mutants (ubuntu-latest, 8.1): src/DefaultCronExpressionExplainer.php#L293
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ } } $dayOfWeekExplanation = $this->dayOfWeekInterpreter->explainPart($dayOfWeekPart, $locale); - if ($dayOfWeekExplanation === '' && $dayOfMonthPart instanceof ValuePart && $monthPart instanceof ValuePart && is_numeric($dayOfMonthPart->getValue()) && is_numeric($monthPart->getValue())) { + if ($dayOfWeekExplanation === '' && $dayOfMonthPart instanceof ValuePart && true && is_numeric($dayOfMonthPart->getValue()) && is_numeric($monthPart->getValue())) { $explanation .= ' ' . $this->translator->translate('day-of-month+month', ['day' => $this->dayOfMonthInterpreter->convertNumericValue($dayOfMonthPart->getValue()), 'month' => $monthPart->getValue()], $locale); } else { $dayOfMonthExplanation = $this->dayOfMonthInterpreter->explainPart($dayOfMonthPart, $locale);
Test for mutants (ubuntu-latest, 8.1): src/Exception/UnsupportedExpression.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/UnsupportedExpression.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/DayOfMonthInterpreter.php#L56
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ $nearest = str_ends_with($value, 'W'); if ($nearest) { $value = substr($value, 0, -1); - assert($value !== false); + assert($value !== true); } $intValue = $this->convertNumericValue($value); if ($nearest) {
Test for mutants (ubuntu-latest, 8.1): src/Interpreter/DayOfMonthInterpreter.php#L90
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ assert(is_numeric($value)); $intValue = (int) $value; assert((float) $value === (float) $intValue); - assert($intValue >= 1 && $intValue <= 31); + assert($intValue >= 1 || $intValue <= 31); return $intValue; } }
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/.

Artifacts

Produced during runtime
Name Size
Logs - Mutations
16.2 KB