Completed
Push — master ( 0e570a...e16571 )
by
unknown
36s queued 25s
created
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MdeTermTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 {
11 11
     /** @param array<mixed>|float|int|string $matrix */
12 12
     #[DataProvider('providerMDETERM')]
13
-    public function testMDETERM2(float|int|string $expectedResult, array|int|float|string $matrix): void
13
+    public function testMDETERM2(float | int | string $expectedResult, array | int | float | string $matrix): void
14 14
     {
15 15
         $this->mightHaveException($expectedResult);
16 16
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.
PhpSpreadsheetTests/Calculation/Functions/Engineering/ImaginaryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     }
24 24
 
25 25
     #[DataProvider('providerIMAGINARY')]
26
-    public function testDirectCallToIMAGINARY(float|int|string $expectedResult, float|int|string $arg): void
26
+    public function testDirectCallToIMAGINARY(float | int | string $expectedResult, float | int | string $arg): void
27 27
     {
28 28
         $result = Complex::IMAGINARY((string) $arg);
29 29
         self::assertEqualsWithDelta($expectedResult, $result, self::COMPLEX_PRECISION);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitOrTest.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 BitOrTest extends TestCase
16 16
 {
17 17
     #[DataProvider('providerBITOR')]
18
-    public function testDirectCallToBITOR(float|int|string $expectedResult, null|bool|int|float|string $arg1, null|bool|int|float|string $arg2): void
18
+    public function testDirectCallToBITOR(float | int | string $expectedResult, null | bool | int | float | string $arg1, null | bool | int | float | string $arg2): void
19 19
     {
20 20
         $result = BitWise::BITOR($arg1, $arg2);
21 21
         self::assertSame($expectedResult, $result);
22 22
     }
23 23
 
24 24
     #[DataProvider('providerBITOR')]
25
-    public function testBITORAsFormula(float|int|string $expectedResult, mixed ...$args): void
25
+    public function testBITORAsFormula(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('providerBITOR')]
37
-    public function testBITORInWorksheet(float|int|string $expectedResult, mixed ...$args): void
37
+    public function testBITORInWorksheet(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/Dec2OctTest.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('providerDEC2OCT')]
31
-    public function testDirectCallToDEC2OCT(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
31
+    public function testDirectCallToDEC2OCT(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
32 32
     {
33 33
         $result = ($digits === null) ? ConvertDecimal::toOctal($value) : ConvertDecimal::toOctal($value, $digits);
34 34
         self::assertSame($expectedResult, $result);
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     #[DataProvider('providerDEC2OCTOds')]
105
-    public function testDEC2OCTOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
105
+    public function testDEC2OCTOds(mixed $expectedResult, bool | float | int | string $value, ?int $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/Dec2BinTest.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('providerDEC2BIN')]
31
-    public function testDirectCallToDEC2BIN(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
31
+    public function testDirectCallToDEC2BIN(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void
32 32
     {
33 33
         $result = ($digits === null) ? ConvertDecimal::toBinary($value) : ConvertDecimal::toBinary($value, $digits);
34 34
         self::assertSame($expectedResult, $result);
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     #[DataProvider('providerDEC2BINOds')]
105
-    public function testDEC2BINOds(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
105
+    public function testDEC2BINOds(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.
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.