Passed
Push — master ( 20aac0...5868f8 )
by
unknown
20:33 queued 08:57
created
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCscTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     }
27 27
 
28 28
     #[\PHPUnit\Framework\Attributes\DataProvider('providerIMCSC')]
29
-    public function testDirectCallToIMCSC(float|string $expectedResult, string $arg): void
29
+    public function testDirectCallToIMCSC(float | string $expectedResult, string $arg): void
30 30
     {
31 31
         $result = ComplexFunctions::IMCSC($arg);
32 32
         self::assertTrue(
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
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     }
29 29
 
30 30
     #[\PHPUnit\Framework\Attributes\DataProvider('providerOCT2BIN')]
31
-    public function testDirectCallToOCT2BIN(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
31
+    public function testDirectCallToOCT2BIN(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
32 32
     {
33 33
         $result = ($digits === null) ? ConvertOctal::toBinary($value) : ConvertOctal::toBinary($value, $digits);
34 34
         self::assertSame($expectedResult, $result);
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     #[\PHPUnit\Framework\Attributes\DataProvider('providerOCT2BINOds')]
105
-    public function testOCT2BINOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
105
+    public function testOCT2BINOds(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/ImAbsTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     const COMPLEX_PRECISION = 1E-12;
17 17
 
18 18
     #[\PHPUnit\Framework\Attributes\DataProvider('providerIMABS')]
19
-    public function testDirectCallToIMABS(float|int|string $expectedResult, string $arg): void
19
+    public function testDirectCallToIMABS(float | int | string $expectedResult, string $arg): void
20 20
     {
21 21
         $result = ComplexFunctions::IMABS($arg);
22 22
         self::assertEqualsWithDelta($expectedResult, $result, self::COMPLEX_PRECISION);
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
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     }
29 29
 
30 30
     #[\PHPUnit\Framework\Attributes\DataProvider('providerOCT2HEX')]
31
-    public function testDirectCallToOCT2HEX(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
31
+    public function testDirectCallToOCT2HEX(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
32 32
     {
33 33
         $result = ($digits === null) ? ConvertOctal::toHex($value) : ConvertOctal::toHex($value, $digits);
34 34
         self::assertSame($expectedResult, $result);
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     #[\PHPUnit\Framework\Attributes\DataProvider('providerOCT2HEXOds')]
105
-    public function testOCT2HEXOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
105
+    public function testOCT2HEXOds(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.
PhpSpreadsheetTests/Calculation/Functions/Engineering/ImaginaryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     }
23 23
 
24 24
     #[\PHPUnit\Framework\Attributes\DataProvider('providerIMAGINARY')]
25
-    public function testDirectCallToIMAGINARY(float|int|string $expectedResult, float|int|string $arg): void
25
+    public function testDirectCallToIMAGINARY(float | int | string $expectedResult, float | int | string $arg): void
26 26
     {
27 27
         $result = Complex::IMAGINARY((string) $arg);
28 28
         self::assertEqualsWithDelta($expectedResult, $result, self::COMPLEX_PRECISION);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2OctTest.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
     #[\PHPUnit\Framework\Attributes\DataProvider('providerHEX2OCT')]
31
-    public function testDirectCallToHEX2OCT(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
31
+    public function testDirectCallToHEX2OCT(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
32 32
     {
33 33
         $result = ($digits === null) ? ConvertHex::toOctal($value) : ConvertHex::toOctal($value, $digits);
34 34
         self::assertSame($expectedResult, $result);
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     #[\PHPUnit\Framework\Attributes\DataProvider('providerHEX2OCTOds')]
105
-    public function testHEX2OCTOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
105
+    public function testHEX2OCTOds(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/ImCschTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     }
27 27
 
28 28
     #[\PHPUnit\Framework\Attributes\DataProvider('providerIMCSCH')]
29
-    public function testDirectCallToIMCSCH(float|string $expectedResult, string $arg): void
29
+    public function testDirectCallToIMCSCH(float | string $expectedResult, string $arg): void
30 30
     {
31 31
         $result = ComplexFunctions::IMCSCH($arg);
32 32
         self::assertTrue(
Please login to merge, or discard this patch.
PhpSpreadsheetTests/Calculation/Functions/Engineering/ConvertUoMTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     }
53 53
 
54 54
     #[\PHPUnit\Framework\Attributes\DataProvider('providerCONVERTUOM')]
55
-    public function testDirectCallToCONVERTUOM(float|int|string $expectedResult, float|int|string $value, string $from, string $to): void
55
+    public function testDirectCallToCONVERTUOM(float | int | string $expectedResult, float | int | string $value, string $from, string $to): void
56 56
     {
57 57
         $result = ConvertUOM::convert($value, $from, $to);
58 58
         self::assertEqualsWithDelta($expectedResult, $result, self::UOM_PRECISION);
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
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.