Passed
Push — master ( 68fd71...055281 )
by
unknown
16:29 queued 06:03
created
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.
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.
tests/PhpSpreadsheetTests/Style/NumberFormat/Wizard/CurrencyTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -67,12 +67,12 @@  discard block
 block discarded – undo
67 67
             ["[\$€-fy-NL]\u{a0}#,##0.00;[\$€-fy-NL]\u{a0}#,##0.00-", '€', 'fy-NL'], // Trailing negative
68 68
             ["[\$€-nl-NL]\u{a0}#,##0.00;[\$€-nl-NL]\u{a0}-#,##0.00", '€', 'nl-NL'], // Sign between currency and value
69 69
             ["[\$€-nl-BE]\u{a0}#,##0.00;[\$€-nl-BE]\u{a0}-#,##0.00", '€', 'NL-BE'], // Sign between currency and value
70
-            ["#,##0.00\u{a0}[\$€-fr-BE]", '€', 'fr-be'],   // Trailing currency code
71
-            ["#,##0.00\u{a0}[\$€-el-GR]", '€', 'el-gr'],   // Trailing currency code
70
+            ["#,##0.00\u{a0}[\$€-fr-BE]", '€', 'fr-be'], // Trailing currency code
71
+            ["#,##0.00\u{a0}[\$€-el-GR]", '€', 'el-gr'], // Trailing currency code
72 72
             ['[$$-en-CA]#,##0.00', '$', 'en-ca'],
73
-            ["#,##0.00\u{a0}[\$\$-fr-CA]", '$', 'fr-ca'],   // Trailing currency code
73
+            ["#,##0.00\u{a0}[\$\$-fr-CA]", '$', 'fr-ca'], // Trailing currency code
74 74
             ['[$¥-ja-JP]#,##0', '¥', 'ja-JP'], // No decimals
75
-            ["#,##0.000\u{a0}[\$د.ب\u{200e}-ar-BH]", "د.ب\u{200e}", 'ar-BH', true],  // 3 decimals
75
+            ["#,##0.000\u{a0}[\$د.ب\u{200e}-ar-BH]", "د.ب\u{200e}", 'ar-BH', true], // 3 decimals
76 76
         ];
77 77
     }
78 78
 
@@ -130,12 +130,12 @@  discard block
 block discarded – undo
130 130
             ["[\$€-fy-NL]\u{a0}#,##0;[\$€-fy-NL]\u{a0}#,##0-", '€', 'fy-NL'], // Trailing negative
131 131
             ["[\$€-nl-NL]\u{a0}#,##0;[\$€-nl-NL]\u{a0}-#,##0", '€', 'nl-NL'], // Sign between currency and value
132 132
             ["[\$€-nl-BE]\u{a0}#,##0;[\$€-nl-BE]\u{a0}-#,##0", '€', 'NL-BE'], // Sign between currency and value
133
-            ["#,##0\u{a0}[\$€-fr-BE]", '€', 'fr-be'],   // Trailing currency code
134
-            ["#,##0\u{a0}[\$€-el-GR]", '€', 'el-gr'],   // Trailing currency code
133
+            ["#,##0\u{a0}[\$€-fr-BE]", '€', 'fr-be'], // Trailing currency code
134
+            ["#,##0\u{a0}[\$€-el-GR]", '€', 'el-gr'], // Trailing currency code
135 135
             ['[$$-en-CA]#,##0', '$', 'en-ca'],
136
-            ["#,##0\u{a0}[\$\$-fr-CA]", '$', 'fr-ca'],   // Trailing currency code
136
+            ["#,##0\u{a0}[\$\$-fr-CA]", '$', 'fr-ca'], // Trailing currency code
137 137
             ['[$¥-ja-JP]#,##0', '¥', 'ja-JP'], // No decimals to truncate
138
-            ["#,##0\u{a0}[\$د.ب\u{200e}-ar-BH]", "د.ب\u{200e}", 'ar-BH', true],  // 3 decimals truncated to none
138
+            ["#,##0\u{a0}[\$د.ب\u{200e}-ar-BH]", "د.ب\u{200e}", 'ar-BH', true], // 3 decimals truncated to none
139 139
         ];
140 140
     }
