@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | } |
28 | 28 | |
29 | 29 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDEC2BIN')] |
30 | - public function testDirectCallToDEC2BIN(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void |
|
30 | + public function testDirectCallToDEC2BIN(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void |
|
31 | 31 | { |
32 | 32 | $result = ($digits === null) ? ConvertDecimal::toBinary($value) : ConvertDecimal::toBinary($value, $digits); |
33 | 33 | self::assertSame($expectedResult, $result); |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | } |
102 | 102 | |
103 | 103 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDEC2BINOds')] |
104 | - public function testDEC2BINOds(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void |
|
104 | + public function testDEC2BINOds(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void |
|
105 | 105 | { |
106 | 106 | Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE); |
107 | 107 |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | } |
28 | 28 | |
29 | 29 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDEC2HEX')] |
30 | - public function testDirectCallToDEC2HEX(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void |
|
30 | + public function testDirectCallToDEC2HEX(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void |
|
31 | 31 | { |
32 | 32 | $result = ($digits === null) ? ConvertDecimal::toHex($value) : ConvertDecimal::toHex($value, $digits); |
33 | 33 | self::assertSame($expectedResult, $result); |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | } |
102 | 102 | |
103 | 103 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDEC2HEXOds')] |
104 | - public function testDEC2HEXOds(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void |
|
104 | + public function testDEC2HEXOds(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void |
|
105 | 105 | { |
106 | 106 | Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE); |
107 | 107 |
@@ -14,7 +14,7 @@ |
||
14 | 14 | class BitRShiftTest extends TestCase |
15 | 15 | { |
16 | 16 | #[\PHPUnit\Framework\Attributes\DataProvider('providerBITRSHIFT')] |
17 | - public function testDirectCallToBITRSHIFT(float|int|string $expectedResult, null|bool|int|float|string $arg1, null|bool|int|float|string $arg2): void |
|
17 | + public function testDirectCallToBITRSHIFT(float | int | string $expectedResult, null | bool | int | float | string $arg1, null | bool | int | float | string $arg2): void |
|
18 | 18 | { |
19 | 19 | $result = BitWise::BITRSHIFT($arg1, $arg2); |
20 | 20 | self::assertSame($expectedResult, $result); |
@@ -22,7 +22,7 @@ |
||
22 | 22 | } |
23 | 23 | |
24 | 24 | #[\PHPUnit\Framework\Attributes\DataProvider('providerIMARGUMENT')] |
25 | - public function testDirectCallToIMARGUMENT(float|int|string $expectedResult, string $arg): void |
|
25 | + public function testDirectCallToIMARGUMENT(float | int | string $expectedResult, string $arg): void |
|
26 | 26 | { |
27 | 27 | $result = ComplexFunctions::IMARGUMENT($arg); |
28 | 28 | self::assertEqualsWithDelta($expectedResult, $result, self::COMPLEX_PRECISION); |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | } |
29 | 29 | |
30 | 30 | #[\PHPUnit\Framework\Attributes\DataProvider('providerHEX2BIN')] |
31 | - public function testDirectCallToHEX2BIN(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void |
|
31 | + public function testDirectCallToHEX2BIN(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void |
|
32 | 32 | { |
33 | 33 | $result = ($digits === null) ? ConvertHex::toBinary($value) : ConvertHex::toBinary($value, $digits); |
34 | 34 | self::assertSame($expectedResult, $result); |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | } |
103 | 103 | |
104 | 104 | #[\PHPUnit\Framework\Attributes\DataProvider('providerHEX2BINOds')] |
105 | - public function testHEX2BINOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void |
|
105 | + public function testHEX2BINOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void |
|
106 | 106 | { |
107 | 107 | Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE); |
108 | 108 |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | } |
28 | 28 | |
29 | 29 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDEC2OCT')] |
30 | - public function testDirectCallToDEC2OCT(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void |
|
30 | + public function testDirectCallToDEC2OCT(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void |
|
31 | 31 | { |
32 | 32 | $result = ($digits === null) ? ConvertDecimal::toOctal($value) : ConvertDecimal::toOctal($value, $digits); |
33 | 33 | self::assertSame($expectedResult, $result); |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | } |
102 | 102 | |
103 | 103 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDEC2OCTOds')] |
104 | - public function testDEC2OCTOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void |
|
104 | + public function testDEC2OCTOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void |
|
105 | 105 | { |
106 | 106 | Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE); |
107 | 107 |
@@ -14,7 +14,7 @@ |
||
14 | 14 | class DeltaTest extends TestCase |
15 | 15 | { |
16 | 16 | #[\PHPUnit\Framework\Attributes\DataProvider('providerDELTA')] |
17 | - public function testDirectCallToDELTA(mixed $expectedResult, bool|float|int|string $arg1, null|bool|float|int|string $arg2 = null): void |
|
17 | + public function testDirectCallToDELTA(mixed $expectedResult, bool | float | int | string $arg1, null | bool | float | int | string $arg2 = null): void |
|
18 | 18 | { |
19 | 19 | $result = ($arg2 === null) ? Compare::delta($arg1) : Compare::delta($arg1, $arg2); |
20 | 20 | self::assertSame($expectedResult, $result); |
@@ -14,7 +14,7 @@ |
||
14 | 14 | class BitLShiftTest extends TestCase |
15 | 15 | { |
16 | 16 | #[\PHPUnit\Framework\Attributes\DataProvider('providerBITLSHIFT')] |
17 | - public function testDirectCallToBITLSHIFT(float|int|string $expectedResult, null|bool|int|float|string $arg1, null|bool|int|float|string $arg2): void |
|
17 | + public function testDirectCallToBITLSHIFT(float | int | string $expectedResult, null | bool | int | float | string $arg1, null | bool | int | float | string $arg2): void |
|
18 | 18 | { |
19 | 19 | $result = BitWise::BITLSHIFT($arg1, $arg2); |
20 | 20 | self::assertSame($expectedResult, $result); |
@@ -14,14 +14,14 @@ discard block |
||
14 | 14 | class BitXorTest extends TestCase |
15 | 15 | { |
16 | 16 | #[\PHPUnit\Framework\Attributes\DataProvider('providerBITXOR')] |
17 | - public function testDirectCallToBITXOR(float|int|string $expectedResult, null|bool|int|float|string $arg1, null|bool|int|float|string $arg2): void |
|
17 | + public function testDirectCallToBITXOR(float | int | string $expectedResult, null | bool | int | float | string $arg1, null | bool | int | float | string $arg2): void |
|
18 | 18 | { |
19 | 19 | $result = BitWise::BITXOR($arg1, $arg2); |
20 | 20 | self::assertSame($expectedResult, $result); |
21 | 21 | } |
22 | 22 | |
23 | 23 | #[\PHPUnit\Framework\Attributes\DataProvider('providerBITXOR')] |
24 | - public function testBITXORAsFormula(float|int|string $expectedResult, mixed ...$args): void |
|
24 | + public function testBITXORAsFormula(float | int | string $expectedResult, mixed ...$args): void |
|
25 | 25 | { |
26 | 26 | $arguments = new FormulaArguments(...$args); |
27 | 27 | |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | } |
34 | 34 | |
35 | 35 | #[\PHPUnit\Framework\Attributes\DataProvider('providerBITXOR')] |
36 | - public function testBITXORInWorksheet(float|int|string $expectedResult, mixed ...$args): void |
|
36 | + public function testBITXORInWorksheet(float | int | string $expectedResult, mixed ...$args): void |
|
37 | 37 | { |
38 | 38 | $arguments = new FormulaArguments(...$args); |
39 | 39 |