Passed
Pull Request — master (#4468)
by Owen
21:21 queued 14:00
created
PhpSpreadsheetTests/Calculation/Functions/Engineering/ImArgumentTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     }
23 23
 
24 24
     #[\PHPUnit\Framework\Attributes\DataProvider('providerIMARGUMENT')]
25
-    public function testDirectCallToIMARGUMENT(float|int|string $expectedResult, string $arg): void
25
+    public function testDirectCallToIMARGUMENT(float | int | string $expectedResult, string $arg): void
26 26
     {
27 27
         $result = ComplexFunctions::IMARGUMENT($arg);
28 28
         self::assertEqualsWithDelta($expectedResult, $result, self::COMPLEX_PRECISION);
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
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     }
29 29
 
30 30
     #[\PHPUnit\Framework\Attributes\DataProvider('providerHEX2BIN')]
31
-    public function testDirectCallToHEX2BIN(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
31
+    public function testDirectCallToHEX2BIN(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
32 32
     {
33 33
         $result = ($digits === null) ? ConvertHex::toBinary($value) : ConvertHex::toBinary($value, $digits);
34 34
         self::assertSame($expectedResult, $result);
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     #[\PHPUnit\Framework\Attributes\DataProvider('providerHEX2BINOds')]
105
-    public function testHEX2BINOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
105
+    public function testHEX2BINOds(mixed $expectedResult, bool | float | int | string $value, ?int $digits = null): void
106 106
     {
107 107
         Functions::setCompatibilityMode(Functions::COMPATIBILITY_OPENOFFICE);
108 108
 
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
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 class DeltaTest extends TestCase
15 15
 {
16 16
     #[\PHPUnit\Framework\Attributes\DataProvider('providerDELTA')]
17
-    public function testDirectCallToDELTA(mixed $expectedResult, bool|float|int|string $arg1, null|bool|float|int|string $arg2 = null): void
17
+    public function testDirectCallToDELTA(mixed $expectedResult, bool | float | int | string $arg1, null | bool | float | int | string $arg2 = null): void
18 18
     {
19 19
         $result = ($arg2 === null) ? Compare::delta($arg1) : Compare::delta($arg1, $arg2);
20 20
         self::assertSame($expectedResult, $result);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImPowerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     }
27 27
 
28 28
     #[\PHPUnit\Framework\Attributes\DataProvider('providerIMPOWER')]
29
-    public function testDirectCallToIMPOWER(float|int|string $expectedResult, string $arg1, float|int|string $arg2): void
29
+    public function testDirectCallToIMPOWER(float | int | string $expectedResult, string $arg1, float | int | string $arg2): void
30 30
     {
31 31
         $result = ComplexFunctions::IMPOWER($arg1, $arg2);
32 32
         self::assertTrue(
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
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     }
23 23
 
24 24
     #[\PHPUnit\Framework\Attributes\DataProvider('providerIMREAL')]
25
-    public function testDirectCallToIMREAL(float|int|string $expectedResult, float|int|string $arg): void
25
+    public function testDirectCallToIMREAL(float | int | string $expectedResult, float | int | string $arg): void
26 26
     {
27 27
         $result = Complex::IMREAL((string) $arg);
28 28
         self::assertEqualsWithDelta($expectedResult, $result, self::COMPLEX_PRECISION);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/AcothTest.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 AcothTest extends AllSetupTeardown
10 10
 {
11 11
     #[\PHPUnit\Framework\Attributes\DataProvider('providerACOTH')]
12
-    public function testACOTH(float|int|string $expectedResult, float|int|string $number): void
12
+    public function testACOTH(float | int | string $expectedResult, float | int | string $number): 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/SequenceTest.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
      * @param mixed[]|string $expectedResult
14 14
      */
15 15
     #[\PHPUnit\Framework\Attributes\DataProvider('providerSEQUENCE')]
16
-    public function testSEQUENCE(array $arguments, array|string $expectedResult): void
16
+    public function testSEQUENCE(array $arguments, array | string $expectedResult): void
17 17
     {
18 18
         if (count($arguments) === 0) {
19 19
             $result = MatrixFunctions::sequence();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/SignTest.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 SignTest extends AllSetupTeardown
10 10
 {
11 11
     #[\PHPUnit\Framework\Attributes\DataProvider('providerSIGN')]
12
-    public function testSIGN(float|int|string $expectedResult, float|int|string $value): void
12
+    public function testSIGN(float | 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.
tests/PhpSpreadsheetTests/Calculation/Functions/MathTrig/RoundDownTest.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 RoundDownTest extends AllSetupTeardown
10 10
 {
11 11
     #[\PHPUnit\Framework\Attributes\DataProvider('providerRoundDown')]
12
-    public function testRoundDown(float|int|string $expectedResult, float|int|string $formula): void
12
+    public function testRoundDown(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.