Failed Conditions
Pull Request — master (#3873)
by Adrien
13:56
created
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2HexTest.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 providerBIN2HEX
32 32
      */
33
-    public function testDirectCallToBIN2HEX(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
33
+    public function testDirectCallToBIN2HEX(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void
34 34
     {
35 35
         $result = ($digits === null) ? ConvertBinary::toHex($value) : ConvertBinary::toHex($value, $digits);
36 36
         self::assertSame($expectedResult, $result);
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * @dataProvider providerBIN2HEXOds
114 114
      */
115
-    public function testBIN2HEXOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
115
+    public function testBIN2HEXOds(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.
PhpSpreadsheetTests/Calculation/Functions/Engineering/BitLShiftTest.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
     /**
17 17
      * @dataProvider providerBITLSHIFT
18 18
      */
19
-    public function testDirectCallToBITLSHIFT(float|int|string $expectedResult, null|bool|int|float|string $arg1, null|bool|int|float|string $arg2): void
19
+    public function testDirectCallToBITLSHIFT(float | int | string $expectedResult, null | bool | int | float | string $arg1, null | bool | int | float | string $arg2): void
20 20
     {
21 21
         $result = BitWise::BITLSHIFT($arg1, $arg2);
22 22
         self::assertSame($expectedResult, $result);
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
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * @dataProvider providerDEC2HEX
31 31
      */
32
-    public function testDirectCallToDEC2HEX(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
32
+    public function testDirectCallToDEC2HEX(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void
33 33
     {
34 34
         $result = ($digits === null) ? ConvertDecimal::toHex($value) : ConvertDecimal::toHex($value, $digits);
35 35
         self::assertSame($expectedResult, $result);
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     /**
112 112
      * @dataProvider providerDEC2HEXOds
113 113
      */
114
-    public function testDEC2HEXOds(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
114
+    public function testDEC2HEXOds(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/BitAndTest.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
     /**
17 17
      * @dataProvider providerBITAND
18 18
      */
19
-    public function testDirectCallToBITAND(mixed $expectedResult, null|bool|int|float|string $arg1, null|bool|int|float|string $arg2): void
19
+    public function testDirectCallToBITAND(mixed $expectedResult, null | bool | int | float | string $arg1, null | bool | int | float | string $arg2): void
20 20
     {
21 21
         $result = BitWise::BITAND($arg1, $arg2);
22 22
         self::assertSame($expectedResult, $result);
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
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     /**
17 17
      * @dataProvider providerBITRSHIFT
18 18
      */
19
-    public function testDirectCallToBITRSHIFT(float|int|string $expectedResult, null|bool|int|float|string $arg1, null|bool|int|float|string $arg2): void
19
+    public function testDirectCallToBITRSHIFT(float | int | string $expectedResult, null | bool | int | float | string $arg1, null | bool | int | float | string $arg2): void
20 20
     {
21 21
         $result = BitWise::BITRSHIFT($arg1, $arg2);
22 22
         self::assertSame($expectedResult, $result);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImRealTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * @dataProvider providerIMREAL
26 26
      */
27
-    public function testDirectCallToIMREAL(float|int|string $expectedResult, float|int|string $arg): void
27
+    public function testDirectCallToIMREAL(float | int | string $expectedResult, float | int | string $arg): void
28 28
     {
29 29
         $result = Complex::IMREAL((string) $arg);
30 30
         self::assertEqualsWithDelta($expectedResult, $result, self::COMPLEX_PRECISION);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/BitXorTest.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
     /**
17 17
      * @dataProvider providerBITXOR
18 18
      */
19
-    public function testDirectCallToBITXOR(int|string $expectedResult, null|bool|int|float|string $arg1, null|bool|int|float|string $arg2): void
19
+    public function testDirectCallToBITXOR(int | string $expectedResult, null | bool | int | float | string $arg1, null | bool | int | float | string $arg2): void
20 20
     {
21 21
         $result = BitWise::BITXOR($arg1, $arg2);
22 22
         self::assertSame($expectedResult, $result);
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
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * @dataProvider providerIMABS
20 20
      */
21
-    public function testDirectCallToIMABS(float|int|string $expectedResult, string $arg): void
21
+    public function testDirectCallToIMABS(float | int | string $expectedResult, string $arg): void
22 22
     {
23 23
         $result = ComplexFunctions::IMABS($arg);
24 24
         self::assertEqualsWithDelta($expectedResult, $result, self::COMPLEX_PRECISION);
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
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * @dataProvider providerOCT2BIN
32 32
      */
33
-    public function testDirectCallToOCT2BIN(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
33
+    public function testDirectCallToOCT2BIN(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
34 34
     {
35 35
         $result = ($digits === null) ? ConvertOctal::toBinary($value) : ConvertOctal::toBinary($value, $digits);
36 36
         self::assertSame($expectedResult, $result);
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * @dataProvider providerOCT2BINOds
114 114
      */
115
-    public function testOCT2BINOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
115
+    public function testOCT2BINOds(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.