Integrate mll-lab/holidays
#6
validate.yml
on: pull_request
composer-validate
9s
static-code-analysis
18s
code-coverage
15s
mutation-tests
1m 0s
Matrix: tests
Annotations
13 errors and 11 warnings
Tests - PHP 8.2, Illuminate ^9, lowest
Process completed with exit code 2.
|
Tests - PHP 8.3, Illuminate ^9, lowest
The job was canceled because "_8_2_lowest__9" failed.
|
Tests - PHP 8.3, Illuminate ^9, lowest
The operation was canceled.
|
Tests - PHP 8.3, Illuminate ^10, highest
The job was canceled because "_8_2_lowest__9" failed.
|
Tests - PHP 8.3, Illuminate ^10, highest
The operation was canceled.
|
Tests - PHP 8.2, Illuminate ^8.73, lowest
The job was canceled because "_8_2_lowest__9" failed.
|
Tests - PHP 8.2, Illuminate ^8.73, lowest
The operation was canceled.
|
Tests - PHP 8.3, Illuminate ^8.73, highest
The job was canceled because "_8_2_lowest__9" failed.
|
Tests - PHP 8.3, Illuminate ^8.73, highest
The operation was canceled.
|
Tests - PHP 8.3, Illuminate ^9, highest
The job was canceled because "_8_2_lowest__9" failed.
|
Tests - PHP 8.3, Illuminate ^9, highest
The operation was canceled.
|
Tests - PHP 8.3, Illuminate ^8.73, lowest
The job was canceled because "_8_2_lowest__9" failed.
|
Tests - PHP 8.3, Illuminate ^8.73, lowest
The operation was canceled.
|
code-coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
mutation-tests:
src/BavarianHolidays.php#L100
Escaped Mutant for Mutator "ProtectedVisibility":
--- Original
+++ New
@@ @@
*
* @return array<string, string>
*/
- protected static function buildHolidayMap(Carbon $date) : array
+ private static function buildHolidayMap(Carbon $date) : array
{
$holidays = self::HOLIDAYS_STATIC;
$year = $date->year;
|
mutation-tests:
src/BavarianHolidays.php#L112
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
$easter = Carbon::createMidnightDate($year, 3, 21)->addDays(easter_days($year));
$holidays[self::dateFromEaster($easter, -2)] = self::KARFREITAG;
$holidays[self::dateFromEaster($easter, 0)] = self::OSTERSONNTAG;
- $holidays[self::dateFromEaster($easter, 1)] = self::OSTERMONTAG;
+ $holidays[self::dateFromEaster($easter, 2)] = self::OSTERMONTAG;
$holidays[self::dateFromEaster($easter, 39)] = self::CHRISTI_HIMMELFAHRT;
$holidays[self::dateFromEaster($easter, 49)] = self::PFINGSTSONNTAG;
$holidays[self::dateFromEaster($easter, 50)] = self::PFINGSTMONTAG;
|
mutation-tests:
src/BavarianHolidays.php#L113
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
$holidays[self::dateFromEaster($easter, -2)] = self::KARFREITAG;
$holidays[self::dateFromEaster($easter, 0)] = self::OSTERSONNTAG;
$holidays[self::dateFromEaster($easter, 1)] = self::OSTERMONTAG;
- $holidays[self::dateFromEaster($easter, 39)] = self::CHRISTI_HIMMELFAHRT;
+ $holidays[self::dateFromEaster($easter, 38)] = self::CHRISTI_HIMMELFAHRT;
$holidays[self::dateFromEaster($easter, 49)] = self::PFINGSTSONNTAG;
$holidays[self::dateFromEaster($easter, 50)] = self::PFINGSTMONTAG;
$holidays[self::dateFromEaster($easter, 60)] = self::FRONLEICHNAM;
|
mutation-tests:
src/BavarianHolidays.php#L113
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
$holidays[self::dateFromEaster($easter, -2)] = self::KARFREITAG;
$holidays[self::dateFromEaster($easter, 0)] = self::OSTERSONNTAG;
$holidays[self::dateFromEaster($easter, 1)] = self::OSTERMONTAG;
- $holidays[self::dateFromEaster($easter, 39)] = self::CHRISTI_HIMMELFAHRT;
+ $holidays[self::dateFromEaster($easter, 40)] = self::CHRISTI_HIMMELFAHRT;
$holidays[self::dateFromEaster($easter, 49)] = self::PFINGSTSONNTAG;
$holidays[self::dateFromEaster($easter, 50)] = self::PFINGSTMONTAG;
$holidays[self::dateFromEaster($easter, 60)] = self::FRONLEICHNAM;
|
mutation-tests:
src/BavarianHolidays.php#L114
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
$holidays[self::dateFromEaster($easter, 0)] = self::OSTERSONNTAG;
$holidays[self::dateFromEaster($easter, 1)] = self::OSTERMONTAG;
$holidays[self::dateFromEaster($easter, 39)] = self::CHRISTI_HIMMELFAHRT;
- $holidays[self::dateFromEaster($easter, 49)] = self::PFINGSTSONNTAG;
+ $holidays[self::dateFromEaster($easter, 48)] = self::PFINGSTSONNTAG;
$holidays[self::dateFromEaster($easter, 50)] = self::PFINGSTMONTAG;
$holidays[self::dateFromEaster($easter, 60)] = self::FRONLEICHNAM;
// exceptional holidays
|
mutation-tests:
src/BavarianHolidays.php#L114
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
$holidays[self::dateFromEaster($easter, 0)] = self::OSTERSONNTAG;
$holidays[self::dateFromEaster($easter, 1)] = self::OSTERMONTAG;
$holidays[self::dateFromEaster($easter, 39)] = self::CHRISTI_HIMMELFAHRT;
- $holidays[self::dateFromEaster($easter, 49)] = self::PFINGSTSONNTAG;
+ $holidays[self::dateFromEaster($easter, 50)] = self::PFINGSTSONNTAG;
$holidays[self::dateFromEaster($easter, 50)] = self::PFINGSTMONTAG;
$holidays[self::dateFromEaster($easter, 60)] = self::FRONLEICHNAM;
// exceptional holidays
|
mutation-tests:
src/BavarianHolidays.php#L115
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
$holidays[self::dateFromEaster($easter, 1)] = self::OSTERMONTAG;
$holidays[self::dateFromEaster($easter, 39)] = self::CHRISTI_HIMMELFAHRT;
$holidays[self::dateFromEaster($easter, 49)] = self::PFINGSTSONNTAG;
- $holidays[self::dateFromEaster($easter, 50)] = self::PFINGSTMONTAG;
+ $holidays[self::dateFromEaster($easter, 49)] = self::PFINGSTMONTAG;
$holidays[self::dateFromEaster($easter, 60)] = self::FRONLEICHNAM;
// exceptional holidays
if ($year === 2017) {
|
mutation-tests:
src/BavarianHolidays.php#L115
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
$holidays[self::dateFromEaster($easter, 1)] = self::OSTERMONTAG;
$holidays[self::dateFromEaster($easter, 39)] = self::CHRISTI_HIMMELFAHRT;
$holidays[self::dateFromEaster($easter, 49)] = self::PFINGSTSONNTAG;
- $holidays[self::dateFromEaster($easter, 50)] = self::PFINGSTMONTAG;
+ $holidays[self::dateFromEaster($easter, 51)] = self::PFINGSTMONTAG;
$holidays[self::dateFromEaster($easter, 60)] = self::FRONLEICHNAM;
// exceptional holidays
if ($year === 2017) {
|
mutation-tests:
src/BavarianHolidays.php#L116
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
$holidays[self::dateFromEaster($easter, 39)] = self::CHRISTI_HIMMELFAHRT;
$holidays[self::dateFromEaster($easter, 49)] = self::PFINGSTSONNTAG;
$holidays[self::dateFromEaster($easter, 50)] = self::PFINGSTMONTAG;
- $holidays[self::dateFromEaster($easter, 60)] = self::FRONLEICHNAM;
+ $holidays[self::dateFromEaster($easter, 59)] = self::FRONLEICHNAM;
// exceptional holidays
if ($year === 2017) {
$holidays['31.10'] = self::REFORMATIONSTAG_500_JAHRE_REFORMATION;
|
mutation-tests:
src/BavarianHolidays.php#L116
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
$holidays[self::dateFromEaster($easter, 39)] = self::CHRISTI_HIMMELFAHRT;
$holidays[self::dateFromEaster($easter, 49)] = self::PFINGSTSONNTAG;
$holidays[self::dateFromEaster($easter, 50)] = self::PFINGSTMONTAG;
- $holidays[self::dateFromEaster($easter, 60)] = self::FRONLEICHNAM;
+ $holidays[self::dateFromEaster($easter, 61)] = self::FRONLEICHNAM;
// exceptional holidays
if ($year === 2017) {
$holidays['31.10'] = self::REFORMATIONSTAG_500_JAHRE_REFORMATION;
|