Failed Conditions
Pull Request — master (#3876)
by Abdul Malik
17:26 queued 02:15
created
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.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SubTotalTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     /**
10 10
      * @dataProvider providerSUBTOTAL
11 11
      */
12
-    public function testSubtotal(float|int|string $expectedResult, float|int|string $type): void
12
+    public function testSubtotal(float | int | string $expectedResult, float | int | string $type): void
13 13
     {
14 14
         $this->mightHaveException($expectedResult);
15 15
         $sheet = $this->getSheet();
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * @dataProvider providerSUBTOTAL
31 31
      */
32
-    public function testSubtotalColumnHidden(float|int|string $expectedResult, float|int|string $type): void
32
+    public function testSubtotalColumnHidden(float | int | string $expectedResult, float | int | string $type): void
33 33
     {
34 34
         // Hidden columns don't affect calculation, only hidden rows
35 35
         $this->mightHaveException($expectedResult);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SechTest.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 providerSECH
13 13
      */
14
-    public function testSECH(float|int|string $expectedResult, float|int|string $angle): void
14
+    public function testSECH(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/MRoundTest.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 providerMROUND
13 13
      */
14
-    public function testMROUND(float|int|string $expectedResult, string $formula): void
14
+    public function testMROUND(float | int | string $expectedResult, string $formula): void
15 15
     {
16 16
         $this->mightHaveException($expectedResult);
17 17
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.