Skip to content

Test Suite

Test Suite #1629

Triggered via schedule December 8, 2025 08:27
Status Success
Total duration 7m 0s
Artifacts

test-suite.yml

on: schedule
Matrix: Monorepo Test
Matrix: Mutation Tests
Matrix: Static Analyze
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Mutation Tests (locked, 8.2, ubuntu-latest): src/calendar-doctrine/src/Aeon/Doctrine/Calendar/Gregorian/DateTimeTzType.php#L37
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ if ($value instanceof DateTime || $value instanceof \DateTimeInterface) { return $value->format($platform->getDateTimeTzFormatString()); } - throw ConversionException::conversionFailedInvalidType($value, $this->getName(), ['null', 'DateTime', '\DateTimeInterface']); + throw ConversionException::conversionFailedInvalidType($value, $this->getName(), ['DateTime', '\DateTimeInterface']); } /** * {@inheritdoc}
Mutation Tests (locked, 8.2, ubuntu-latest): src/calendar-doctrine/src/Aeon/Doctrine/Calendar/Gregorian/DateTimeType.php#L45
Escaped Mutant for Mutator "InstanceOf_": @@ @@ */ public function convertToPHPValue($value, AbstractPlatform $platform): ?DateTime { - if ($value === null || $value instanceof DateTime) { + if ($value === null || false) { return $value; } if (!\is_string($value)) {
Mutation Tests (locked, 8.2, ubuntu-latest): src/calendar-doctrine/src/Aeon/Doctrine/Calendar/Gregorian/DateTimeType.php#L37
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ if ($value instanceof DateTime || $value instanceof \DateTimeInterface) { return $value->format($platform->getDateTimeFormatString()); } - throw ConversionException::conversionFailedInvalidType($value, $this->getName(), ['null', 'DateTime', '\DateTimeInterface']); + throw ConversionException::conversionFailedInvalidType($value, $this->getName(), ['DateTime', '\DateTimeInterface']); } /** * {@inheritdoc}
Mutation Tests (locked, 8.2, ubuntu-latest): src/business-hours/src/Aeon/Calendar/BusinessHours/WorkingHours/ShiftsWorkingHours.php#L32
Escaped Mutant for Mutator "IncrementInteger": @@ @@ throw new InvalidArgumentException('Shifts can\'t be empty'); } \uasort($workingHours, function (LinearWorkingHours $workingHoursA, LinearWorkingHours $workingHoursB): int { - return $workingHoursA->openFrom()->isBeforeOrEqualTo($workingHoursB->openFrom()) ? -1 : 1; + return $workingHoursA->openFrom()->isBeforeOrEqualTo($workingHoursB->openFrom()) ? -1 : 2; }); $this->workingHours = \array_values($workingHours); }
Mutation Tests (locked, 8.2, ubuntu-latest): src/business-hours/src/Aeon/Calendar/BusinessHours/WorkingHours/ShiftsWorkingHours.php#L31
Escaped Mutant for Mutator "DecrementInteger": @@ @@ throw new InvalidArgumentException('Shifts can\'t be empty'); } \uasort($workingHours, function (LinearWorkingHours $workingHoursA, LinearWorkingHours $workingHoursB): int { - return $workingHoursA->openFrom()->isBeforeOrEqualTo($workingHoursB->openFrom()) ? -1 : 1; + return $workingHoursA->openFrom()->isBeforeOrEqualTo($workingHoursB->openFrom()) ? -2 : 1; }); $this->workingHours = \array_values($workingHours); }
Mutation Tests (locked, 8.2, ubuntu-latest): src/business-hours/src/Aeon/Calendar/BusinessHours/BusinessHours.php#L94
Escaped Mutant for Mutator "DecrementInteger": @@ @@ throw new InvalidArgumentException('Maximum days must be greater or equal 1'); } $prevDay = $day->previous(); - $daysChecked = 0; + $daysChecked = -1; while ($this->nonBusinessDays->is($prevDay) || !$this->regularBusinessDays->isOpenOn($prevDay) && !$this->customBusinessDays->isOpenOn($prevDay)) { $prevDay = $prevDay->previous(); $daysChecked += 1;
Mutation Tests (locked, 8.2, ubuntu-latest): src/business-hours/src/Aeon/Calendar/BusinessHours/BusinessHours.php#L69
Escaped Mutant for Mutator "DecrementInteger": @@ @@ throw new InvalidArgumentException('Maximum days must be greater or equal 1'); } $nextDay = $day->next(); - $daysChecked = 0; + $daysChecked = -1; while ($this->nonBusinessDays->is($nextDay) || !$this->regularBusinessDays->isOpenOn($nextDay) && !$this->customBusinessDays->isOpenOn($nextDay)) { $nextDay = $nextDay->next(); $daysChecked += 1;
Mutation Tests (locked, 8.2, ubuntu-latest): src/business-hours/src/Aeon/Calendar/BusinessHours/BusinessDays.php#L113
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ return $regularBusinessDay; } } - throw new BusinessDayException($day->format('Y-m-d') . ' is not a business day.'); + throw new BusinessDayException($day->format('Y-m-d')); } }
Mutation Tests (locked, 8.2, ubuntu-latest): src/business-hours/src/Aeon/Calendar/BusinessHours/BusinessDays.php#L113
Escaped Mutant for Mutator "Concat": @@ @@ return $regularBusinessDay; } } - throw new BusinessDayException($day->format('Y-m-d') . ' is not a business day.'); + throw new BusinessDayException(' is not a business day.' . $day->format('Y-m-d')); } }
Mutation Tests (locked, 8.2, ubuntu-latest): src/business-hours/src/Aeon/Calendar/BusinessHours/BusinessDays.php#L113
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ return $regularBusinessDay; } } - throw new BusinessDayException($day->format('Y-m-d') . ' is not a business day.'); + throw new BusinessDayException(' is not a business day.'); } }