Skip to content

Commit 6fb8ec8

Browse files
Nielsvanpachgithub-actions[bot]
authored andcommitted
Fix styling
1 parent cfcc0b9 commit 6fb8ec8

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

src/Countries/Greece.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ protected function variableHolidays(int $year): array
4848
}
4949

5050
return [
51-
'Καθαρά Δευτέρα' => $orthodoxEaster->copy()->subDays(48), //always Monday
51+
'Καθαρά Δευτέρα' => $orthodoxEaster->copy()->subDays(48), // always Monday
5252
'Πρωτομαγιά' => $protomagia,
5353
'Μεγάλη Παρασκευή' => $megaliParaskevi,
5454
'Κυριακή του Πάσχα' => $orthodoxEaster,
5555
'Δευτέρα του Πάσχα' => $deuteraPasha,
56-
'Αγίου Πνεύματος' => $orthodoxEaster->copy()->addDays(50), //always Monday
56+
'Αγίου Πνεύματος' => $orthodoxEaster->copy()->addDays(50), // always Monday
5757
];
5858
}
5959
}

src/Countries/NewZealand.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ protected function allHolidays(int $year): array
2626
/** @return array<string, string|CarbonInterface> */
2727
protected function observedHolidays(int $year): array
2828
{
29-
//https://www.employment.govt.nz/leave-and-holidays/public-holidays/public-holidays-and-anniversary-dates/
29+
// https://www.employment.govt.nz/leave-and-holidays/public-holidays/public-holidays-and-anniversary-dates/
3030
$holidays = [
3131
"New Year's Day" => '01-01',
3232
"Day after New Year's Day" => '01-02',
@@ -36,7 +36,7 @@ protected function observedHolidays(int $year): array
3636
'Boxing Day' => '12-26',
3737
];
3838

39-
//https://www.employment.govt.nz/leave-and-holidays/public-holidays/public-holidays-falling-on-a-weekend/
39+
// https://www.employment.govt.nz/leave-and-holidays/public-holidays/public-holidays-falling-on-a-weekend/
4040
foreach ($holidays as $name => $date) {
4141
$observedDay = match ($name) {
4242
"Day after New Year's Day" => $this->secondOfJanuary($year),
@@ -57,16 +57,16 @@ protected function observedHolidays(int $year): array
5757
/** @return array<string, CarbonInterface> */
5858
protected function variableHolidays(int $year): array
5959
{
60-
//Easter
60+
// Easter
6161
$easterSunday = $this->easter($year);
6262
$goodFriday = $easterSunday->subDays(2);
6363
$easterMonday = $easterSunday->addDay();
6464

65-
//Sovereign Birthday
65+
// Sovereign Birthday
6666
$sovereignTitle = $this->sovereignBirthdayKey($year);
6767
$sovereignMonday = CarbonImmutable::parse("first monday of june {$year}");
6868

69-
//Labour Day
69+
// Labour Day
7070
$labourMonday = CarbonImmutable::parse("fourth monday of october {$year}");
7171

7272
$holidays = [
@@ -104,7 +104,7 @@ protected function sovereignBirthdayKey(int $year): string
104104

105105
private function calculateMatariki(int $year): ?CarbonImmutable
106106
{
107-
//https://www.tepapa.govt.nz/discover-collections/read-watch-play/matariki-maori-new-year/dates-for-matariki-public-holiday
107+
// https://www.tepapa.govt.nz/discover-collections/read-watch-play/matariki-maori-new-year/dates-for-matariki-public-holiday
108108
$matarikiDates = [
109109
2022 => '2022-06-24',
110110
2023 => '2023-07-14',

src/Countries/Syria.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class Syria extends Country implements HasTranslations, Islamic
1212
{
13-
//use IslamicCalendar;
13+
// use IslamicCalendar;
1414
use Translatable;
1515

1616
public function countryCode(): string

src/Countries/Uzbekistan.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public function defaultLocale(): string
135135
/** @return array<string, CarbonImmutable|string> */
136136
protected function allHolidays(int $year): array
137137
{
138-
//After gaining independence on September 1, 1991, Uzbekistan introduced a new set of public holidays.
138+
// After gaining independence on September 1, 1991, Uzbekistan introduced a new set of public holidays.
139139
if ($year < 1991) {
140140
return [];
141141
}

tests/Countries/NewZealandTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
expect($holidayName)->toBe($name)->and($isHoliday)->toBeTrue();
1414

1515
})->with([
16-
//2023
16+
// 2023
1717
['New Year\'s Day (Mondayisation)', '2023-01-02'],
1818
['Day after New Year\'s Day (Mondayisation)', '2023-01-03'],
1919
['Waitangi Day', '2023-02-06'],
@@ -25,7 +25,7 @@
2525
['Labour Day', '2023-10-23'],
2626
['Christmas Day', '2023-12-25'],
2727
['Boxing Day', '2023-12-26'],
28-
//2024
28+
// 2024
2929
['New Year\'s Day', '2024-01-01'],
3030
['Day after New Year\'s Day', '2024-01-02'],
3131
['Waitangi Day', '2024-02-06'],
@@ -37,7 +37,7 @@
3737
['Labour Day', '2024-10-28'],
3838
['Christmas Day', '2024-12-25'],
3939
['Boxing Day', '2024-12-26'],
40-
//2025
40+
// 2025
4141
['New Year\'s Day', '2025-01-01'],
4242
['Day after New Year\'s Day', '2025-01-02'],
4343
['Waitangi Day', '2025-02-06'],
@@ -49,7 +49,7 @@
4949
['Labour Day', '2025-10-27'],
5050
['Christmas Day', '2025-12-25'],
5151
['Boxing Day', '2025-12-26'],
52-
//2027 - Lots of Mondayisation
52+
// 2027 - Lots of Mondayisation
5353
['New Year\'s Day', '2027-01-01'],
5454
['Day after New Year\'s Day (Mondayisation)', '2027-01-04'],
5555
['Waitangi Day (Mondayisation)', '2027-02-08'],

0 commit comments

Comments
 (0)