From 3fc78c25fb1222f2a3ed2a63924f939f67212f0f Mon Sep 17 00:00:00 2001 From: Sacha Telgenhof Date: Wed, 13 Jan 2021 22:00:15 +0900 Subject: [PATCH] Reformatting. --- src/Yasumi/BaseHoliday.php | 2 +- src/Yasumi/Provider/Ireland.php | 2 +- tests/Base/YasumiTest.php | 4 ++-- tests/Romania/NationalDayTest.php | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Yasumi/BaseHoliday.php b/src/Yasumi/BaseHoliday.php index 3c80c6381..f73bff14b 100644 --- a/src/Yasumi/BaseHoliday.php +++ b/src/Yasumi/BaseHoliday.php @@ -18,7 +18,7 @@ public function __construct($time = 'now', $timezone = null) * * @return string this instance as a string using the set format */ - public function __toString(): string + public function __toString(): string { return $this->format(self::DATE_FORMAT); } diff --git a/src/Yasumi/Provider/Ireland.php b/src/Yasumi/Provider/Ireland.php index 6cfbf57d4..edc222913 100644 --- a/src/Yasumi/Provider/Ireland.php +++ b/src/Yasumi/Provider/Ireland.php @@ -26,7 +26,7 @@ * Note: All calculations are based on the schedule published in the Holidays (Employees) Act, 1973 and its amendments * thereafter. * - * @link: http://www.irishstatutebook.ie/eli/1973/act/25/schedule/1/enacted/en/html#sched1 + * @see: http://www.irishstatutebook.ie/eli/1973/act/25/schedule/1/enacted/en/html#sched1 */ class Ireland extends AbstractProvider { diff --git a/tests/Base/YasumiTest.php b/tests/Base/YasumiTest.php index aef196de3..e6112da8b 100644 --- a/tests/Base/YasumiTest.php +++ b/tests/Base/YasumiTest.php @@ -564,7 +564,7 @@ public function testRemoveHoliday(): void * * @throws ReflectionException */ - public function testCreateByISO3166_2(): void + public function testCreateByISO31662(): void { $year = Factory::create()->numberBetween( self::YEAR_LOWER_BOUND, @@ -585,7 +585,7 @@ public function testCreateByISO3166_2(): void * * @throws ReflectionException */ - public function testCreateByISO3166_2WithInvalidCode(): void + public function testCreateByISO31662WithInvalidCode(): void { $this->expectException(ProviderNotFound::class); diff --git a/tests/Romania/NationalDayTest.php b/tests/Romania/NationalDayTest.php index fb31832d8..19c4a8eb6 100644 --- a/tests/Romania/NationalDayTest.php +++ b/tests/Romania/NationalDayTest.php @@ -59,7 +59,7 @@ public function testNationalDayOnAfter1990(): void * @throws Exception * @throws ReflectionException */ - public function testNationalDayBetween1948_1989(): void + public function testNationalDayBetween19481989(): void { $year = $this->generateRandomYear(1948, 1989); $this->assertHoliday( @@ -76,7 +76,7 @@ public function testNationalDayBetween1948_1989(): void * @throws Exception * @throws ReflectionException */ - public function testNationalDayBetween1866_1947(): void + public function testNationalDayBetween18661947(): void { $year = $this->generateRandomYear(self::ESTABLISHMENT_YEAR, 1947); $this->assertHoliday(