@@ -9,7 +9,7 @@ |
||
9 | 9 | class OddTest extends AllSetupTeardown |
10 | 10 | { |
11 | 11 | #[\PHPUnit\Framework\Attributes\DataProvider('providerODD')] |
12 | - public function testODD(int|string $expectedResult, float|int|string $value): void |
|
12 | + public function testODD(int | string $expectedResult, float | int | string $value): void |
|
13 | 13 | { |
14 | 14 | $this->mightHaveException($expectedResult); |
15 | 15 | $sheet = $this->getSheet(); |
@@ -17,7 +17,7 @@ |
||
17 | 17 | } |
18 | 18 | |
19 | 19 | #[\PHPUnit\Framework\Attributes\DataProvider('providerErrorType')] |
20 | - public function testErrorType(int|string $expectedResult, mixed $value): void |
|
20 | + public function testErrorType(int | string $expectedResult, mixed $value): void |
|
21 | 21 | { |
22 | 22 | $result = ExcelError::type($value); |
23 | 23 | self::assertSame($expectedResult, $result); |
@@ -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); |
@@ -131,7 +131,7 @@ |
||
131 | 131 | } |
132 | 132 | |
133 | 133 | #[\PHPUnit\Framework\Attributes\DataProvider('providerRelative')] |
134 | - public function testR1C1Relative(string|int|null $expectedResult, string $address): void |
|
134 | + public function testR1C1Relative(string | int | null $expectedResult, string $address): void |
|
135 | 135 | { |
136 | 136 | $sheet = $this->getSheet(); |
137 | 137 | $sheet->fromArray([ |
@@ -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); |
@@ -7,7 +7,7 @@ |
||
7 | 7 | class IndexOnSpreadsheetTest extends AllSetupTeardown |
8 | 8 | { |
9 | 9 | #[\PHPUnit\Framework\Attributes\DataProvider('providerINDEXonSpreadsheet')] |
10 | - public function testIndexOnSpreadsheet(mixed $expectedResult, array $matrix, null|int|string $rowNum = null, null|int|string $colNum = null): void |
|
10 | + public function testIndexOnSpreadsheet(mixed $expectedResult, array $matrix, null | int | string $rowNum = null, null | int | string $colNum = null): void |
|
11 | 11 | { |
12 | 12 | $this->mightHaveException($expectedResult); |
13 | 13 | $sheet = $this->getSheet(); |
@@ -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); |