Failed Conditions
Push — master ( f65b0a...9a193f )
by
unknown
30s queued 21s
created
PhpSpreadsheetTests/Calculation/Functions/Engineering/ImArgumentTest.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
     const COMPLEX_PRECISION = 1E-12;
16 16
 
17 17
     #[DataProvider('providerIMARGUMENT')]
18
-    public function testDirectCallToIMARGUMENT(float|int|string $expectedResult, string $arg): void
18
+    public function testDirectCallToIMARGUMENT(float | int | string $expectedResult, string $arg): void
19 19
     {
20 20
         $result = ComplexFunctions::IMARGUMENT($arg);
21 21
         self::assertEqualsWithDelta($expectedResult, $result, self::COMPLEX_PRECISION);
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
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 class Bin2OctTest extends AllSetupTeardown
15 15
 {
16 16
     #[DataProvider('providerBIN2OCT')]
17
-    public function testDirectCallToBIN2OCT(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
17
+    public function testDirectCallToBIN2OCT(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void
18 18
     {
19 19
         $result = ($digits === null) ? ConvertBinary::toOctal($value) : ConvertBinary::toOctal($value, $digits);
20 20
         self::assertSame($expectedResult, $result);
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     }
77 77
 
78 78
     #[DataProvider('providerBIN2OCTOds')]
79
-    public function testBIN2OCTOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
79
+    public function testBIN2OCTOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
80 80
     {
81 81
         $this->setOpenOffice();
82 82
 
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
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 class Bin2HexTest extends AllSetupTeardown
15 15
 {
16 16
     #[DataProvider('providerBIN2HEX')]
17
-    public function testDirectCallToBIN2HEX(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
17
+    public function testDirectCallToBIN2HEX(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void
18 18
     {
19 19
         $result = ($digits === null) ? ConvertBinary::toHex($value) : ConvertBinary::toHex($value, $digits);
20 20
         self::assertSame($expectedResult, $result);
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     }
77 77
 
78 78
     #[DataProvider('providerBIN2HEXOds')]
79
-    public function testBIN2HEXOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
79
+    public function testBIN2HEXOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
80 80
     {
81 81
         $this->setOpenOffice();
82 82
         $result = ($digits === null) ? ConvertBinary::toHex($value) : ConvertBinary::toHex($value, $digits);
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
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 class Hex2BinTest extends AllSetupTeardown
15 15
 {
16 16
     #[DataProvider('providerHEX2BIN')]
17
-    public function testDirectCallToHEX2BIN(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
17
+    public function testDirectCallToHEX2BIN(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
18 18
     {
19 19
         $result = ($digits === null) ? ConvertHex::toBinary($value) : ConvertHex::toBinary($value, $digits);
20 20
         self::assertSame($expectedResult, $result);
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     }
77 77
 
78 78
     #[DataProvider('providerHEX2BINOds')]
79
-    public function testHEX2BINOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
79
+    public function testHEX2BINOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
80 80
     {
81 81
         $this->setOpenOffice();
82 82
 
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
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 class Dec2HexTest extends AllSetupTeardown
14 14
 {
15 15
     #[DataProvider('providerDEC2HEX')]
16
-    public function testDirectCallToDEC2HEX(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
16
+    public function testDirectCallToDEC2HEX(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void
17 17
     {
18 18
         $result = ($digits === null) ? ConvertDecimal::toHex($value) : ConvertDecimal::toHex($value, $digits);
19 19
         self::assertSame($expectedResult, $result);
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     }
76 76
 
77 77
     #[DataProvider('providerDEC2HEXOds')]
78
-    public function testDEC2HEXOds(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
78
+    public function testDEC2HEXOds(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void
79 79
     {
80 80
         $this->setOpenOffice();
81 81
 
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
@@ -13,14 +13,14 @@  discard block
 block discarded – undo
13 13
 class BitAndTest extends AllSetupTeardown
14 14
 {
15 15
     #[DataProvider('providerBITAND')]
16
-    public function testDirectCallToBITAND(float|int|string $expectedResult, null|bool|int|float|string $arg1, null|bool|int|float|string $arg2): void
16
+    public function testDirectCallToBITAND(float | int | string $expectedResult, null | bool | int | float | string $arg1, null | bool | int | float | string $arg2): void
17 17
     {
18 18
         $result = BitWise::BITAND($arg1, $arg2);
19 19
         self::assertSame($expectedResult, $result);
20 20
     }
21 21
 
22 22
     #[DataProvider('providerBITAND')]
23
-    public function testBITANDAsFormula(float|int|string $expectedResult, mixed ...$args): void
23
+    public function testBITANDAsFormula(float | int | string $expectedResult, mixed ...$args): void
24 24
     {
25 25
         $arguments = new FormulaArguments(...$args);
26 26
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     }
33 33
 
34 34
     #[DataProvider('providerBITAND')]
35
-    public function testBITANDInWorksheet(float|int|string $expectedResult, mixed ...$args): void
35
+    public function testBITANDInWorksheet(float | int | string $expectedResult, mixed ...$args): void
36 36
     {
37 37
         $arguments = new FormulaArguments(...$args);
38 38
 
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
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 class Oct2BinTest extends AllSetupTeardown
15 15
 {
16 16
     #[DataProvider('providerOCT2BIN')]
17
-    public function testDirectCallToOCT2BIN(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
17
+    public function testDirectCallToOCT2BIN(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
18 18
     {
19 19
         $result = ($digits === null) ? ConvertOctal::toBinary($value) : ConvertOctal::toBinary($value, $digits);
20 20
         self::assertSame($expectedResult, $result);
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     }
77 77
 
78 78
     #[DataProvider('providerOCT2BINOds')]
79
-    public function testOCT2BINOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
79
+    public function testOCT2BINOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
80 80
     {
81 81
         $this->setOpenOffice();
82 82
 
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
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 class Oct2HexTest extends AllSetupTeardown
15 15
 {
16 16
     #[DataProvider('providerOCT2HEX')]
17
-    public function testDirectCallToOCT2HEX(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
17
+    public function testDirectCallToOCT2HEX(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
18 18
     {
19 19
         $result = ($digits === null) ? ConvertOctal::toHex($value) : ConvertOctal::toHex($value, $digits);
20 20
         self::assertSame($expectedResult, $result);
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     }
77 77
 
78 78
     #[DataProvider('providerOCT2HEXOds')]
79
-    public function testOCT2HEXOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
79
+    public function testOCT2HEXOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
80 80
     {
81 81
         $this->setOpenOffice();
82 82
 
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
@@ -13,14 +13,14 @@  discard block
 block discarded – undo
13 13
 class BitXorTest extends AllSetupTeardown
14 14
 {
15 15
     #[DataProvider('providerBITXOR')]
16
-    public function testDirectCallToBITXOR(float|int|string $expectedResult, null|bool|int|float|string $arg1, null|bool|int|float|string $arg2): void
16
+    public function testDirectCallToBITXOR(float | int | string $expectedResult, null | bool | int | float | string $arg1, null | bool | int | float | string $arg2): void
17 17
     {
18 18
         $result = BitWise::BITXOR($arg1, $arg2);
19 19
         self::assertSame($expectedResult, $result);
20 20
     }
21 21
 
22 22
     #[DataProvider('providerBITXOR')]
23
-    public function testBITXORAsFormula(float|int|string $expectedResult, mixed ...$args): void
23
+    public function testBITXORAsFormula(float | int | string $expectedResult, mixed ...$args): void
24 24
     {
25 25
         $arguments = new FormulaArguments(...$args);
26 26
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     }
33 33
 
34 34
     #[DataProvider('providerBITXOR')]
35
-    public function testBITXORInWorksheet(float|int|string $expectedResult, mixed ...$args): void
35
+    public function testBITXORInWorksheet(float | int | string $expectedResult, mixed ...$args): void
36 36
     {
37 37
         $arguments = new FormulaArguments(...$args);
38 38
 
Please login to merge, or discard this patch.