Integrate mll-lab/holidays
#8
Annotations
10 warnings
Run vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=60 --min-msi=60:
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;
|
Run vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=60 --min-msi=60:
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;
|
Run vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=60 --min-msi=60:
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;
|
Run vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=60 --min-msi=60:
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;
|
Run vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=60 --min-msi=60:
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
|
Run vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=60 --min-msi=60:
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
|
Run vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=60 --min-msi=60:
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) {
|
Run vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=60 --min-msi=60:
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) {
|
Run vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=60 --min-msi=60:
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;
|
Run vendor/bin/infection --ignore-msi-with-no-mutations --min-covered-msi=60 --min-msi=60:
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;
|
The logs for this run have expired and are no longer available.
Loading