Passed
Pull Request — master (#4468)
by Owen
21:21 queued 14:00
created
tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/RowTest.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 RowTest extends AllSetupTeardown
10 10
 {
11 11
     #[\PHPUnit\Framework\Attributes\DataProvider('providerROW')]
12
-    public function testROW(mixed $expectedResult, null|array|string $cellReference = null): void
12
+    public function testROW(mixed $expectedResult, null | array | string $cellReference = null): void
13 13
     {
14 14
         $result = LookupRef\RowColumnInformation::ROW($cellReference);
15 15
         self::assertSame($expectedResult, $result);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Calculation/Functions/LookupRef/RowsTest.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
 class RowsTest extends TestCase
12 12
 {
13 13
     #[\PHPUnit\Framework\Attributes\DataProvider('providerROWS')]
14
-    public function testROWS(mixed $expectedResult, null|array|string $arg): void
14
+    public function testROWS(mixed $expectedResult, null | array | string $arg): void
15 15
     {
16 16
         $result = LookupRef\RowColumnInformation::ROWS($arg);
17 17
         self::assertEquals($expectedResult, $result);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Reader/Csv/CsvIssue2232Test.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('providerIssue2232')]
33
-    public function testBooleanConversions(bool $useStringBinder, ?bool $preserveBoolString, bool|string $b2Value, bool|string $b3Value): void
33
+    public function testBooleanConversions(bool $useStringBinder, ?bool $preserveBoolString, bool | string $b2Value, bool | string $b3Value): void
34 34
     {
35 35
         if ($useStringBinder) {
36 36
             $binder = new StringValueBinder();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Reader/Csv/CsvNumberFormatTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     }
22 22
 
23 23
     #[\PHPUnit\Framework\Attributes\DataProvider('providerNumberFormatNoConversionTest')]
24
-    public function testNumberFormatNoConversion(int|string $expectedValue, string $expectedFormat, string $cellAddress): void
24
+    public function testNumberFormatNoConversion(int | string $expectedValue, string $expectedFormat, string $cellAddress): void
25 25
     {
26 26
         $spreadsheet = $this->csvReader->load($this->filename);
27 27
         $worksheet = $spreadsheet->getActiveSheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Reader/Xls/ErrorCodeMapTest.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 ErrorCodeMapTest extends TestCase
11 11
 {
12 12
     #[\PHPUnit\Framework\Attributes\DataProvider('errorCodeMapProvider')]
13
-    public function testErrorCode(bool|string $expected, int $index): void
13
+    public function testErrorCode(bool | string $expected, int $index): void
14 14
     {
15 15
         self::assertSame($expected, ErrorCode::lookup($index));
16 16
     }
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Shared/FontTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     }
43 43
 
44 44
     #[\PHPUnit\Framework\Attributes\DataProvider('providerFontSizeToPixels')]
45
-    public function testFontSizeToPixels(float|int $expectedResult, float|int $size): void
45
+    public function testFontSizeToPixels(float | int $expectedResult, float | int $size): void
46 46
     {
47 47
         $result = Font::fontSizeToPixels($size);
48 48
         self::assertEquals($expectedResult, $result);
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     }
55 55
 
56 56
     #[\PHPUnit\Framework\Attributes\DataProvider('providerInchSizeToPixels')]
57
-    public function testInchSizeToPixels(float|int $expectedResult, float|int $size): void
57
+    public function testInchSizeToPixels(float | int $expectedResult, float | int $size): void
58 58
     {
59 59
         $result = Font::inchSizeToPixels($size);
60 60
         self::assertEqualsWithDelta($expectedResult, $result, self::FONT_PRECISION);
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
 class RefRangeTest extends TestCase
12 12
 {
13 13
     #[\PHPUnit\Framework\Attributes\DataProvider('providerRefRange')]
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/Writer/Xlsx/FloatsRetainedTest.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
 class FloatsRetainedTest extends TestCase
14 14
 {
15 15
     #[\PHPUnit\Framework\Attributes\DataProvider('providerIntyFloatsRetainedByWriter')]
16
-    public function testIntyFloatsRetainedByWriter(float|int $value): void
16
+    public function testIntyFloatsRetainedByWriter(float | int $value): void
17 17
     {
18 18
         $outputFilename = File::temporaryFilename();
19 19
         $spreadsheet = new Spreadsheet();
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Cell/DefaultValueBinderTest.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 DefaultValueBinderTest extends TestCase
17 17
 {
18 18
     #[\PHPUnit\Framework\Attributes\DataProvider('binderProvider')]
19
-    public function testBindValue(null|string|bool|int|float|DateTime|DateTimeImmutable $value): void
19
+    public function testBindValue(null | string | bool | int | float | DateTime | DateTimeImmutable $value): void
20 20
     {
21 21
         $spreadsheet = new Spreadsheet();
22 22
         $sheet = $spreadsheet->getActiveSheet();
Please login to merge, or discard this patch.