Passed
Push — master ( 31e252...eec07c )
by Owen
17:16 queued 06:48
created
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.
tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/MatchTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     /**
12 12
      * @dataProvider providerMATCH
13 13
      */
14
-    public function testMATCH(mixed $expectedResult, mixed $input, array $array, null|float|int|string $type = null): void
14
+    public function testMATCH(mixed $expectedResult, mixed $input, array $array, null | float | int | string $type = null): void
15 15
     {
16 16
         if (is_array($expectedResult)) {
17 17
             $expectedResult = $expectedResult[0];
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     /**
43 43
      * @dataProvider providerMATCH
44 44
      */
45
-    public function testMATCHLibre(mixed $expectedResult, mixed $input, array $array, null|float|int|string $type = null): void
45
+    public function testMATCHLibre(mixed $expectedResult, mixed $input, array $array, null | float | int | string $type = null): void
46 46
     {
47 47
         $this->setOpenOffice();
48 48
         if (is_array($expectedResult)) {
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/OddTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     /**
12 12
      * @dataProvider providerODD
13 13
      */
14
-    public function testODD(int|string $expectedResult, float|int|string $value): void
14
+    public function testODD(int | string $expectedResult, float | int | string $value): void
15 15
     {
16 16
         $this->mightHaveException($expectedResult);
17 17
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/EvenTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     /**
12 12
      * @dataProvider providerEVEN
13 13
      */
14
-    public function testEVEN(int|string $expectedResult, float|int|string $value): void
14
+    public function testEVEN(int | string $expectedResult, float | int | string $value): void
15 15
     {
16 16
         $this->mightHaveException($expectedResult);
17 17
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CothTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     /**
12 12
      * @dataProvider providerCOTH
13 13
      */
14
-    public function testCOTH(float|int|string $expectedResult, float|int|string $angle): void
14
+    public function testCOTH(float | int | string $expectedResult, float | int | string $angle): void
15 15
     {
16 16
         $this->mightHaveException($expectedResult);
17 17
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcotTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     /**
12 12
      * @dataProvider providerACOT
13 13
      */
14
-    public function testACOT(float|int|string $expectedResult, float|int|string $number): void
14
+    public function testACOT(float | int | string $expectedResult, float | int | string $number): void
15 15
     {
16 16
         $this->mightHaveException($expectedResult);
17 17
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     /**
12 12
      * @dataProvider providerRound
13 13
      */
14
-    public function testRound(float|int|string $expectedResult, float|int|string $formula): void
14
+    public function testRound(float | int | string $expectedResult, float | int | string $formula): void
15 15
     {
16 16
         $this->mightHaveException($expectedResult);
17 17
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.
PhpSpreadsheetTests/Calculation/Functions/MathTrig/RandBetweenTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     /**
12 12
      * @dataProvider providerRANDBETWEEN
13 13
      */
14
-    public function testRANDBETWEEN(int|string $expectedResult, null|bool|int|string $min = 'omitted', null|bool|int|string $max = 'omitted'): void
14
+    public function testRANDBETWEEN(int | string $expectedResult, null | bool | int | string $min = 'omitted', null | bool | int | string $max = 'omitted'): void
15 15
     {
16 16
         $this->mightHaveException($expectedResult);
17 17
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.