@@ -18,7 +18,7 @@ |
||
18 | 18 | } |
19 | 19 | |
20 | 20 | #[\PHPUnit\Framework\Attributes\DataProvider('providerIsOdd')] |
21 | - public function testIsOdd(bool|string $expectedResult, mixed $value): void |
|
21 | + public function testIsOdd(bool | string $expectedResult, mixed $value): void |
|
22 | 22 | { |
23 | 23 | $result = Value::isOdd($value); |
24 | 24 | self::assertEquals($expectedResult, $result); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | } |
19 | 19 | |
20 | 20 | #[\PHPUnit\Framework\Attributes\DataProvider('providerIsEven')] |
21 | - public function testIsEven(bool|string $expectedResult, mixed $value): void |
|
21 | + public function testIsEven(bool | string $expectedResult, mixed $value): void |
|
22 | 22 | { |
23 | 23 | $result = Value::isEven($value); |
24 | 24 | self::assertEquals($expectedResult, $result); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class ColumnTest extends AllSetupTeardown |
10 | 10 | { |
11 | 11 | #[\PHPUnit\Framework\Attributes\DataProvider('providerCOLUMN')] |
12 | - public function testCOLUMN(mixed $expectedResult, null|array|string $cellReference = null): void |
|
12 | + public function testCOLUMN(mixed $expectedResult, null | array | string $cellReference = null): void |
|
13 | 13 | { |
14 | 14 | $result = LookupRef\RowColumnInformation::COLUMN($cellReference); |
15 | 15 | self::assertSame($expectedResult, $result); |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | class MatchTest extends AllSetupTeardown |
10 | 10 | { |
11 | 11 | #[\PHPUnit\Framework\Attributes\DataProvider('providerMATCH')] |
12 | - public function testMATCH(mixed $expectedResult, mixed $input, array $array, null|float|int|string $type = null): void |
|
12 | + public function testMATCH(mixed $expectedResult, mixed $input, array $array, null | float | int | string $type = null): void |
|
13 | 13 | { |
14 | 14 | if (is_array($expectedResult)) { |
15 | 15 | $expectedResult = $expectedResult[0]; |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | } |
39 | 39 | |
40 | 40 | #[\PHPUnit\Framework\Attributes\DataProvider('providerMATCH')] |
41 | - public function testMATCHLibre(mixed $expectedResult, mixed $input, array $array, null|float|int|string $type = null): void |
|
41 | + public function testMATCHLibre(mixed $expectedResult, mixed $input, array $array, null | float | int | string $type = null): void |
|
42 | 42 | { |
43 | 43 | $this->setOpenOffice(); |
44 | 44 | if (is_array($expectedResult)) { |
@@ -11,7 +11,7 @@ |
||
11 | 11 | class ColumnsTest extends TestCase |
12 | 12 | { |
13 | 13 | #[\PHPUnit\Framework\Attributes\DataProvider('providerCOLUMNS')] |
14 | - public function testCOLUMNS(mixed $expectedResult, null|array|string $arg): void |
|
14 | + public function testCOLUMNS(mixed $expectedResult, null | array | string $arg): void |
|
15 | 15 | { |
16 | 16 | $result = LookupRef\RowColumnInformation::COLUMNS($arg); |
17 | 17 | self::assertEquals($expectedResult, $result); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class RowTest extends AllSetupTeardown |
10 | 10 | { |
11 | 11 | #[\PHPUnit\Framework\Attributes\DataProvider('providerROW')] |
12 | - public function testROW(mixed $expectedResult, null|array|string $cellReference = null): void |
|
12 | + public function testROW(mixed $expectedResult, null | array | string $cellReference = null): void |
|
13 | 13 | { |
14 | 14 | $result = LookupRef\RowColumnInformation::ROW($cellReference); |
15 | 15 | self::assertSame($expectedResult, $result); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | class RowsTest extends TestCase |
12 | 12 | { |
13 | 13 | #[\PHPUnit\Framework\Attributes\DataProvider('providerROWS')] |
14 | - public function testROWS(mixed $expectedResult, null|array|string $arg): void |
|
14 | + public function testROWS(mixed $expectedResult, null | array | string $arg): void |
|
15 | 15 | { |
16 | 16 | $result = LookupRef\RowColumnInformation::ROWS($arg); |
17 | 17 | self::assertEquals($expectedResult, $result); |
@@ -30,7 +30,7 @@ |
||
30 | 30 | } |
31 | 31 | |
32 | 32 | #[\PHPUnit\Framework\Attributes\DataProvider('providerIssue2232')] |
33 | - public function testBooleanConversions(bool $useStringBinder, ?bool $preserveBoolString, bool|string $b2Value, bool|string $b3Value): void |
|
33 | + public function testBooleanConversions(bool $useStringBinder, ?bool $preserveBoolString, bool | string $b2Value, bool | string $b3Value): void |
|
34 | 34 | { |
35 | 35 | if ($useStringBinder) { |
36 | 36 | $binder = new StringValueBinder(); |
@@ -21,7 +21,7 @@ |
||
21 | 21 | } |
22 | 22 | |
23 | 23 | #[\PHPUnit\Framework\Attributes\DataProvider('providerNumberFormatNoConversionTest')] |
24 | - public function testNumberFormatNoConversion(int|string $expectedValue, string $expectedFormat, string $cellAddress): void |
|
24 | + public function testNumberFormatNoConversion(int | string $expectedValue, string $expectedFormat, string $cellAddress): void |
|
25 | 25 | { |
26 | 26 | $spreadsheet = $this->csvReader->load($this->filename); |
27 | 27 | $worksheet = $spreadsheet->getActiveSheet(); |