Completed
Push — develop ( 679184...cbeae0 )
by Adrien
14s
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.