@@ -10,14 +10,14 @@ |
||
10 | 10 | class DStDevTest extends SetupTeardownDatabases |
11 | 11 | { |
12 | 12 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDStDev')] |
13 | - public function testDirectCallToDStDev(float|string $expectedResult, array $database, ?string $field, array $criteria): void |
|
13 | + public function testDirectCallToDStDev(float | string $expectedResult, array $database, ?string $field, array $criteria): void |
|
14 | 14 | { |
15 | 15 | $result = DStDev::evaluate($database, $field, $criteria); |
16 | 16 | self::assertEqualsWithDelta($expectedResult, $result, 1.0e-12); |
17 | 17 | } |
18 | 18 | |
19 | 19 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDStDev')] |
20 | - public function testDStDevAsWorksheetFormula(float|string $expectedResult, array $database, ?string $field, array $criteria): void |
|
20 | + public function testDStDevAsWorksheetFormula(float | string $expectedResult, array $database, ?string $field, array $criteria): void |
|
21 | 21 | { |
22 | 22 | $this->prepareWorksheetWithFormula('DSTDEV', $database, $field, $criteria); |
23 | 23 |
@@ -10,14 +10,14 @@ |
||
10 | 10 | class DMinTest extends SetupTeardownDatabases |
11 | 11 | { |
12 | 12 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDMin')] |
13 | - public function testDirectCallToDMin(int|float|string $expectedResult, array $database, string|null|int $field, array $criteria): void |
|
13 | + public function testDirectCallToDMin(int | float | string $expectedResult, array $database, string | null | int $field, array $criteria): void |
|
14 | 14 | { |
15 | 15 | $result = DMin::evaluate($database, $field, $criteria); |
16 | 16 | self::assertEqualsWithDelta($expectedResult, $result, 1.0e-12); |
17 | 17 | } |
18 | 18 | |
19 | 19 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDMin')] |
20 | - public function testDMinAsWorksheetFormula(int|float|string $expectedResult, array $database, string|null|int $field, array $criteria): void |
|
20 | + public function testDMinAsWorksheetFormula(int | float | string $expectedResult, array $database, string | null | int $field, array $criteria): void |
|
21 | 21 | { |
22 | 22 | $this->prepareWorksheetWithFormula('DMIN', $database, $field, $criteria); |
23 | 23 |
@@ -10,14 +10,14 @@ |
||
10 | 10 | class DVarTest extends SetupTeardownDatabases |
11 | 11 | { |
12 | 12 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDVar')] |
13 | - public function testDirectCallToDVar(float|string $expectedResult, array $database, ?string $field, array $criteria): void |
|
13 | + public function testDirectCallToDVar(float | string $expectedResult, array $database, ?string $field, array $criteria): void |
|
14 | 14 | { |
15 | 15 | $result = DVar::evaluate($database, $field, $criteria); |
16 | 16 | self::assertEqualsWithDelta($expectedResult, $result, 1.0e-12); |
17 | 17 | } |
18 | 18 | |
19 | 19 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDVar')] |
20 | - public function testDVarAsWorksheetFormula(float|string $expectedResult, array $database, ?string $field, array $criteria): void |
|
20 | + public function testDVarAsWorksheetFormula(float | string $expectedResult, array $database, ?string $field, array $criteria): void |
|
21 | 21 | { |
22 | 22 | $this->prepareWorksheetWithFormula('DVAR', $database, $field, $criteria); |
23 | 23 |
@@ -10,14 +10,14 @@ |
||
10 | 10 | class DStDevPTest extends SetupTeardownDatabases |
11 | 11 | { |
12 | 12 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDStDevP')] |
13 | - public function testDirectCallToDStDevP(float|int|string $expectedResult, array $database, ?string $field, array $criteria): void |
|
13 | + public function testDirectCallToDStDevP(float | int | string $expectedResult, array $database, ?string $field, array $criteria): void |
|
14 | 14 | { |
15 | 15 | $result = DStDevP::evaluate($database, $field, $criteria); |
16 | 16 | self::assertEqualsWithDelta($expectedResult, $result, 1.0e-12); |
17 | 17 | } |
18 | 18 | |
19 | 19 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDStDevP')] |
20 | - public function testDStDevPAsWorksheetFormula(float|int|string $expectedResult, array $database, ?string $field, array $criteria): void |
|
20 | + public function testDStDevPAsWorksheetFormula(float | int | string $expectedResult, array $database, ?string $field, array $criteria): void |
|
21 | 21 | { |
22 | 22 | $this->prepareWorksheetWithFormula('DSTDEVP', $database, $field, $criteria); |
23 | 23 |
@@ -10,14 +10,14 @@ |
||
10 | 10 | class DSumTest extends SetupTeardownDatabases |
11 | 11 | { |
12 | 12 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDSum')] |
13 | - public function testDirectCallToDSum(int|float|string $expectedResult, array $database, ?string $field, array $criteria): void |
|
13 | + public function testDirectCallToDSum(int | float | string $expectedResult, array $database, ?string $field, array $criteria): void |
|
14 | 14 | { |
15 | 15 | $result = DSum::evaluate($database, $field, $criteria); |
16 | 16 | self::assertEqualsWithDelta($expectedResult, $result, 1.0e-12); |
17 | 17 | } |
18 | 18 | |
19 | 19 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDSum')] |
20 | - public function testDSumAsWorksheetFormula(int|float|string $expectedResult, array $database, ?string $field, array $criteria): void |
|
20 | + public function testDSumAsWorksheetFormula(int | float | string $expectedResult, array $database, ?string $field, array $criteria): void |
|
21 | 21 | { |
22 | 22 | $this->prepareWorksheetWithFormula('DSUM', $database, $field, $criteria); |
23 | 23 |
@@ -10,14 +10,14 @@ |
||
10 | 10 | class DAverageTest extends SetupTeardownDatabases |
11 | 11 | { |
12 | 12 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDAverage')] |
13 | - public function testDirectCallToDAverage(int|float|string $expectedResult, array $database, string|int|null $field, array $criteria): void |
|
13 | + public function testDirectCallToDAverage(int | float | string $expectedResult, array $database, string | int | null $field, array $criteria): void |
|
14 | 14 | { |
15 | 15 | $result = DAverage::evaluate($database, $field, $criteria); |
16 | 16 | self::assertEqualsWithDelta($expectedResult, $result, 1.0e-12); |
17 | 17 | } |
18 | 18 | |
19 | 19 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDAverage')] |
20 | - public function testDAverageAsWorksheetFormula(int|float|string $expectedResult, array $database, string|int|null $field, array $criteria): void |
|
20 | + public function testDAverageAsWorksheetFormula(int | float | string $expectedResult, array $database, string | int | null $field, array $criteria): void |
|
21 | 21 | { |
22 | 22 | $this->prepareWorksheetWithFormula('DAVERAGE', $database, $field, $criteria); |
23 | 23 |
@@ -10,14 +10,14 @@ |
||
10 | 10 | class DGetTest extends SetupTeardownDatabases |
11 | 11 | { |
12 | 12 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDGet')] |
13 | - public function testDirectCallToDGet(string|int $expectedResult, array $database, ?string $field, array $criteria): void |
|
13 | + public function testDirectCallToDGet(string | int $expectedResult, array $database, ?string $field, array $criteria): void |
|
14 | 14 | { |
15 | 15 | $result = DGet::evaluate($database, $field, $criteria); |
16 | 16 | self::assertEqualsWithDelta($expectedResult, $result, 1.0e-12); |
17 | 17 | } |
18 | 18 | |
19 | 19 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDGet')] |
20 | - public function testDGetAsWorksheetFormula(string|int $expectedResult, array $database, ?string $field, array $criteria): void |
|
20 | + public function testDGetAsWorksheetFormula(string | int $expectedResult, array $database, ?string $field, array $criteria): void |
|
21 | 21 | { |
22 | 22 | $this->prepareWorksheetWithFormula('DGET', $database, $field, $criteria); |
23 | 23 |
@@ -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(); |