Skip to content

Test Suite

Test Suite #959

Triggered via schedule November 27, 2024 08:20
Status Success
Total duration 7m 27s
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

3 errors and 34 warnings
Tests (lowest, 8.2, ubuntu-latest)
Process completed with exit code 2.
Tests (lowest, 8.3, ubuntu-latest)
Process completed with exit code 2.
Tests (lowest, 8.1, ubuntu-latest)
Process completed with exit code 2.
Monorepo Test (locked, 8.1, ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Tests (lowest, 8.2, ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Static Analyze (locked, 8.1, ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Mutation Tests (locked, 8.1, ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Tests (highest, 8.1, ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Tests (highest, 8.2, ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Tests (locked, 8.2, ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Tests (highest, 8.3, ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Tests (locked, 8.3, ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Tests (locked, 8.1, ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Tests (lowest, 8.1, ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Tests (lowest, 8.3, ubuntu-latest)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Monorepo Test (locked, 8.1, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (lowest, 8.2, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (locked, 8.2, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (locked, 8.1, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (lowest, 8.3, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (locked, 8.3, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (highest, 8.2, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (lowest, 8.1, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (highest, 8.3, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests (highest, 8.1, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Static Analyze (locked, 8.1, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Mutation Tests (locked, 8.1, ubuntu-latest): src/business-hours/src/Aeon/Calendar/BusinessHours/BusinessDays.php#L98
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ 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.1, ubuntu-latest): src/business-hours/src/Aeon/Calendar/BusinessHours/BusinessDays.php#L98
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ return $regularBusinessDay; } } - throw new BusinessDayException($day->format('Y-m-d') . ' is not a business day.'); + throw new BusinessDayException(' is not a business day.'); } }
Mutation Tests (locked, 8.1, ubuntu-latest): src/business-hours/src/Aeon/Calendar/BusinessHours/BusinessDays.php#L98
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ 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.1, ubuntu-latest): src/business-hours/src/Aeon/Calendar/BusinessHours/BusinessHours.php#L69
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ 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.1, ubuntu-latest): src/business-hours/src/Aeon/Calendar/BusinessHours/WorkingHours/ShiftsWorkingHours.php#L31
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ 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.1, ubuntu-latest): src/business-hours/src/Aeon/Calendar/BusinessHours/WorkingHours/ShiftsWorkingHours.php#L32
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ 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.1, ubuntu-latest): src/calendar-doctrine/src/Aeon/Doctrine/Calendar/Gregorian/DateTimeType.php#L37
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ 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.1, ubuntu-latest): src/calendar-doctrine/src/Aeon/Doctrine/Calendar/Gregorian/DateTimeType.php#L45
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ */ 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.1, ubuntu-latest): src/calendar-doctrine/src/Aeon/Doctrine/Calendar/Gregorian/DateTimeTzType.php#L37
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ 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.1, ubuntu-latest): src/calendar-doctrine/src/Aeon/Doctrine/Calendar/Gregorian/DateTimeTzType.php#L45
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ */ 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.1, ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/