Passed
Pull Request — master (#3718)
by Adrien
13:53
created
Category
tests/PhpSpreadsheetTests/Chart/Charts32CatAxValAxTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
             true, // plotVisibleOnly
128 128
             DataSeries::EMPTY_AS_GAP, // displayBlanksAs
129 129
             null, // xAxisLabel
130
-            $yAxisLabel,  // yAxisLabel
130
+            $yAxisLabel, // yAxisLabel
131 131
             // added xAxis for correct date display
132 132
             $xAxis, // xAxis
133 133
         );
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xlsx/Chart.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1176,8 +1176,8 @@
 block discarded – undo
1176 1176
                         $objWriter->startElement('c:numFmt');
1177 1177
                         $objWriter->writeAttribute('formatCode', 'General');
1178 1178
                         $objWriter->writeAttribute('sourceLinked', '0');
1179
-                        $objWriter->endElement();  // numFmt
1180
-                        $objWriter->endElement();  // trendlineLbl
1179
+                        $objWriter->endElement(); // numFmt
1180
+                        $objWriter->endElement(); // trendlineLbl
1181 1181
                     }
1182 1182
 
1183 1183
                     $objWriter->endElement(); // trendline
Please login to merge, or discard this patch.
samples/Chart/33_Chart_create_scatter5_trendlines.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
     true, // plotVisibleOnly
156 156
     DataSeries::EMPTY_AS_GAP, // displayBlanksAs
157 157
     null, // xAxisLabel
158
-    $yAxisLabel,  // yAxisLabel
158
+    $yAxisLabel, // yAxisLabel
159 159
     // added xAxis for correct date display
160 160
     $xAxis, // xAxis
161 161
     //  $yAxis, // yAxis
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
     true, // plotVisibleOnly
252 252
     DataSeries::EMPTY_AS_GAP, // displayBlanksAs
253 253
     null, // xAxisLabel
254
-    $yAxisLabel,  // yAxisLabel
254
+    $yAxisLabel, // yAxisLabel
255 255
     // added xAxis for correct date display
256 256
     $xAxis, // xAxis
257 257
     //  $yAxis, // yAxis
Please login to merge, or discard this patch.
samples/Chart/33_Chart_create_scatter3.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
 
130 130
 $yAxis = new ChartAxis();
