Passed
Pull Request — master (#4465)
by Owen
14:25
created
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/TruncTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     }
46 46
 
47 47
     #[\PHPUnit\Framework\Attributes\DataProvider('providerTooMuchPrecision')]
48
-    public function testTooMuchPrecision(mixed $expectedResult, float|int|string $value, int $digits = 1): void
48
+    public function testTooMuchPrecision(mixed $expectedResult, float | int | string $value, int $digits = 1): void
49 49
     {
50 50
         // This test is pretty screwy. Possibly shouldn't even attempt it.
51 51
         // At any rate, these results seem to indicate that PHP
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/MdeTermTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 class MdeTermTest extends AllSetupTeardown
8 8
 {
9 9
     #[\PHPUnit\Framework\Attributes\DataProvider('providerMDETERM')]
10
-    public function testMDETERM2(float|int|string $expectedResult, array|int|float|string $matrix): void
10
+    public function testMDETERM2(float | int | string $expectedResult, array | int | float | string $matrix): void
11 11
     {
12 12
         $this->mightHaveException($expectedResult);
13 13
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/CschTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class CschTest extends AllSetupTeardown
10 10
 {
11 11
     #[\PHPUnit\Framework\Attributes\DataProvider('providerCSCH')]
12
-    public function testCSCH(float|int|string $expectedResult, float|int|string $angle): void
12
+    public function testCSCH(float | int | string $expectedResult, float | int | string $angle): void
13 13
     {
14 14
         $this->mightHaveException($expectedResult);
15 15
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundUpTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class RoundUpTest extends AllSetupTeardown
10 10
 {
11 11
     #[\PHPUnit\Framework\Attributes\DataProvider('providerRoundUp')]
12
-    public function testRoundUp(float|int|string $expectedResult, float|int|string $formula): void
12
+    public function testRoundUp(float | int | string $expectedResult, float | int | string $formula): void
13 13
     {
14 14
         $this->mightHaveException($expectedResult);
15 15
         $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
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class RandBetweenTest extends AllSetupTeardown
10 10
 {
11 11
     #[\PHPUnit\Framework\Attributes\DataProvider('providerRANDBETWEEN')]
12
-    public function testRANDBETWEEN(int|string $expectedResult, null|bool|int|string $min = 'omitted', null|bool|int|string $max = 'omitted'): void
12
+    public function testRANDBETWEEN(int | string $expectedResult, null | bool | int | string $min = 'omitted', null | bool | int | string $max = 'omitted'): void
13 13
     {
14 14
         $this->mightHaveException($expectedResult);
15 15
         $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
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class MRoundTest extends AllSetupTeardown
10 10
 {
11 11
     #[\PHPUnit\Framework\Attributes\DataProvider('providerMROUND')]
12
-    public function testMROUND(float|int|string $expectedResult, string $formula): void
12
+    public function testMROUND(float | int | string $expectedResult, string $formula): void
13 13
     {
14 14
         $this->mightHaveException($expectedResult);
15 15
         $sheet = $this->getSheet();
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
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 class OddTest extends AllSetupTeardown
10 10
 {
11 11
     #[\PHPUnit\Framework\Attributes\DataProvider('providerODD')]
12
-    public function testODD(int|string $expectedResult, float|int|string $value): void
12
+    public function testODD(int | string $expectedResult, float | int | string $value): void
13 13
     {
14 14
         $this->mightHaveException($expectedResult);
15 15
         $sheet = $this->getSheet();
Please login to merge, or discard this patch.
PhpSpreadsheetTests/Calculation/Functions/Information/ErrorTypeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     }
18 18
 
19 19
     #[\PHPUnit\Framework\Attributes\DataProvider('providerErrorType')]
20
-    public function testErrorType(int|string $expectedResult, mixed $value): void
20
+    public function testErrorType(int | string $expectedResult, mixed $value): void
21 21
     {
22 22
         $result = ExcelError::type($value);
23 23
         self::assertSame($expectedResult, $result);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Information/IsOddTest.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
 
20 20
     #[\PHPUnit\Framework\Attributes\DataProvider('providerIsOdd')]
21
-    public function testIsOdd(bool|string $expectedResult, mixed $value): void
21
+    public function testIsOdd(bool | string $expectedResult, mixed $value): void
22 22
     {
23 23
         $result = Value::isOdd($value);
24 24
         self::assertEquals($expectedResult, $result);
Please login to merge, or discard this patch.