Skip to content
Triggered via schedule August 19, 2024 08:15
Status Success
Total duration 9m 36s
Artifacts 1

ci.yaml

on: schedule
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

10 warnings
Test for mutants (ubuntu-latest, 8.3): src/DefaultCronExpressionExplainer.php#L72
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } public function setDefaultLocale(string $locale): void { - $this->checkLocaleIsSupported($locale); + $this->defaultLocale = $locale; } /**
Test for mutants (ubuntu-latest, 8.3): src/DefaultCronExpressionExplainer.php#L94
Escaped Mutant for Mutator "AssignCoalesce": @@ @@ 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.3): src/DefaultCronExpressionExplainer.php#L96
Escaped Mutant for Mutator "DecrementInteger": @@ @@ { $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.3): src/DefaultCronExpressionExplainer.php#L127
Escaped Mutant for Mutator "DecrementInteger": @@ @@ foreach ($locales as $locale) { $this->checkLocaleIsSupported($locale); } - $repeatSeconds ??= 0; + $repeatSeconds ??= -1; [$minutePart, $hourPart, $dayOfMonthPart, $monthPart, $dayOfWeekPart] = $this->expressionToParts($expression); $translations = []; foreach ($locales as $locale) {
Test for mutants (ubuntu-latest, 8.3): src/DefaultCronExpressionExplainer.php#L239
Escaped Mutant for Mutator "Assignment": @@ @@ { $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.3): src/DefaultCronExpressionExplainer.php#L265
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ $hourPartValueNumeric = $this->hourInterpreter->convertNumericValue($hourPartValue); $hourPartValue = str_pad((string) $hourPartValueNumeric, 2, '0', STR_PAD_LEFT); $minutePartValue = str_pad((string) $this->minuteInterpreter->convertNumericValue($minutePartValue), 2, '0', STR_PAD_LEFT); - $explanation .= $this->translator->translate('hour+minute', ['hourNumeric' => $hourPartValueNumeric, 'hour' => $hourPartValue, 'minute' => $minutePartValue], $locale); + $explanation .= $this->translator->translate('hour+minute', ['hour' => $hourPartValue, 'minute' => $minutePartValue], $locale); } else { if (!($repeatSeconds > 0 && $minutePart instanceof ValuePart && $this->minuteInterpreter->isAll($minutePart))) { if ($secondsExplanation !== '') {
Test for mutants (ubuntu-latest, 8.3): src/DefaultCronExpressionExplainer.php#L274
Escaped Mutant for Mutator "InstanceOf_": @@ @@ $minutePartValue = str_pad((string) $this->minuteInterpreter->convertNumericValue($minutePartValue), 2, '0', STR_PAD_LEFT); $explanation .= $this->translator->translate('hour+minute', ['hourNumeric' => $hourPartValueNumeric, '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.3): src/DefaultCronExpressionExplainer.php#L297
Escaped Mutant for Mutator "InstanceOf_": @@ @@ } } $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.3): src/DefaultCronExpressionExplainer.php#L318
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ $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.3): src/DefaultCronExpressionExplainer.php#L319
Escaped Mutant for Mutator "ArrayItem": @@ @@ $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);

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
2.84 KB