Bump infection/infection from 0.29.13 to 0.30.1 in /tools #1320
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
test-suite.yml
on: pull_request
Matrix: Monorepo Test
Matrix: Mutation Tests
Matrix: Static Analyze
Matrix: Tests
Annotations
22 warnings
|
Monorepo Test (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 (lowest, 8.4, 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.4, 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.4, 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 (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.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 (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.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.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/
|
|
Static Analyze (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/
|
|
Mutation Tests (locked, 8.2, ubuntu-latest):
src/calendar-holidays-yasumi/src/Aeon/Calendar/Holidays/Providers.php#L125
Escaped Mutant for Mutator "PublicVisibility":
@@ @@
/**
* @return array<string>
*/
- public static function all(): array
+ protected static function all(): array
{
return ['AU' => self::AU, 'AT' => self::AT, 'BE' => self::BE, 'BA' => self::BA, 'BR' => self::BR, 'CA' => self::CA, 'HR' => self::HR, 'CZ' => self::CZ, 'DK' => self::DK, 'EE' => self::EE, 'FI' => self::FI, 'FR' => self::FR, 'DE' => self::DE, 'GR' => self::GR, 'HU' => self::HU, 'IE' => self::IE, 'IT' => self::IT, 'JP' => self::JP, 'LV' => self::LV, 'LT' => self::LT, 'LU' => self::LU, 'NL' => self::NL, 'NZ' => self::NZ, 'NO' => self::NO, 'PL' => self::PL, 'PT' => self::PT, 'RO' => self::RO, 'RU' => self::RU, 'SK' => self::SK, 'ZA' => self::ZA, 'KR' => self::KR, 'ES' => self::ES, 'SE' => self::SE, 'CH' => self::CH, 'UA' => self::UA, 'GB' => self::GB, 'US' => self::US];
}
|
|
Mutation Tests (locked, 8.2, ubuntu-latest):
src/calendar-doctrine/src/Aeon/Doctrine/Calendar/Gregorian/DayType.php#L37
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
if ($value instanceof Day || $value instanceof \DateTimeInterface) {
return $value->format($platform->getDateFormatString());
}
- throw ConversionException::conversionFailedInvalidType($value, $this->getName(), ['null', 'Day', '\DateTimeInterface']);
+ throw ConversionException::conversionFailedInvalidType($value, $this->getName(), ['Day', '\DateTimeInterface']);
}
/**
* {@inheritdoc}
|
|
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#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#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#L98
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#L98
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.');
}
}
|
|
Mutation Tests (locked, 8.2, ubuntu-latest):
src/business-hours/src/Aeon/Calendar/BusinessHours/BusinessDays.php#L98
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)
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/
|