Passed
Push — master ( 3e93d4...2d1f4e )
by
unknown
24:41 queued 16:58
created
tests/PhpSpreadsheetTests/Style/NumberFormat/Wizard/DateTest.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
      * @param string[] $formatBlocks
15 15
      */
16 16
     #[\PHPUnit\Framework\Attributes\DataProvider('providerDate')]
17
-    public function testDate(string $expectedResult, string|array|null $separators = null, array $formatBlocks = []): void
17
+    public function testDate(string $expectedResult, string | array | null $separators = null, array $formatBlocks = []): void
18 18
     {
19 19
         $wizard = new Date($separators, ...$formatBlocks);
20 20
         self::assertSame($expectedResult, (string) $wizard);
Please login to merge, or discard this patch.
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/CalculationFunctionListTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     }
26 26
 
27 27
     #[\PHPUnit\Framework\Attributes\DataProvider('providerGetFunctions')]
28
-    public function testGetFunctions(array|string $functionCall): void
28
+    public function testGetFunctions(array | string $functionCall): void
29 29
     {
30 30
         self::assertIsCallable($functionCall);
31 31
     }
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/DateTime/DaysTest.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
 class DaysTest extends TestCase
17 17
 {
18 18
     #[\PHPUnit\Framework\Attributes\DataProvider('providerDAYS')]
19
-    public function testDirectCallToDAYS(int|string $expectedResult, int|string $date1, int|string $date2): void
19
+    public function testDirectCallToDAYS(int | string $expectedResult, int | string $date1, int | string $date2): void
20 20
     {
21 21
         $result = Days::between($date1, $date2);
22 22
         self::assertSame($expectedResult, $result);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/DateTime/WeekDayTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     }
31 31
 
32 32
     #[\PHPUnit\Framework\Attributes\DataProvider('providerWEEKDAY')]
33
-    public function testDirectCallToWEEKDAY(int|string $expectedResult, bool|int|string $dateValue, null|int|string $style = null): void
33
+    public function testDirectCallToWEEKDAY(int | string $expectedResult, bool | int | string $dateValue, null | int | string $style = null): void
34 34
     {
35 35
         $result = ($style === null) ? Week::day($dateValue) : Week::day($dateValue, $style);
36 36
         self::assertSame($expectedResult, $result);
Please login to merge, or discard this patch.