141 141
 
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Style/NumberFormat/Wizard/AccountingTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             ['[$$-en-CA]#,##0.00;([$$-en-CA]#,##0.00)', '$', 'en-ca'],
73 73
             ["#,##0.00\u{a0}[\$\$-fr-CA];(#,##0.00\u{a0}[\$\$-fr-CA])", '$', 'fr-ca'],
74 74
             ['[$¥-ja-JP]#,##0;([$¥-ja-JP]#,##0)', '¥', 'ja-JP'], // No decimals
75
-            ["#,##0.000\u{a0}[\$د.ب\u{200e}-ar-BH]", "د.ب\u{200e}", 'ar-BH', true],  // 3 decimals
75
+            ["#,##0.000\u{a0}[\$د.ب\u{200e}-ar-BH]", "د.ب\u{200e}", 'ar-BH', true], // 3 decimals
76 76
         ];
77 77
     }
78 78
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
             ['[$$-en-CA]#,##0;([$$-en-CA]#,##0)', '$', 'en-ca'],
136 136
             ["#,##0\u{a0}[\$\$-fr-CA];(#,##0\u{a0}[\$\$-fr-CA])", '$', 'fr-ca'],
137 137
             ['[$¥-ja-JP]#,##0;([$¥-ja-JP]#,##0)', '¥', 'ja-JP'], // No decimals to truncate
138
-            ["#,##0\u{a0}[\$د.ب\u{200e}-ar-BH]", "د.ب\u{200e}", 'ar-BH', true],  // 3 decimals truncated to none
138
+            ["#,##0\u{a0}[\$د.ب\u{200e}-ar-BH]", "د.ب\u{200e}", 'ar-BH', true], // 3 decimals truncated to none
139 139
         ];
140 140
     }
141 141
 
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Chart/Issue589Test.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
      * @param string|string[] $color HEX color or array with HEX colors
23 23
      */
24
-    private function buildChartSpreadsheet(string|array $color): Spreadsheet
24
+    private function buildChartSpreadsheet(string | array $color): Spreadsheet
25 25
     {
26 26
         // Problem occurs when setting plot line color
27 27
         // The output chart xml file is missing the a:ln tag
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/MemoryDrawing.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * Image resource.
31 31
      */
32
-    private null|GdImage $imageResource = null;
32
+    private null | GdImage $imageResource = null;
33 33
 
34 34
     /**
35 35
      * Rendering function.
Please login to merge, or discard this patch.
tests/data/Calculation/LookupRef/LOOKUP.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 declare(strict_types=1);
4 4
 
5 5
 return [
6
-    [ // Office reference example #1
6
+    [// Office reference example #1
7 7
         'orange',
8 8
         4.19,
9 9
         [
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
             ['blue'],
22 22
         ],
23 23
     ],
24
-    [ // Office reference example #2
24
+    [// Office reference example #2
25 25
         'yellow',
26 26
         5.75,
27 27
         [
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             ['blue'],
40 40
         ],
41 41
     ],
42
-    [ // Office reference example #3
42
+    [// Office reference example #3
43 43
         'blue',
44 44
         7.66,
45 45
         [
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
             ['blue'],
58 58
         ],
59 59
     ],
60
-    [ // Office reference example #4
60
+    [// Office reference example #4
61 61
         '#N/A',
62 62
         0,
63 63
         [
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
             ['blue'],
76 76
         ],
77 77
     ],
78
-    [ // Array form test
78
+    [// Array form test
79 79
         'orange',
80 80
         4.2,
81 81
         [
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/MathTrig/Sign.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
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
22 22
      *            with the same dimensions
23 23
      */
24
-    public static function evaluate($number): array|string|int
24
+    public static function evaluate($number): array | string | int
25 25
     {
26 26
         if (is_array($number)) {
27 27
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/MathTrig/Sqrt.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      *         If an array of numbers is passed as the argument, then the returned result will also be an array
47 47
      *            with the same dimensions
48 48
      */
49
-    public static function pi($number): array|string|float
49
+    public static function pi($number): array | string | float
50 50
     {
51 51
         if (is_array($number)) {
52 52
             return self::evaluateSingleArgumentArray([self::class, __FUNCTION__], $number);
Please login to merge, or discard this patch.