@@ -266,7 +266,7 @@ |
||
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); |
@@ -65,7 +65,7 @@ |
||
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 | } |
@@ -12,7 +12,7 @@ |
||
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; |
@@ -96,7 +96,7 @@ |
||
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'); |