131 131
 $yAxis->setLineStyleProperties(
132
-    2.5,     // width in points
132
+    2.5, // width in points
133 133
     Properties::LINE_STYLE_COMPOUND_SIMPLE,
134 134
     Properties::LINE_STYLE_DASH_DASH_DOT,
135 135
     Properties::LINE_STYLE_CAP_FLAT,
Please login to merge, or discard this patch.
samples/Chart/33_Chart_create_scatter2.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 
129 129
 $yAxis = new ChartAxis();
130 130
 $yAxis->setLineStyleProperties(
131
-    2.5,     // width in points
131
+    2.5, // width in points
132 132
     Properties::LINE_STYLE_COMPOUND_SIMPLE,
133 133
     Properties::LINE_STYLE_DASH_DASH_DOT,
134 134
     Properties::LINE_STYLE_CAP_FLAT,
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     true, // plotVisibleOnly
167 167
     DataSeries::EMPTY_AS_GAP, // displayBlanksAs
168 168
     null, // xAxisLabel
169
-    $yAxisLabel,  // yAxisLabel
169
+    $yAxisLabel, // yAxisLabel
170 170
     // added xAxis for correct date display
171 171
     $xAxis, // xAxis
172 172
     $yAxis, // yAxis
Please login to merge, or discard this patch.
samples/Chart/33_Chart_create_line_dateaxis.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     true, // plotVisibleOnly
182 182
     DataSeries::EMPTY_AS_GAP, // displayBlanksAs
183 183
     null, // xAxisLabel
184
-    $yAxisLabel,  // yAxisLabel
184
+    $yAxisLabel, // yAxisLabel
185 185
     // added xAxis for correct date display
186 186
     $xAxis, // xAxis
187 187
     $yAxis, // yAxis
@@ -291,13 +291,13 @@  discard block
 block discarded – undo
291 291
     null, // minor_tick_mark
292 292
     $dateMinMax['min'], // minimum calculate this from the earliest data: 'Data!$A$2'
293 293
     $dateMinMax['max'], // maximum calculate this from the last data:     'Data!$A$'.($nrows+1)
294
-    $tickMarkInterval,  // majorUnit determines tickmarks & Gridlines ?
294
+    $tickMarkInterval, // majorUnit determines tickmarks & Gridlines ?
295 295
     null, // minorUnit
296 296
     null, // textRotation
297 297
     null, // hidden
298 298
     'days', // baseTimeUnit
299 299
     'months', // majorTimeUnit,
300
-    'months',   // minorTimeUnit
300
+    'months', // minorTimeUnit
301 301
 );
302 302
 
303 303
 $yAxisLabel = new Title('Value ($k)');
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
     true, // plotVisibleOnly
318 318
     DataSeries::EMPTY_AS_GAP, // displayBlanksAs
319 319
     null, // xAxisLabel
320
-    $yAxisLabel,  // yAxisLabel
320
+    $yAxisLabel, // yAxisLabel
321 321
     // added xAxis for correct date display
322 322
     $xAxis, // xAxis
323 323
     $yAxis, // yAxis
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Chart/PR3163Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,8 +116,8 @@
 block discarded – undo
116 116
             true, // plotVisibleOnly
117 117
             DataSeries::EMPTY_AS_GAP, // displayBlanksAs
118 118
             null, // xAxisLabel
119
-            $yAxisLabel,  // yAxisLabel
120
-            $xAxis,  // xAxis
119
+            $yAxisLabel, // yAxisLabel
120
+            $xAxis, // xAxis
121 121
             $yAxis   // yAxis
122 122
         );
123 123
 
Please login to merge, or discard this patch.
samples/Pdf/mpdf2.inc 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         //    even though it uses camel-case fontDir.
33 33
         $fontdata = $defaultFontConfig['fontdata'];
34 34
         $fontFile = 'ShadowsIntoLight-Regular.ttf';
35
-        $config['fontdata'] = $fontdata + [ // lowercase letters only in font key
35
+        $config['fontdata'] = $fontdata + [// lowercase letters only in font key
36 36
             'shadowsintolight' => [
37 37
                     'R' => $fontFile,
38 38
                 ],
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xls.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -397,7 +397,7 @@  discard block
 block discarded – undo
397 397
         }
398 398
     }
399 399
 
400
-    private function processMemoryDrawing(BstoreContainer &$bstoreContainer, MemoryDrawing $drawing, string $renderingFunctionx): void
400
+    private function processMemoryDrawing(BstoreContainer & $bstoreContainer, MemoryDrawing $drawing, string $renderingFunctionx): void
401 401
     {
402 402
         switch ($renderingFunctionx) {
403 403
             case MemoryDrawing::RENDERING_JPEG:
@@ -429,7 +429,7 @@  discard block
 block discarded – undo
429 429
 
430 430
     private static int $two = 2; // phpstan silliness
431 431
 
432
-    private function processDrawing(BstoreContainer &$bstoreContainer, Drawing $drawing): void
432
+    private function processDrawing(BstoreContainer & $bstoreContainer, Drawing $drawing): void
433 433
     {
434 434
         $blipType = 0;
435 435
         $blipData = '';
@@ -486,7 +486,7 @@  discard block
 block discarded – undo
486 486
         }
487 487
     }
488 488
 
489
-    private function processBaseDrawing(BstoreContainer &$bstoreContainer, BaseDrawing $drawing): void
489
+    private function processBaseDrawing(BstoreContainer & $bstoreContainer, BaseDrawing $drawing): void
490 490
     {
491 491
         if ($drawing instanceof Drawing) {
492 492
             $this->processDrawing($bstoreContainer, $drawing);
Please login to merge, or discard this patch.