Passed
Pull Request — master (#3936)
by Mark
21:20
created
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2OctTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * @dataProvider providerBIN2OCT
32 32
      */
33
-    public function testDirectCallToBIN2OCT(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
33
+    public function testDirectCallToBIN2OCT(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void
34 34
     {
35 35
         $result = ($digits === null) ? ConvertBinary::toOctal($value) : ConvertBinary::toOctal($value, $digits);
36 36
         self::assertSame($expectedResult, $result);
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * @dataProvider providerBIN2OCTOds
114 114
      */
115
-    public function testBIN2OCTOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
115
+    public function testBIN2OCTOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
116 116
     {
117 117
         Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE);
118 118
 
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
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * @dataProvider providerDEC2OCT
31 31
      */
32
-    public function testDirectCallToDEC2OCT(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
32
+    public function testDirectCallToDEC2OCT(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
33 33
     {
34 34
         $result = ($digits === null) ? ConvertDecimal::toOctal($value) : ConvertDecimal::toOctal($value, $digits);
35 35
         self::assertSame($expectedResult, $result);
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     /**
112 112
      * @dataProvider providerDEC2OCTOds
113 113
      */
114
-    public function testDEC2OCTOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
114
+    public function testDEC2OCTOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
115 115
     {
116 116
         Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE);
117 117
 
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
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     /**
29 29
      * @dataProvider providerIMCSCH
30 30
      */
31
-    public function testDirectCallToIMCSCH(float|string $expectedResult, string $arg): void
31
+    public function testDirectCallToIMCSCH(float | string $expectedResult, string $arg): void
32 32
     {
33 33
         $result = ComplexFunctions::IMCSCH($arg);
34 34
         self::assertTrue(
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
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * @dataProvider providerDEC2BIN
31 31
      */
32
-    public function testDirectCallToDEC2BIN(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
32
+    public function testDirectCallToDEC2BIN(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void
33 33
     {
34 34
         $result = ($digits === null) ? ConvertDecimal::toBinary($value) : ConvertDecimal::toBinary($value, $digits);
35 35
         self::assertSame($expectedResult, $result);
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     /**
112 112
      * @dataProvider providerDEC2BINOds
113 113
      */
114
-    public function testDEC2BINOds(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
114
+    public function testDEC2BINOds(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void
115 115
     {
116 116
         Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE);
117 117
 
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Oct2DecTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * @dataProvider providerOCT2DEC
32 32
      */
33
-    public function testDirectCallToOCT2DEC(mixed $expectedResult, bool|string $value): void
33
+    public function testDirectCallToOCT2DEC(mixed $expectedResult, bool | string $value): void
34 34
     {
35 35
         $result = ConvertOctal::toDecimal($value);
36 36
         self::assertSame($expectedResult, $result);
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * @dataProvider providerOCT2DECOds
114 114
      */
115
-    public function testOCT2DECOds(mixed $expectedResult, bool|string $value): void
115
+    public function testOCT2DECOds(mixed $expectedResult, bool | string $value): void
116 116
     {
117 117
         Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE);
118 118
 
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCotTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     /**
29 29
      * @dataProvider providerIMCOT
30 30
      */
31
-    public function testDirectCallToIMCOT(float|string $expectedResult, string $arg): void
31
+    public function testDirectCallToIMCOT(float | string $expectedResult, string $arg): void
32 32
     {
33 33
         $result = ComplexFunctions::IMCOT($arg);
34 34
         self::assertTrue(
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
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     /**
29 29
      * @dataProvider providerIMCSC
30 30
      */
31
-    public function testDirectCallToIMCSC(float|string $expectedResult, string $arg): void
31
+    public function testDirectCallToIMCSC(float | string $expectedResult, string $arg): void
32 32
     {
33 33
         $result = ComplexFunctions::IMCSC($arg);
34 34
         self::assertTrue(
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Hex2BinTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * @dataProvider providerHEX2BIN
32 32
      */
33
-    public function testDirectCallToHEX2BIN(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
33
+    public function testDirectCallToHEX2BIN(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
34 34
     {
35 35
         $result = ($digits === null) ? ConvertHex::toBinary($value) : ConvertHex::toBinary($value, $digits);
36 36
         self::assertSame($expectedResult, $result);
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * @dataProvider providerHEX2BINOds
114 114
      */
115
-    public function testHEX2BINOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
115
+    public function testHEX2BINOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
116 116
     {
117 117
         Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE);
118 118
 
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2DecTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     /**
31 31
      * @dataProvider providerBIN2DEC
32 32
      */
33
-    public function testDirectCallToBIN2DEC(string $expectedResult, bool|int|string $arg1): void
33
+    public function testDirectCallToBIN2DEC(string $expectedResult, bool | int | string $arg1): void
34 34
     {
35 35
         $result = ConvertBinary::toDecimal($arg1);
36 36
         self::assertSame($expectedResult, $result);
Please login to merge, or discard this patch.