Skip to content

Translations

Translations #42

Triggered via push April 22, 2024 12:45
Status Success
Total duration 1m 37s
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
3s
Status check - CI
Fit to window
Zoom out
Zoom in

Annotations

25 warnings
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/.
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/.
Tests (ubuntu-latest, 8.2, fileinfo, json, mbstring, sodium, ssh2, --ignore-platform-req=php+, fa...
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, fileinfo, intl, json, mbstring, sodium, ssh2, 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, fileinfo, intl, json, mbstring, sodium, ssh2, 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, fileinfo, intl, json, mbstring, sodium, ssh2, --prefer-lowest --prefer...
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, fileinfo, intl, json, mbstring, sodium, ssh2, --ignore-platform-req=ph...
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, fileinfo, intl, json, mbstring, sodium, ssh2, 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/.
Test for mutants (ubuntu-latest, 8.1): src/DefaultCronExpressionExplainer.php#L71
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#L93
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#L95
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#L238
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#L271
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#L294
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/DefaultCronExpressionExplainer.php#L315
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ $explanation .= $this->translator->translate('between-day-of-month-and-week', [], $locale); } if ($dayOfWeekExplanation !== '') { - $explanation .= $this->translator->translate('before-day-of-week', ['dayNumber' => $this->getFirstValueIfNumeric($dayOfWeekPart)], $locale); + $explanation .= $this->translator->translate('before-day-of-week', [], $locale); } $explanation .= $dayOfWeekExplanation; $monthExplanation = $this->monthInterpreter->explainPart($monthPart, $locale);
Test for mutants (ubuntu-latest, 8.1): src/DefaultCronExpressionExplainer.php#L316
Escaped Mutant for Mutator "ArrayItem": --- Original +++ New @@ @@ $explanation .= $this->translator->translate('between-day-of-month-and-week', [], $locale); } if ($dayOfWeekExplanation !== '') { - $explanation .= $this->translator->translate('before-day-of-week', ['dayNumber' => $this->getFirstValueIfNumeric($dayOfWeekPart)], $locale); + $explanation .= $this->translator->translate('before-day-of-week', ['dayNumber' > $this->getFirstValueIfNumeric($dayOfWeekPart)], $locale); } $explanation .= $dayOfWeekExplanation; $monthExplanation = $this->monthInterpreter->explainPart($monthPart, $locale);
Test for mutants (ubuntu-latest, 8.1): src/DefaultCronExpressionExplainer.php#L358
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ } private function getFirstValueIfNumeric(Part $part) : string { - if ($part instanceof ListPart) { + if (false) { $part = $part->getParts()[0]; } if (!$part instanceof ValuePart) {
Test for mutants (ubuntu-latest, 8.1): src/DefaultCronExpressionExplainer.php#L359
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ private function getFirstValueIfNumeric(Part $part) : string { if ($part instanceof ListPart) { - $part = $part->getParts()[0]; + $part = $part->getParts()[1]; } if (!$part instanceof ValuePart) { return 'NaN';
Tests (macos-latest, 8.1, fileinfo, intl, json, mbstring, sodium, ssh2, 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, fileinfo, intl, json, mbstring, sodium, ssh2, 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.0, fileinfo, intl, json, mbstring, sodium, ssh2, 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, fileinfo, intl, json, mbstring, sodium, ssh2, 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, fileinfo, intl, json, mbstring, sodium, ssh2, 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, fileinfo, intl, json, mbstring, sodium, ssh2, 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/.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Logs - Mutations". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
Logs - Mutations
22.9 KB