Passed
Pull Request — master (#3718)
by Adrien
21:40 queued 10:12
created
Category
tests/PhpSpreadsheetTests/Cell/DefaultValueBinderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * @dataProvider binderProvider
17 17
      */
18
-    public function testBindValue(null|string|bool|int|float|DateTime|DateTimeImmutable $value): void
18
+    public function testBindValue(null | string | bool | int | float | DateTime | DateTimeImmutable $value): void
19 19
     {
20 20
         $spreadsheet = new Spreadsheet();
21 21
         $sheet = $spreadsheet->getActiveSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Worksheet/Table/TableTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
     /**
157 157
      * @param AddressRange|array<int>|string $fullRange
158 158
      */
159
-    public function xtestSetRangeValidRange(string|array|AddressRange $fullRange, string $actualRange): void
159
+    public function xtestSetRangeValidRange(string | array | AddressRange $fullRange, string $actualRange): void
160 160
     {
161 161
         $table = new Table(self::INITIAL_RANGE);
162 162
 
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
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      * @param null|string|string[] $separators
16 16
      * @param string[] $formatBlocks
17 17
      */
18
-    public function testDateTime(string $expectedResult, string|null|array $separators, array $formatBlocks): void
18
+    public function testDateTime(string $expectedResult, string | null | array $separators, array $formatBlocks): void
19 19
     {
20 20
         $wizard = new DateTime($separators, ...$formatBlocks);
21 21
         self::assertSame($expectedResult, (string) $wizard);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Style/NumberFormat/Wizard/TimeTest.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 null|string|string[] $separators
14 14
      * @param string[] $formatBlocks
15 15
      */
16
-    public function testTime(string $expectedResult, string|array|null $separators = null, array $formatBlocks = []): void
16
+    public function testTime(string $expectedResult, string | array | null $separators = null, array $formatBlocks = []): void
17 17
     {
18 18
         $wizard = new Time($separators, ...$formatBlocks);
19 19
         self::assertSame($expectedResult, (string) $wizard);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Style/NumberFormat/Wizard/DateTest.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 null|string|string[] $separators
14 14
      * @param string[] $formatBlocks
15 15
      */
16
-    public function testDate(string $expectedResult, string|array|null $separators = null, array $formatBlocks = []): void
16
+    public function testDate(string $expectedResult, string | array | null $separators = null, array $formatBlocks = []): void
17 17
     {
18 18
         $wizard = new Date($separators, ...$formatBlocks);
19 19
         self::assertSame($expectedResult, (string) $wizard);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Style/NumberFormat/Wizard/DurationTest.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 null|string|string[] $separators
14 14
      * @param string[] $formatBlocks
15 15
      */
16
-    public function testTime(string $expectedResult, string|array|null $separators = null, array $formatBlocks = []): void
16
+    public function testTime(string $expectedResult, string | array | null $separators = null, array $formatBlocks = []): void
17 17
     {
18 18
         $wizard = new Duration($separators, ...$formatBlocks);
19 19
         self::assertSame($expectedResult, (string) $wizard);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/RefRangeTest.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 providerRefRange
13 13
      */
14
-    public function testRefRange(int|string $expectedResult, string $rangeString): void
14
+    public function testRefRange(int | string $expectedResult, string $rangeString): void
15 15
     {
16 16
         $spreadsheet = new Spreadsheet();
17 17
         $sheet = $spreadsheet->getActiveSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/TextData/TextSplitTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
         return '{' . $column . implode(',' . $column, range(1, count($argument))) . '}';
13 13
     }
14 14
 
15
-    private function setDelimiterValues(Worksheet $worksheet, string $column, array|string $argument): void
15
+    private function setDelimiterValues(Worksheet $worksheet, string $column, array | string $argument): void
16 16
     {
17 17
         if (is_array($argument)) {
18 18
             foreach ($argument as $index => $value) {
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
      * @dataProvider providerIsOdd
20 20
      */
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.