Completed
Push — develop ( fb2edf...150ad1 )
by Adrien
29:36
created
src/PhpSpreadsheet/Shared/OLE.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@
 block discarded – undo
266 266
     public function _readPpsWks($blockId)
267 267
     {
268 268
         $fh = $this->getStream($blockId);
269
-        for ($pos = 0;; $pos += 128) {
269
+        for ($pos = 0; ; $pos += 128) {
270 270
             fseek($fh, $pos, SEEK_SET);
271 271
             $nameUtf16 = fread($fh, 64);
272 272
             $nameLength = self::_readInt2($fh);
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/Shared/StringTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     public function testGetCurrencyCode()
66 66
     {
67 67
         $localeconv = localeconv();
68
-        $expectedResult = (!empty($localeconv['currency_symbol']) ? $localeconv['currency_symbol'] : (!empty($localeconv['int_curr_symbol']) ? $localeconv['int_curr_symbol']: '$'));
68
+        $expectedResult = (!empty($localeconv['currency_symbol']) ? $localeconv['currency_symbol'] : (!empty($localeconv['int_curr_symbol']) ? $localeconv['int_curr_symbol'] : '$'));
69 69
         $result = call_user_func([StringHelper::class, 'getCurrencyCode']);
70 70
         $this->assertEquals($expectedResult, $result);
71 71
     }
Please login to merge, or discard this patch.
tests/PhpSpreadsheetTests/SampleTest.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
     public function testSample($sample)
13 13
     {
14 14
         // Suppress output to console
15
-        $this->setOutputCallback(function () {
15
+        $this->setOutputCallback(function() {
16 16
         });
17 17
 
18 18
         require $sample;
Please login to merge, or discard this patch.
samples/templates/sampleSpreadsheet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
 // Merge cells
97 97
 $helper->log('Merge cells');
98 98
 $spreadsheet->getActiveSheet()->mergeCells('A18:E22');
99
-$spreadsheet->getActiveSheet()->mergeCells('A28:B28');  // Just to test...
99
+$spreadsheet->getActiveSheet()->mergeCells('A28:B28'); // Just to test...
100 100
 $spreadsheet->getActiveSheet()->unmergeCells('A28:B28'); // Just to test...
101 101
 // Protect cells
102 102
 $helper->log('Protect cells');
Please login to merge, or discard this patch.
tests/data/Calculation/TextData/CODE.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    [ null, '#VALUE!' ],
5
-    [ '', '#VALUE!', ],
6
-    [ 'ABC', 65 ],
7
-    [ 123, 49 ],
8
-    [ true, 84 ],
9
-    [ 'DEF', 68 ],
10
-    [ 'PhpSpreadsheet', 80 ],
11
-    [ 1.5, 49 ],
12
-    [ 'Mark Baker', 77 ],
13
-    [ 'mark baker', 109 ],
14
-    [ '£125.00', 163 ],
15
-    [ "⽇", 12103],
16
-    [ 'œ', 0x153 ],
17
-    [ 'ƒ', 0x192 ],
18
-    [ '℅', 0x2105 ],
19
-    [ '∑', 0x2211 ],
20
-    [ '†', 0x2020 ],
4
+    [null, '#VALUE!'],
5
+    ['', '#VALUE!', ],
6
+    ['ABC', 65],
7
+    [123, 49],
8
+    [true, 84],
9
+    ['DEF', 68],
10
+    ['PhpSpreadsheet', 80],
11
+    [1.5, 49],
12
+    ['Mark Baker', 77],
13
+    ['mark baker', 109],
14
+    ['£125.00', 163],
15
+    ["⽇", 12103],
16
+    ['œ', 0x153],
17
+    ['ƒ', 0x192],
18
+    ['℅', 0x2105],
19
+    ['∑', 0x2211],
20
+    ['†', 0x2020],
21 21
 ];
Please login to merge, or discard this patch.
tests/data/Calculation/TextData/CHAR.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    [ 'ABC', '#VALUE!' ],
5
-    [ -5, '#VALUE!' ],
6
-    [ 65, 'A' ],
7
-    [ 123, '{' ],
8
-    [ 126, '~' ],
9
-    [ 12103, "⽇" ],
10
-    [ 0x153, 'œ' ],
11
-    [ 0x192, 'ƒ' ],
12
-    [ 0x2105, '℅' ],
13
-    [ 0x2211, '∑' ],
14
-    [ 0x2020, '†' ],
4
+    ['ABC', '#VALUE!'],
5
+    [ -5, '#VALUE!'],
6
+    [65, 'A'],
7
+    [123, '{'],
8
+    [126, '~'],
9
+    [12103, "⽇"],
10
+    [0x153, 'œ'],
11
+    [0x192, 'ƒ'],
12
+    [0x2105, '℅'],
13
+    [0x2211, '∑'],
14
+    [0x2020, '†'],
15 15
 ];
Please login to merge, or discard this patch.