@@ -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); |
@@ -10,14 +10,14 @@ |
||
10 | 10 | class DVarPTest extends SetupTeardownDatabases |
11 | 11 | { |
12 | 12 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDVarP')] |
13 | - public function testDirectCallToDVarP(float|string $expectedResult, array $database, ?string $field, array $criteria): void |
|
13 | + public function testDirectCallToDVarP(float | string $expectedResult, array $database, ?string $field, array $criteria): void |
|
14 | 14 | { |
15 | 15 | $result = DVarP::evaluate($database, $field, $criteria); |
16 | 16 | self::assertEqualsWithDelta($expectedResult, $result, 1.0e-12); |
17 | 17 | } |
18 | 18 | |
19 | 19 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDVarP')] |
20 | - public function testDVarPAsWorksheetFormula(float|string $expectedResult, array $database, ?string $field, array $criteria): void |
|
20 | + public function testDVarPAsWorksheetFormula(float | string $expectedResult, array $database, ?string $field, array $criteria): void |
|
21 | 21 | { |
22 | 22 | $this->prepareWorksheetWithFormula('DVARP', $database, $field, $criteria); |
23 | 23 |
@@ -11,14 +11,14 @@ |
||
11 | 11 | class DProductTest extends SetupTeardownDatabases |
12 | 12 | { |
13 | 13 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDProduct')] |
14 | - public function testDirectCallToDProduct(float|string $expectedResult, array $database, ?string $field, array $criteria): void |
|
14 | + public function testDirectCallToDProduct(float | string $expectedResult, array $database, ?string $field, array $criteria): void |
|
15 | 15 | { |
16 | 16 | $result = DProduct::evaluate($database, $field, $criteria); |
17 | 17 | self::assertEqualsWithDelta($expectedResult, $result, 1.0e-12); |
18 | 18 | } |
19 | 19 | |
20 | 20 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDProduct')] |
21 | - public function testDProductAsWorksheetFormula(float|string $expectedResult, array $database, ?string $field, array $criteria): void |
|
21 | + public function testDProductAsWorksheetFormula(float | string $expectedResult, array $database, ?string $field, array $criteria): void |
|
22 | 22 | { |
23 | 23 | $this->prepareWorksheetWithFormula('DPRODUCT', $database, $field, $criteria); |
24 | 24 |
@@ -10,14 +10,14 @@ |
||
10 | 10 | class DMaxTest extends SetupTeardownDatabases |
11 | 11 | { |
12 | 12 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDMax')] |
13 | - public function testDirectCallToDMax(int|string $expectedResult, array $database, string|null|int $field, array $criteria): void |
|
13 | + public function testDirectCallToDMax(int | string $expectedResult, array $database, string | null | int $field, array $criteria): void |
|
14 | 14 | { |
15 | 15 | $result = DMax::evaluate($database, $field, $criteria); |
16 | 16 | self::assertEqualsWithDelta($expectedResult, $result, 1.0e-12); |
17 | 17 | } |
18 | 18 | |
19 | 19 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDMax')] |
20 | - public function testDMaxAsWorksheetFormula(int|string $expectedResult, array $database, string|null|int $field, array $criteria): void |
|
20 | + public function testDMaxAsWorksheetFormula(int | string $expectedResult, array $database, string | null | int $field, array $criteria): void |
|
21 | 21 | { |
22 | 22 | $this->prepareWorksheetWithFormula('DMAX', $database, $field, $criteria); |
23 | 23 |
@@ -10,14 +10,14 @@ |
||
10 | 10 | class DCountTest extends SetupTeardownDatabases |
11 | 11 | { |
12 | 12 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDCount')] |
13 | - public function testDirectCallToDCount(int|string $expectedResult, array $database, string|int|null $field, array $criteria): void |
|
13 | + public function testDirectCallToDCount(int | string $expectedResult, array $database, string | int | null $field, array $criteria): void |
|
14 | 14 | { |
15 | 15 | $result = DCount::evaluate($database, $field, $criteria); |
16 | 16 | self::assertEqualsWithDelta($expectedResult, $result, 1.0e-12); |
17 | 17 | } |
18 | 18 | |
19 | 19 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDCount')] |
20 | - public function testDCountAsWorksheetFormula(int|string $expectedResult, array $database, string|int|null $field, array $criteria): void |
|
20 | + public function testDCountAsWorksheetFormula(int | string $expectedResult, array $database, string | int | null $field, array $criteria): void |
|
21 | 21 | { |
22 | 22 | $this->prepareWorksheetWithFormula('DCOUNT', $database, $field, $criteria); |
23 | 23 |