@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDateTimeExcelToTimestamp1900')] |
55 | - public function testDateTimeExcelToTimestamp1900(float|int $expectedResult, float|int $excelDateTimeValue): void |
|
55 | + public function testDateTimeExcelToTimestamp1900(float | int $expectedResult, float | int $excelDateTimeValue): void |
|
56 | 56 | { |
57 | 57 | if ($expectedResult > PHP_INT_MAX || $expectedResult < PHP_INT_MIN) { |
58 | 58 | self::markTestSkipped('Test invalid on 32-bit system.'); |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | } |
70 | 70 | |
71 | 71 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDateTimeTimestampToExcel1900')] |
72 | - public function testDateTimeTimestampToExcel1900(float|int $expectedResult, float|int|string $unixTimestamp): void |
|
72 | + public function testDateTimeTimestampToExcel1900(float | int $expectedResult, float | int | string $unixTimestamp): void |
|
73 | 73 | { |
74 | 74 | Date::setExcelCalendar(Date::CALENDAR_WINDOWS_1900); |
75 | 75 | |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | } |
84 | 84 | |
85 | 85 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDateTimeDateTimeToExcel')] |
86 | - public function testDateTimeDateTimeToExcel(float|int $expectedResult, DateTimeInterface $dateTimeObject): void |
|
86 | + public function testDateTimeDateTimeToExcel(float | int $expectedResult, DateTimeInterface $dateTimeObject): void |
|
87 | 87 | { |
88 | 88 | Date::setExcelCalendar(Date::CALENDAR_WINDOWS_1900); |
89 | 89 | |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | } |
115 | 115 | |
116 | 116 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDateTimeExcelToTimestamp1904')] |
117 | - public function testDateTimeExcelToTimestamp1904(float|int $expectedResult, float|int $excelDateTimeValue): void |
|
117 | + public function testDateTimeExcelToTimestamp1904(float | int $expectedResult, float | int $excelDateTimeValue): void |
|
118 | 118 | { |
119 | 119 | if ($expectedResult > PHP_INT_MAX || $expectedResult < PHP_INT_MIN) { |
120 | 120 | self::markTestSkipped('Test invalid on 32-bit system.'); |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | } |
132 | 132 | |
133 | 133 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDateTimeTimestampToExcel1904')] |
134 | - public function testDateTimeTimestampToExcel1904(mixed $expectedResult, float|int|string $unixTimestamp): void |
|
134 | + public function testDateTimeTimestampToExcel1904(mixed $expectedResult, float | int | string $unixTimestamp): void |
|
135 | 135 | { |
136 | 136 | Date::setExcelCalendar(Date::CALENDAR_MAC_1904); |
137 | 137 | |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | } |
158 | 158 | |
159 | 159 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDateTimeExcelToTimestamp1900Timezone')] |
160 | - public function testDateTimeExcelToTimestamp1900Timezone(float|int $expectedResult, float|int $excelDateTimeValue, string $timezone): void |
|
160 | + public function testDateTimeExcelToTimestamp1900Timezone(float | int $expectedResult, float | int $excelDateTimeValue, string $timezone): void |
|
161 | 161 | { |
162 | 162 | if ($expectedResult > PHP_INT_MAX || $expectedResult < PHP_INT_MIN) { |
163 | 163 | self::markTestSkipped('Test invalid on 32-bit system.'); |