Failed Conditions
Push — master ( f65b0a...9a193f )
by
unknown
30s queued 21s
created
PhpSpreadsheetTests/Calculation/Functions/Engineering/ImaginaryTest.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('providerIMAGINARY')]
18
-    public function testDirectCallToIMAGINARY(float|int|string $expectedResult, float|int|string $arg): void
18
+    public function testDirectCallToIMAGINARY(float | int | string $expectedResult, float | int | string $arg): void
19 19
     {
20 20
         $result = Complex::IMAGINARY((string) $arg);
21 21
         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
@@ -13,14 +13,14 @@  discard block
 block discarded – undo
13 13
 class BitOrTest extends AllSetupTeardown
14 14
 {
15 15
     #[DataProvider('providerBITOR')]
16
-    public function testDirectCallToBITOR(float|int|string $expectedResult, null|bool|int|float|string $arg1, null|bool|int|float|string $arg2): void
16
+    public function testDirectCallToBITOR(float | int | string $expectedResult, null | bool | int | float | string $arg1, null | bool | int | float | string $arg2): void
17 17
     {
18 18
         $result = BitWise::BITOR($arg1, $arg2);
19 19
         self::assertSame($expectedResult, $result);
20 20
     }
21 21
 
22 22
     #[DataProvider('providerBITOR')]
23
-    public function testBITORAsFormula(float|int|string $expectedResult, mixed ...$args): void
23
+    public function testBITORAsFormula(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('providerBITOR')]
35
-    public function testBITORInWorksheet(float|int|string $expectedResult, mixed ...$args): void
35
+    public function testBITORInWorksheet(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/Hex2OctTest.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 Hex2OctTest extends AllSetupTeardown
15 15
 {
16 16
     #[DataProvider('providerHEX2OCT')]
17
-    public function testDirectCallToHEX2OCT(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
17
+    public function testDirectCallToHEX2OCT(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
18 18
     {
19 19
         $result = ($digits === null) ? ConvertHex::toOctal($value) : ConvertHex::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('providerHEX2OCTOds')]
79
-    public function testHEX2OCTOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
79
+    public function testHEX2OCTOds(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/GeStepTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 class GeStepTest extends AllSetupTeardown
14 14
 {
15 15
     #[DataProvider('providerGESTEP')]
16
-    public function testDirectCallToGESTEP(int|string $expectedResult, bool|float|int|string $arg1, null|bool|float|int|string $arg2 = null): void
16
+    public function testDirectCallToGESTEP(int | string $expectedResult, bool | float | int | string $arg1, null | bool | float | int | string $arg2 = null): void
17 17
     {
18 18
         $result = ($arg2 === null) ? Compare::geStep($arg1) : Compare::geStep($arg1, $arg2);
19 19
         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
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     const COMPLEX_PRECISION = 1E-12;
16 16
 
17 17
     #[DataProvider('providerIMABS')]
18
-    public function testDirectCallToIMABS(float|int|string $expectedResult, string $arg): void
18
+    public function testDirectCallToIMABS(float | int | string $expectedResult, string $arg): void
19 19
     {
20 20
         $result = ComplexFunctions::IMABS($arg);
21 21
         self::assertEqualsWithDelta($expectedResult, $result, self::COMPLEX_PRECISION);
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
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 class Dec2OctTest extends AllSetupTeardown
14 14
 {
15 15
     #[DataProvider('providerDEC2OCT')]
16
-    public function testDirectCallToDEC2OCT(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
16
+    public function testDirectCallToDEC2OCT(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
17 17
     {
18 18
         $result = ($digits === null) ? ConvertDecimal::toOctal($value) : ConvertDecimal::toOctal($value, $digits);
19 19
         self::assertSame($expectedResult, $result);
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     }
76 76
 
77 77
     #[DataProvider('providerDEC2OCTOds')]
78
-    public function testDEC2OCTOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
78
+    public function testDEC2OCTOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
79 79
     {
80 80
         $this->setOpenOffice();
81 81
 
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
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     const COMPLEX_PRECISION = 1E-12;
16 16
 
17 17
     #[DataProvider('providerIMREAL')]
18
-    public function testDirectCallToIMREAL(float|int|string $expectedResult, float|int|string $arg): void
18
+    public function testDirectCallToIMREAL(float | int | string $expectedResult, float | int | string $arg): void
19 19
     {
20 20
         $result = Complex::IMREAL((string) $arg);
21 21
         self::assertEqualsWithDelta($expectedResult, $result, self::COMPLEX_PRECISION);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/DeltaTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 class DeltaTest extends AllSetupTeardown
14 14
 {
15 15
     #[DataProvider('providerDELTA')]
16
-    public function testDirectCallToDELTA(mixed $expectedResult, bool|float|int|string $arg1, null|bool|float|int|string $arg2 = null): void
16
+    public function testDirectCallToDELTA(mixed $expectedResult, bool | float | int | string $arg1, null | bool | float | int | string $arg2 = null): void
17 17
     {
18 18
         $result = ($arg2 === null) ? Compare::delta($arg1) : Compare::delta($arg1, $arg2);
19 19
         self::assertSame($expectedResult, $result);
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
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 class Dec2BinTest extends AllSetupTeardown
14 14
 {
15 15
     #[DataProvider('providerDEC2BIN')]
16
-    public function testDirectCallToDEC2BIN(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
16
+    public function testDirectCallToDEC2BIN(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void
17 17
     {
18 18
         $result = ($digits === null) ? ConvertDecimal::toBinary($value) : ConvertDecimal::toBinary($value, $digits);
19 19
         self::assertSame($expectedResult, $result);
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     }
76 76
 
77 77
     #[DataProvider('providerDEC2BINOds')]
78
-    public function testDEC2BINOds(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
78
+    public function testDEC2BINOds(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.