Passed
Push — master ( e6aacf...0e570a )
by
unknown
25:35 queued 18:08
created
tests/PhpSpreadsheetTests/Style/NumberFormat/Wizard/DateTimeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      * @param string[] $formatBlocks
17 17
      */
18 18
     #[\PHPUnit\Framework\Attributes\DataProvider('providerDateTime')]
19
-    public function testDateTime(string $expectedResult, string|null|array $separators, array $formatBlocks): void
19
+    public function testDateTime(string $expectedResult, string | null | array $separators, array $formatBlocks): void
20 20
     {
21 21
         $wizard = new DateTime($separators, ...$formatBlocks);
22 22
         self::assertSame($expectedResult, (string) $wizard);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Engine/RangeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     }
35 35
 
36 36
     #[\PHPUnit\Framework\Attributes\DataProvider('providerRangeEvaluation')]
37
-    public function testRangeEvaluation(string $formula, int|string $expectedResult): void
37
+    public function testRangeEvaluation(string $formula, int | string $expectedResult): void
38 38
     {
39 39
         $this->spreadSheet = $this->getSpreadsheet();
40 40
         $workSheet = $this->spreadSheet->getActiveSheet();
Please login to merge, or discard this patch.
PhpSpreadsheetTests/Calculation/Functions/TextData/ValueToTextTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 class ValueToTextTest extends AllSetupTeardown
11 11
 {
12 12
     #[\PHPUnit\Framework\Attributes\DataProvider('providerVALUE')]
13
-    public function testVALUETOTEXT(mixed $expectedResult, mixed $value, int|string $format): void
13
+    public function testVALUETOTEXT(mixed $expectedResult, mixed $value, int | string $format): void
14 14
     {
15 15
         $sheet = $this->getSheet();
16 16
         $this->setCell('A1', $value);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Logical/OrTest.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('providerORLiteral')]
21
-    public function testORLiteral(bool|string $expectedResult, float|int|string $formula): void
21
+    public function testORLiteral(bool | string $expectedResult, float | int | string $formula): void
22 22
     {
23 23
         $sheet = $this->getSheet();
24 24
         $sheet->getCell('A1')->setValue("=OR($formula)");
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Financial/HelpersTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 class HelpersTest extends TestCase
11 11
 {
12 12
     #[\PHPUnit\Framework\Attributes\DataProvider('providerDaysPerYear')]
13
-    public function testDaysPerYear(mixed $expectedResult, int $year, int|string $basis): void
13
+    public function testDaysPerYear(mixed $expectedResult, int $year, int | string $basis): void
14 14
     {
15 15
         $result = Helpers::daysPerYear($year, $basis);
16 16
         self::assertSame($expectedResult, $result);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/Bin2HexTest.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('providerBIN2HEX')]
31
-    public function testDirectCallToBIN2HEX(mixed $expectedResult, bool|float|int|string $value, null|float|int|string $digits = null): void
31
+    public function testDirectCallToBIN2HEX(mixed $expectedResult, bool | float | int | string $value, null | float | int | string $digits = null): void
32 32
     {
33 33
         $result = ($digits === null) ? ConvertBinary::toHex($value) : ConvertBinary::toHex($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('providerBIN2HEXOds')]
105
-    public function testBIN2HEXOds(mixed $expectedResult, bool|float|int|string $value, ?int $digits = null): void
105
+    public function testBIN2HEXOds(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/GeStepTest.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 GeStepTest extends TestCase
15 15
 {
16 16
     #[\PHPUnit\Framework\Attributes\DataProvider('providerGESTEP')]
17
-    public function testDirectCallToGESTEP(int|string $expectedResult, bool|float|int|string $arg1, null|bool|float|int|string $arg2 = null): void
17
+    public function testDirectCallToGESTEP(int | string $expectedResult, bool | float | int | string $arg1, null | bool | float | int | string $arg2 = null): void
18 18
     {
19 19
         $result = ($arg2 === null) ? Compare::geStep($arg1) : Compare::geStep($arg1, $arg2);
20 20
         self::assertSame($expectedResult, $result);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/Engineering/ImCotTest.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('providerIMCOT')]
29
-    public function testDirectCallToIMCOT(float|string $expectedResult, string $arg): void
29
+    public function testDirectCallToIMCOT(float | string $expectedResult, string $arg): void
30 30
     {
31 31
         $result = ComplexFunctions::IMCOT($arg);
32 32
         self::assertTrue(
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
@@ -14,14 +14,14 @@  discard block
 block discarded – undo
14 14
 class BitOrTest extends TestCase
15 15
 {
16 16
     #[\PHPUnit\Framework\Attributes\DataProvider('providerBITOR')]
17
-    public function testDirectCallToBITOR(float|int|string $expectedResult, null|bool|int|float|string $arg1, null|bool|int|float|string $arg2): void
17
+    public function testDirectCallToBITOR(float | int | string $expectedResult, null | bool | int | float | string $arg1, null | bool | int | float | string $arg2): void
18 18
     {
19 19
         $result = BitWise::BITOR($arg1, $arg2);
20 20
         self::assertSame($expectedResult, $result);
21 21
     }
22 22
 
23 23
     #[\PHPUnit\Framework\Attributes\DataProvider('providerBITOR')]
24
-    public function testBITORAsFormula(float|int|string $expectedResult, mixed ...$args): void
24
+    public function testBITORAsFormula(float | int | string $expectedResult, mixed ...$args): void
25 25
     {
26 26
         $arguments = new FormulaArguments(...$args);
27 27
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     }
34 34
 
35 35
     #[\PHPUnit\Framework\Attributes\DataProvider('providerBITOR')]
36
-    public function testBITORInWorksheet(float|int|string $expectedResult, mixed ...$args): void
36
+    public function testBITORInWorksheet(float | int | string $expectedResult, mixed ...$args): void
37 37
     {
38 38
         $arguments = new FormulaArguments(...$args);
39 39
 
Please login to merge, or discard this patch.