Failed Conditions
Pull Request — master (#4024)
by Adrien
11:02
created
tests/PhpSpreadsheetTests/Document/PropertiesTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * @dataProvider providerCreationTime
49 49
      */
50
-    public function testSetCreated(null|int $expectedCreationTime, null|int|string $created): void
50
+    public function testSetCreated(null | int $expectedCreationTime, null | int | string $created): void
51 51
     {
52 52
         $expectedCreationTime = $expectedCreationTime ?? $this->startTime;
53 53
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * @dataProvider providerModifiedTime
78 78
      */
79
-    public function testSetModified(mixed $expectedModifiedTime, null|int|string $modified): void
79
+    public function testSetModified(mixed $expectedModifiedTime, null | int | string $modified): void
80 80
     {
81 81
         $expectedModifiedTime = $expectedModifiedTime ?? $this->startTime;
82 82
 
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     /**
154 154
      * @dataProvider providerCustomProperties
155 155
      */
156
-    public function testSetCustomProperties(mixed $expectedType, mixed $expectedValue, string $propertyName, null|bool|float|int|string $propertyValue, ?string $propertyType = null): void
156
+    public function testSetCustomProperties(mixed $expectedType, mixed $expectedValue, string $propertyName, null | bool | float | int | string $propertyValue, ?string $propertyType = null): void
157 157
     {
158 158
         if ($propertyType === null) {
159 159
             $this->properties->setCustomProperty($propertyName, $propertyValue);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Cell/CellAddressTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
     /**
85 85
      * @dataProvider providerCreateFromColumnRowException
86 86
      */
87
-    public function testCreateFromColumnRowException(int|string $columnId, int|string $rowId): void
87
+    public function testCreateFromColumnRowException(int | string $columnId, int | string $rowId): void
88 88
     {
89 89
         $this->expectException(Exception::class);
90 90
         $this->expectExceptionMessage('Row and Column Ids must be positive integer values');
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Style/NumberFormat/Wizard/DateTime.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         $this->formatBlocks = array_map([$this, 'mapFormatBlocks'], $formatBlocks);
29 29
     }
30 30
 
31
-    private function mapFormatBlocks(DateTimeWizard|string $value): string
31
+    private function mapFormatBlocks(DateTimeWizard | string $value): string
32 32
     {
33 33
         // Any date masking codes are returned as lower case values
34 34
         if ($value instanceof DateTimeWizard) {
Please login to merge, or discard this patch.