Passed
Push — master ( 055281...135371 )
by
unknown
19:31 queued 11:35
created
PhpSpreadsheetTests/Calculation/Functions/Engineering/BitRShiftTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 class BitRShiftTest extends TestCase
16 16
 {
17 17
     #[DataProvider('providerBITRSHIFT')]
18
-    public function testDirectCallToBITRSHIFT(float|int|string $expectedResult, null|bool|int|float|string $arg1, null|bool|int|float|string $arg2): void
18
+    public function testDirectCallToBITRSHIFT(float | int | string $expectedResult, null | bool | int | float | string $arg1, null | bool | int | float | string $arg2): void
19 19
     {
20 20
         $result = BitWise::BITRSHIFT($arg1, $arg2);
21 21
         self::assertSame($expectedResult, $result);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCscTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     }
28 28
 
29 29
     #[DataProvider('providerIMCSC')]
30
-    public function testDirectCallToIMCSC(float|string $expectedResult, string $arg): void
30
+    public function testDirectCallToIMCSC(float | string $expectedResult, string $arg): void
31 31
     {
32 32
         $result = ComplexFunctions::IMCSC($arg);
33 33
         self::assertTrue(
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2OctTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     }
30 30
 
31 31
     #[DataProvider('providerBIN2OCT')]
32
-    public function testDirectCallToBIN2OCT(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
32
+    public function testDirectCallToBIN2OCT(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void
33 33
     {
34 34
         $result = ($digits === null) ? ConvertBinary::toOctal($value) : ConvertBinary::toOctal($value, $digits);
35 35
         self::assertSame($expectedResult, $result);
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     }
104 104
 
105 105
     #[DataProvider('providerBIN2OCTOds')]
106
-    public function testBIN2OCTOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
106
+    public function testBIN2OCTOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
107 107
     {
108 108
         Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE);
109 109
 
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2HexTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     }
30 30
 
31 31
     #[DataProvider('providerBIN2HEX')]
32
-    public function testDirectCallToBIN2HEX(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
32
+    public function testDirectCallToBIN2HEX(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void
33 33
     {
34 34
         $result = ($digits === null) ? ConvertBinary::toHex($value) : ConvertBinary::toHex($value, $digits);
35 35
         self::assertSame($expectedResult, $result);
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     }
104 104
 
105 105
     #[DataProvider('providerBIN2HEXOds')]
106
-    public function testBIN2HEXOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
106
+    public function testBIN2HEXOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
107 107
     {
108 108
         Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE);
109 109
 
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Dec2HexTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     }
29 29
 
30 30
     #[DataProvider('providerDEC2HEX')]
31
-    public function testDirectCallToDEC2HEX(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
31
+    public function testDirectCallToDEC2HEX(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void
32 32
     {
33 33
         $result = ($digits === null) ? ConvertDecimal::toHex($value) : ConvertDecimal::toHex($value, $digits);
34 34
         self::assertSame($expectedResult, $result);
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     #[DataProvider('providerDEC2HEXOds')]
105
-    public function testDEC2HEXOds(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
105
+    public function testDEC2HEXOds(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void
106 106
     {
107 107
         Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE);
108 108
 
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitAndTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,14 +15,14 @@  discard block
 block discarded – undo
15 15
 class BitAndTest extends TestCase
16 16
 {
17 17
     #[DataProvider('providerBITAND')]
18
-    public function testDirectCallToBITAND(float|int|string $expectedResult, null|bool|int|float|string $arg1, null|bool|int|float|string $arg2): void
18
+    public function testDirectCallToBITAND(float | int | string $expectedResult, null | bool | int | float | string $arg1, null | bool | int | float | string $arg2): void
19 19
     {
20 20
         $result = BitWise::BITAND($arg1, $arg2);
21 21
         self::assertSame($expectedResult, $result);
22 22
     }
23 23
 
24 24
     #[DataProvider('providerBITAND')]
25
-    public function testBITANDAsFormula(float|int|string $expectedResult, mixed ...$args): void
25
+    public function testBITANDAsFormula(float | int | string $expectedResult, mixed ...$args): void
26 26
     {
27 27
         $arguments = new FormulaArguments(...$args);
28 28
 
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     }
35 35
 
36 36
     #[DataProvider('providerBITAND')]
37
-    public function testBITANDInWorksheet(float|int|string $expectedResult, mixed ...$args): void
37
+    public function testBITANDInWorksheet(float | int | string $expectedResult, mixed ...$args): void
38 38
     {
39 39
         $arguments = new FormulaArguments(...$args);
40 40
 
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2BinTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     }
30 30
 
31 31
     #[DataProvider('providerOCT2BIN')]
32
-    public function testDirectCallToOCT2BIN(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
32
+    public function testDirectCallToOCT2BIN(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
33 33
     {
34 34
         $result = ($digits === null) ? ConvertOctal::toBinary($value) : ConvertOctal::toBinary($value, $digits);
35 35
         self::assertSame($expectedResult, $result);
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     }
104 104
 
105 105
     #[DataProvider('providerOCT2BINOds')]
106
-    public function testOCT2BINOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
106
+    public function testOCT2BINOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
107 107
     {
108 108
         Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE);
109 109
 
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2HexTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     }
30 30
 
31 31
     #[DataProvider('providerOCT2HEX')]
32
-    public function testDirectCallToOCT2HEX(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
32
+    public function testDirectCallToOCT2HEX(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
33 33
     {
34 34
         $result = ($digits === null) ? ConvertOctal::toHex($value) : ConvertOctal::toHex($value, $digits);
35 35
         self::assertSame($expectedResult, $result);
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     }
104 104
 
105 105
     #[DataProvider('providerOCT2HEXOds')]
106
-    public function testOCT2HEXOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
106
+    public function testOCT2HEXOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
107 107
     {
108 108
         Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE);
109 109
 
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitXorTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,14 +15,14 @@  discard block
 block discarded – undo
15 15
 class BitXorTest extends TestCase
16 16
 {
17 17
     #[DataProvider('providerBITXOR')]
18
-    public function testDirectCallToBITXOR(float|int|string $expectedResult, null|bool|int|float|string $arg1, null|bool|int|float|string $arg2): void
18
+    public function testDirectCallToBITXOR(float | int | string $expectedResult, null | bool | int | float | string $arg1, null | bool | int | float | string $arg2): void
19 19
     {
20 20
         $result = BitWise::BITXOR($arg1, $arg2);
21 21
         self::assertSame($expectedResult, $result);
22 22
     }
23 23
 
24 24
     #[DataProvider('providerBITXOR')]
25
-    public function testBITXORAsFormula(float|int|string $expectedResult, mixed ...$args): void
25
+    public function testBITXORAsFormula(float | int | string $expectedResult, mixed ...$args): void
26 26
     {
27 27
         $arguments = new FormulaArguments(...$args);
28 28
 
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     }
35 35
 
36 36
     #[DataProvider('providerBITXOR')]
37
-    public function testBITXORInWorksheet(float|int|string $expectedResult, mixed ...$args): void
37
+    public function testBITXORInWorksheet(float | int | string $expectedResult, mixed ...$args): void
38 38
     {
39 39
         $arguments = new FormulaArguments(...$args);
40 40
 
Please login to merge, or discard this patch.