@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * @dataProvider providerROWS |
13 | 13 | */ |
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); |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | /** |
14 | 14 | * @dataProvider providerHYPERLINK |
15 | 15 | */ |
16 | - public function testHYPERLINK(array|string $expectedResult, ?string $linkUrl, ?string $description): void |
|
16 | + public function testHYPERLINK(array | string $expectedResult, ?string $linkUrl, ?string $description): void |
|
17 | 17 | { |
18 | 18 | $this->mightHaveException($expectedResult); |
19 | 19 | $sheet = $this->getSheet(); |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | /** |
42 | 42 | * @dataProvider providerHYPERLINK |
43 | 43 | */ |
44 | - public function testHYPERLINKcellRef(array|string $expectedResult, ?string $linkUrl, ?string $description): void |
|
44 | + public function testHYPERLINKcellRef(array | string $expectedResult, ?string $linkUrl, ?string $description): void |
|
45 | 45 | { |
46 | 46 | $this->mightHaveException($expectedResult); |
47 | 47 | $sheet = $this->getSheet(); |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * @dataProvider providerDATEDIF |
21 | 21 | */ |
22 | - public function testDirectCallToDATEDIF(array|int|string $expectedResult, string ...$args): void |
|
22 | + public function testDirectCallToDATEDIF(array | int | string $expectedResult, string ...$args): void |
|
23 | 23 | { |
24 | 24 | $result = Difference::interval(...$args); |
25 | 25 | self::assertSame($expectedResult, $result); |
@@ -37,7 +37,7 @@ |
||
37 | 37 | /** |
38 | 38 | * @dataProvider providerGetFunctions |
39 | 39 | */ |
40 | - public function testGetFunctions(/** @scrutinizer ignore-unused */ string $category, array|string $functionCall): void |
|
40 | + public function testGetFunctions(/** @scrutinizer ignore-unused */ string $category, array | string $functionCall): void |
|
41 | 41 | { |
42 | 42 | self::assertIsCallable($functionCall); |
43 | 43 | } |
@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * @dataProvider providerRangeEvaluation |
29 | 29 | */ |
30 | - public function testRangeEvaluation(string $formula, int|string $expectedResult): void |
|
30 | + public function testRangeEvaluation(string $formula, int | string $expectedResult): void |
|
31 | 31 | { |
32 | 32 | $workSheet = $this->spreadSheet->getActiveSheet(); |
33 | 33 | $workSheet->setCellValue('H1', $formula); |
@@ -10,7 +10,7 @@ |
||
10 | 10 | /** |
11 | 11 | * @dataProvider errorCodeMapProvider |
12 | 12 | */ |
13 | - public function testErrorCode(bool|string $expected, int $index): void |
|
13 | + public function testErrorCode(bool | string $expected, int $index): void |
|
14 | 14 | { |
15 | 15 | self::assertSame($expected, ErrorCode::lookup($index)); |
16 | 16 | } |
@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * @dataProvider providerNumberFormatNoConversionTest |
29 | 29 | */ |
30 | - public function testNumberFormatNoConversion(int|string $expectedValue, string $expectedFormat, string $cellAddress): void |
|
30 | + public function testNumberFormatNoConversion(int | string $expectedValue, string $expectedFormat, string $cellAddress): void |
|
31 | 31 | { |
32 | 32 | $spreadsheet = $this->csvReader->load($this->filename); |
33 | 33 | $worksheet = $spreadsheet->getActiveSheet(); |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * @dataProvider providerIssue2232 |
32 | 32 | */ |
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(); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * @dataProvider providerDelimiterDetection |
13 | 13 | */ |
14 | - public function testDelimiterDetection(string $filename, string $expectedDelimiter, string $cell, string|float|int|null $expectedValue): void |
|
14 | + public function testDelimiterDetection(string $filename, string $expectedDelimiter, string $cell, string | float | int | null $expectedValue): void |
|
15 | 15 | { |
16 | 16 | $reader = new Csv(); |
17 | 17 | $delim1 = $reader->getDelimiter(); |