Completed
Push — develop ( aa97bb...91573b )
by
unknown
09:37
created
src/PhpSpreadsheet/Shared/OLE/PPS/File.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -33,34 +33,34 @@
 block discarded – undo
33 33
 class File extends \PHPExcel\Shared\OLE\PPS
34 34
 {
35 35
     /**
36
-    * The constructor
37
-    *
38
-    * @access public
39
-    * @param string $name The name of the file (in Unicode)
40
-    * @see OLE::ascToUcs()
41
-    */
36
+     * The constructor
37
+     *
38
+     * @access public
39
+     * @param string $name The name of the file (in Unicode)
40
+     * @see OLE::ascToUcs()
41
+     */
42 42
     public function __construct($name)
43 43
     {
44 44
         parent::__construct(null, $name, \PHPExcel\Shared\OLE::OLE_PPS_TYPE_FILE, null, null, null, null, null, '', array());
45 45
     }
46 46
 
47 47
     /**
48
-    * Initialization method. Has to be called right after OLE_PPS_File().
49
-    *
50
-    * @access public
51
-    * @return mixed true on success
52
-    */
48
+     * Initialization method. Has to be called right after OLE_PPS_File().
49
+     *
50
+     * @access public
51
+     * @return mixed true on success
52
+     */
53 53
     public function init()
54 54
     {
55 55
         return true;
56 56
     }
57 57
 
58 58
     /**
59
-    * Append data to PPS
60
-    *
61
-    * @access public
62
-    * @param string $data The data to append
63
-    */
59
+     * Append data to PPS
60
+     *
61
+     * @access public
62
+     * @param string $data The data to append
63
+     */
64 64
     public function append($data)
65 65
     {
66 66
         $this->_data .= $data;
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/OLE/PPS/Root.php 1 patch
Indentation   +54 added lines, -54 removed lines patch added patch discarded remove patch
@@ -51,17 +51,17 @@  discard block
 block discarded – undo
51 51
     }
52 52
 
53 53
     /**
54
-    * Method for saving the whole OLE container (including files).
55
-    * In fact, if called with an empty argument (or '-'), it saves to a
56
-    * temporary file and then outputs it's contents to stdout.
57
-    * If a resource pointer to a stream created by fopen() is passed
58
-    * it will be used, but you have to close such stream by yourself.
59
-    *
60
-    * @param string|resource $filename The name of the file or stream where to save the OLE container.
61
-    * @access public
62
-    * @return mixed true on success
63
-    * @throws \PHPExcel\Writer\Exception
64
-    */
54
+     * Method for saving the whole OLE container (including files).
55
+     * In fact, if called with an empty argument (or '-'), it saves to a
56
+     * temporary file and then outputs it's contents to stdout.
57
+     * If a resource pointer to a stream created by fopen() is passed
58
+     * it will be used, but you have to close such stream by yourself.
59
+     *
60
+     * @param string|resource $filename The name of the file or stream where to save the OLE container.
61
+     * @access public
62
+     * @return mixed true on success
63
+     * @throws \PHPExcel\Writer\Exception
64
+     */
65 65
     public function save($filename)
66 66
     {
67 67
         // Initial Setting for saving
@@ -117,12 +117,12 @@  discard block
 block discarded – undo
117 117
     }
118 118
 
119 119
     /**
120
-    * Calculate some numbers
121
-    *
122
-    * @access public
123
-    * @param array $raList Reference to an array of PPS's
124
-    * @return array The array of numbers
125
-    */
120
+     * Calculate some numbers
121
+     *
122
+     * @access public
123
+     * @param array $raList Reference to an array of PPS's
124
+     * @return array The array of numbers
125
+     */
126 126
     public function _calcSize(&$raList)
127 127
     {
128 128
         // Calculate Basic Setting
@@ -155,13 +155,13 @@  discard block
 block discarded – undo
155 155
     }
156 156
 
157 157
     /**
158
-    * Helper function for caculating a magic value for block sizes
159
-    *
160
-    * @access public
161
-    * @param integer $i2 The argument
162
-    * @see save()
163
-    * @return integer
164
-    */
158
+     * Helper function for caculating a magic value for block sizes
159
+     *
160
+     * @access public
161
+     * @param integer $i2 The argument
162
+     * @see save()
163
+     * @return integer
164
+     */
165 165
     private static function adjust2($i2)
166 166
     {
167 167
         $iWk = log($i2)/log(2);
@@ -169,13 +169,13 @@  discard block
 block discarded – undo
169 169
     }
170 170
 
171 171
     /**
172
-    * Save OLE header
173
-    *
174
-    * @access public
175
-    * @param integer $iSBDcnt
176
-    * @param integer $iBBcnt
177
-    * @param integer $iPPScnt
178
-    */
172
+     * Save OLE header
173
+     *
174
+     * @access public
175
+     * @param integer $iSBDcnt
176
+     * @param integer $iBBcnt
177
+     * @param integer $iPPScnt
178
+     */
179 179
     public function _saveHeader($iSBDcnt, $iBBcnt, $iPPScnt)
180 180
     {
181 181
         $FILE = $this->_FILEH_;
@@ -250,12 +250,12 @@  discard block
 block discarded – undo
250 250
     }
251 251
 
252 252
     /**
253
-    * Saving big data (PPS's with data bigger than \PHPExcel\Shared\OLE::OLE_DATA_SIZE_SMALL)
254
-    *
255
-    * @access public
256
-    * @param integer $iStBlk
257
-    * @param array &$raList Reference to array of PPS's
258
-    */
253
+     * Saving big data (PPS's with data bigger than \PHPExcel\Shared\OLE::OLE_DATA_SIZE_SMALL)
254
+     *
255
+     * @access public
256
+     * @param integer $iStBlk
257
+     * @param array &$raList Reference to array of PPS's
258
+     */
259 259
     public function _saveBigData($iStBlk, &$raList)
260 260
     {
261 261
         $FILE = $this->_FILEH_;
@@ -298,11 +298,11 @@  discard block
 block discarded – undo
298 298
     }
299 299
 
300 300
     /**
301
-    * get small data (PPS's with data smaller than \PHPExcel\Shared\OLE::OLE_DATA_SIZE_SMALL)
302
-    *
303
-    * @access public
304
-    * @param array &$raList Reference to array of PPS's
305
-    */
301
+     * get small data (PPS's with data smaller than \PHPExcel\Shared\OLE::OLE_DATA_SIZE_SMALL)
302
+     *
303
+     * @access public
304
+     * @param array &$raList Reference to array of PPS's
305
+     */
306 306
     public function _makeSmallData(&$raList)
307 307
     {
308 308
         $sRes = '';
@@ -355,11 +355,11 @@  discard block
 block discarded – undo
355 355
     }
356 356
 
357 357
     /**
358
-    * Saves all the PPS's WKs
359
-    *
360
-    * @access public
361
-    * @param array $raList Reference to an array with all PPS's
362
-    */
358
+     * Saves all the PPS's WKs
359
+     *
360
+     * @access public
361
+     * @param array $raList Reference to an array with all PPS's
362
+     */
363 363
     public function _savePps(&$raList)
364 364
     {
365 365
         // Save each PPS WK
@@ -376,13 +376,13 @@  discard block
 block discarded – undo
376 376
     }
377 377
 
378 378
     /**
379
-    * Saving Big Block Depot
380
-    *
381
-    * @access public
382
-    * @param integer $iSbdSize
383
-    * @param integer $iBsize
384
-    * @param integer $iPpsCnt
385
-    */
379
+     * Saving Big Block Depot
380
+     *
381
+     * @access public
382
+     * @param integer $iSbdSize
383
+     * @param integer $iBsize
384
+     * @param integer $iPpsCnt
385
+     */
386 386
     public function _saveBbd($iSbdSize, $iBsize, $iPpsCnt)
387 387
     {
388 388
         $FILE = $this->_FILEH_;
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/OLE.php 1 patch
Indentation   +88 added lines, -88 removed lines patch added patch discarded remove patch
@@ -50,43 +50,43 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * The file handle for reading an OLE container
52 52
      * @var resource
53
-    */
53
+     */
54 54
     public $_file_handle;
55 55
 
56 56
     /**
57
-    * Array of PPS's found on the OLE container
58
-    * @var array
59
-    */
57
+     * Array of PPS's found on the OLE container
58
+     * @var array
59
+     */
60 60
     public $_list = array();
61 61
 
62 62
     /**
63 63
      * Root directory of OLE container
64 64
      * @var OLE_PPS_Root
65
-    */
65
+     */
66 66
     public $root;
67 67
 
68 68
     /**
69 69
      * Big Block Allocation Table
70 70
      * @var array  (blockId => nextBlockId)
71
-    */
71
+     */
72 72
     public $bbat;
73 73
 
74 74
     /**
75 75
      * Short Block Allocation Table
76 76
      * @var array  (blockId => nextBlockId)
77
-    */
77
+     */
78 78
     public $sbat;
79 79
 
80 80
     /**
81 81
      * Size of big blocks. This is usually 512.
82 82
      * @var  int  number of octets per block.
83
-    */
83
+     */
84 84
     public $bigBlockSize;
85 85
 
86 86
     /**
87 87
      * Size of small blocks. This is usually 64.
88 88
      * @var  int  number of octets per block
89
-    */
89
+     */
90 90
     public $smallBlockSize;
91 91
 
92 92
     /**
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      * @param string $file
97 97
      * @return mixed true on success, PEAR_Error on failure
98 98
      * @throws \PHPExcel\Reader\Exception
99
-    */
99
+     */
100 100
     public function read($file)
101 101
     {
102 102
         $fh = fopen($file, "r");
@@ -193,11 +193,11 @@  discard block
 block discarded – undo
193 193
     }
194 194
 
195 195
     /**
196
-    * Returns a stream for use with fread() etc. External callers should
197
-    * use \PHPExcel\Shared\OLE\PPS\File::getStream().
198
-    * @param   int|PPS   block id or PPS
199
-    * @return  resource  read-only stream
200
-    */
196
+     * Returns a stream for use with fread() etc. External callers should
197
+     * use \PHPExcel\Shared\OLE\PPS\File::getStream().
198
+     * @param   int|PPS   block id or PPS
199
+     * @return  resource  read-only stream
200
+     */
201 201
     public function getStream($blockIdOrPps)
202 202
     {
203 203
         static $isRegistered = false;
@@ -259,13 +259,13 @@  discard block
 block discarded – undo
259 259
     }
260 260
 
261 261
     /**
262
-    * Gets information about all PPS's on the OLE container from the PPS WK's
263
-    * creates an OLE_PPS object for each one.
264
-    *
265
-    * @access public
266
-    * @param  integer  the block id of the first block
267
-    * @return mixed true on success, PEAR_Error on failure
268
-    */
262
+     * Gets information about all PPS's on the OLE container from the PPS WK's
263
+     * creates an OLE_PPS object for each one.
264
+     *
265
+     * @access public
266
+     * @param  integer  the block id of the first block
267
+     * @return mixed true on success, PEAR_Error on failure
268
+     */
269 269
     public function _readPpsWks($blockId)
270 270
     {
271 271
         $fh = $this->getStream($blockId);
@@ -333,13 +333,13 @@  discard block
 block discarded – undo
333 333
     }
334 334
 
335 335
     /**
336
-    * It checks whether the PPS tree is complete (all PPS's read)
337
-    * starting with the given PPS (not necessarily root)
338
-    *
339
-    * @access public
340
-    * @param integer $index The index of the PPS from which we are checking
341
-    * @return boolean Whether the PPS tree for the given PPS is complete
342
-    */
336
+     * It checks whether the PPS tree is complete (all PPS's read)
337
+     * starting with the given PPS (not necessarily root)
338
+     *
339
+     * @access public
340
+     * @param integer $index The index of the PPS from which we are checking
341
+     * @return boolean Whether the PPS tree for the given PPS is complete
342
+     */
343 343
     public function _ppsTreeComplete($index)
344 344
     {
345 345
         return isset($this->_list[$index]) &&
@@ -353,13 +353,13 @@  discard block
 block discarded – undo
353 353
     }
354 354
 
355 355
     /**
356
-    * Checks whether a PPS is a File PPS or not.
357
-    * If there is no PPS for the index given, it will return false.
358
-    *
359
-    * @access public
360
-    * @param integer $index The index for the PPS
361
-    * @return bool true if it's a File PPS, false otherwise
362
-    */
356
+     * Checks whether a PPS is a File PPS or not.
357
+     * If there is no PPS for the index given, it will return false.
358
+     *
359
+     * @access public
360
+     * @param integer $index The index for the PPS
361
+     * @return bool true if it's a File PPS, false otherwise
362
+     */
363 363
     public function isFile($index)
364 364
     {
365 365
         if (isset($this->_list[$index])) {
@@ -369,13 +369,13 @@  discard block
 block discarded – undo
369 369
     }
370 370
 
371 371
     /**
372
-    * Checks whether a PPS is a Root PPS or not.
373
-    * If there is no PPS for the index given, it will return false.
374
-    *
375
-    * @access public
376
-    * @param integer $index The index for the PPS.
377
-    * @return bool true if it's a Root PPS, false otherwise
378
-    */
372
+     * Checks whether a PPS is a Root PPS or not.
373
+     * If there is no PPS for the index given, it will return false.
374
+     *
375
+     * @access public
376
+     * @param integer $index The index for the PPS.
377
+     * @return bool true if it's a Root PPS, false otherwise
378
+     */
379 379
     public function isRoot($index)
380 380
     {
381 381
         if (isset($this->_list[$index])) {
@@ -385,28 +385,28 @@  discard block
 block discarded – undo
385 385
     }
386 386
 
387 387
     /**
388
-    * Gives the total number of PPS's found in the OLE container.
389
-    *
390
-    * @access public
391
-    * @return integer The total number of PPS's found in the OLE container
392
-    */
388
+     * Gives the total number of PPS's found in the OLE container.
389
+     *
390
+     * @access public
391
+     * @return integer The total number of PPS's found in the OLE container
392
+     */
393 393
     public function ppsTotal()
394 394
     {
395 395
         return count($this->_list);
396 396
     }
397 397
 
398 398
     /**
399
-    * Gets data from a PPS
400
-    * If there is no PPS for the index given, it will return an empty string.
401
-    *
402
-    * @access public
403
-    * @param integer $index    The index for the PPS
404
-    * @param integer $position The position from which to start reading
405
-    *                          (relative to the PPS)
406
-    * @param integer $length   The amount of bytes to read (at most)
407
-    * @return string The binary string containing the data requested
408
-    * @see OLE_PPS_File::getStream()
409
-    */
399
+     * Gets data from a PPS
400
+     * If there is no PPS for the index given, it will return an empty string.
401
+     *
402
+     * @access public
403
+     * @param integer $index    The index for the PPS
404
+     * @param integer $position The position from which to start reading
405
+     *                          (relative to the PPS)
406
+     * @param integer $length   The amount of bytes to read (at most)
407
+     * @return string The binary string containing the data requested
408
+     * @see OLE_PPS_File::getStream()
409
+     */
410 410
     public function getData($index, $position, $length)
411 411
     {
412 412
         // if position is not valid return empty string
@@ -420,13 +420,13 @@  discard block
 block discarded – undo
420 420
     }
421 421
 
422 422
     /**
423
-    * Gets the data length from a PPS
424
-    * If there is no PPS for the index given, it will return 0.
425
-    *
426
-    * @access public
427
-    * @param integer $index    The index for the PPS
428
-    * @return integer The amount of bytes in data the PPS has
429
-    */
423
+     * Gets the data length from a PPS
424
+     * If there is no PPS for the index given, it will return 0.
425
+     *
426
+     * @access public
427
+     * @param integer $index    The index for the PPS
428
+     * @return integer The amount of bytes in data the PPS has
429
+     */
430 430
     public function getDataLength($index)
431 431
     {
432 432
         if (isset($this->_list[$index])) {
@@ -436,13 +436,13 @@  discard block
 block discarded – undo
436 436
     }
437 437
 
438 438
     /**
439
-    * Utility function to transform ASCII text to Unicode
440
-    *
441
-    * @access public
442
-    * @static
443
-    * @param string $ascii The ASCII string to transform
444
-    * @return string The string in Unicode
445
-    */
439
+     * Utility function to transform ASCII text to Unicode
440
+     *
441
+     * @access public
442
+     * @static
443
+     * @param string $ascii The ASCII string to transform
444
+     * @return string The string in Unicode
445
+     */
446 446
     public static function ascToUcs($ascii)
447 447
     {
448 448
         $rawname = '';
@@ -453,14 +453,14 @@  discard block
 block discarded – undo
453 453
     }
454 454
 
455 455
     /**
456
-    * Utility function
457
-    * Returns a string for the OLE container with the date given
458
-    *
459
-    * @access public
460
-    * @static
461
-    * @param integer $date A timestamp
462
-    * @return string The string for the OLE container
463
-    */
456
+     * Utility function
457
+     * Returns a string for the OLE container with the date given
458
+     *
459
+     * @access public
460
+     * @static
461
+     * @param integer $date A timestamp
462
+     * @return string The string for the OLE container
463
+     */
464 464
     public static function localDateToOLE($date = null)
465 465
     {
466 466
         if (!isset($date)) {
@@ -498,13 +498,13 @@  discard block
 block discarded – undo
498 498
     }
499 499
 
500 500
     /**
501
-    * Returns a timestamp from an OLE container's date
502
-    *
503
-    * @access public
504
-    * @static
505
-    * @param integer $string A binary string with the encoded date
506
-    * @return string The timestamp corresponding to the string
507
-    */
501
+     * Returns a timestamp from an OLE container's date
502
+     *
503
+     * @access public
504
+     * @static
505
+     * @param integer $string A binary string with the encoded date
506
+     * @return string The timestamp corresponding to the string
507
+     */
508 508
     public static function OLE2LocalDate($string)
509 509
     {
510 510
         if (strlen($string) != 8) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/PCLZip/PclZip.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -538,12 +538,12 @@  discard block
 block discarded – undo
538 538
 
539 539
         // ----- For each file in the list check the attributes
540 540
         $v_supported_attributes = array(
541
-          PCLZIP_ATT_FILE_NAME => 'mandatory',
542
-          PCLZIP_ATT_FILE_NEW_SHORT_NAME => 'optional',
543
-          PCLZIP_ATT_FILE_NEW_FULL_NAME => 'optional',
544
-          PCLZIP_ATT_FILE_MTIME => 'optional',
545
-          PCLZIP_ATT_FILE_CONTENT => 'optional',
546
-          PCLZIP_ATT_FILE_COMMENT => 'optional',
541
+            PCLZIP_ATT_FILE_NAME => 'mandatory',
542
+            PCLZIP_ATT_FILE_NEW_SHORT_NAME => 'optional',
543
+            PCLZIP_ATT_FILE_NEW_FULL_NAME => 'optional',
544
+            PCLZIP_ATT_FILE_MTIME => 'optional',
545
+            PCLZIP_ATT_FILE_CONTENT => 'optional',
546
+            PCLZIP_ATT_FILE_COMMENT => 'optional',
547 547
         );
548 548
         foreach ($v_att_list as $v_entry) {
549 549
             $v_result = $this->privFileDescrParseAtt($v_entry, $v_filedescr_list[], $v_options, $v_supported_attributes);
@@ -700,25 +700,25 @@  discard block
 block discarded – undo
700 700
             if ((is_integer($v_arg_list[0])) && ($v_arg_list[0] > 77000)) {
701 701
                 // ----- Parse the options
702 702
                 $v_result = $this->privParseOptions($v_arg_list, $v_size, $v_options, array (
703
-                  PCLZIP_OPT_PATH => 'optional',
704
-                  PCLZIP_OPT_REMOVE_PATH => 'optional',
705
-                  PCLZIP_OPT_REMOVE_ALL_PATH => 'optional',
706
-                  PCLZIP_OPT_ADD_PATH => 'optional',
707
-                  PCLZIP_CB_PRE_EXTRACT => 'optional',
708
-                  PCLZIP_CB_POST_EXTRACT => 'optional',
709
-                  PCLZIP_OPT_SET_CHMOD => 'optional',
710
-                  PCLZIP_OPT_BY_NAME => 'optional',
711
-                  PCLZIP_OPT_BY_EREG => 'optional',
712
-                  PCLZIP_OPT_BY_PREG => 'optional',
713
-                  PCLZIP_OPT_BY_INDEX => 'optional',
714
-                  PCLZIP_OPT_EXTRACT_AS_STRING => 'optional',
715
-                  PCLZIP_OPT_EXTRACT_IN_OUTPUT => 'optional',
716
-                  PCLZIP_OPT_REPLACE_NEWER => 'optional',
717
-                  PCLZIP_OPT_STOP_ON_ERROR => 'optional',
718
-                  PCLZIP_OPT_EXTRACT_DIR_RESTRICTION => 'optional',
719
-                  PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional',
720
-                  PCLZIP_OPT_TEMP_FILE_ON => 'optional',
721
-                  PCLZIP_OPT_TEMP_FILE_OFF => 'optional'
703
+                    PCLZIP_OPT_PATH => 'optional',
704
+                    PCLZIP_OPT_REMOVE_PATH => 'optional',
705
+                    PCLZIP_OPT_REMOVE_ALL_PATH => 'optional',
706
+                    PCLZIP_OPT_ADD_PATH => 'optional',
707
+                    PCLZIP_CB_PRE_EXTRACT => 'optional',
708
+                    PCLZIP_CB_POST_EXTRACT => 'optional',
709
+                    PCLZIP_OPT_SET_CHMOD => 'optional',
710
+                    PCLZIP_OPT_BY_NAME => 'optional',
711
+                    PCLZIP_OPT_BY_EREG => 'optional',
712
+                    PCLZIP_OPT_BY_PREG => 'optional',
713
+                    PCLZIP_OPT_BY_INDEX => 'optional',
714
+                    PCLZIP_OPT_EXTRACT_AS_STRING => 'optional',
715
+                    PCLZIP_OPT_EXTRACT_IN_OUTPUT => 'optional',
716
+                    PCLZIP_OPT_REPLACE_NEWER => 'optional',
717
+                    PCLZIP_OPT_STOP_ON_ERROR => 'optional',
718
+                    PCLZIP_OPT_EXTRACT_DIR_RESTRICTION => 'optional',
719
+                    PCLZIP_OPT_TEMP_FILE_THRESHOLD => 'optional',
720
+                    PCLZIP_OPT_TEMP_FILE_ON => 'optional',
721
+                    PCLZIP_OPT_TEMP_FILE_OFF => 'optional'
722 722
                 ));
723 723
                 if ($v_result != 1) {
724 724
                     return 0;
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/RowDimension.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -45,11 +45,11 @@
 block discarded – undo
45 45
      */
46 46
     private $height = -1;
47 47
 
48
-     /**
49
-     * ZeroHeight for Row?
50
-     *
51
-     * @var bool
52
-     */
48
+        /**
49
+         * ZeroHeight for Row?
50
+         *
51
+         * @var bool
52
+         */
53 53
     private $zeroHeight = false;
54 54
 
55 55
     /**
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/PageSetup.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -207,27 +207,27 @@
 block discarded – undo
207 207
     private $scale = 100;
208 208
 
209 209
     /**
210
-      * Fit To Page
211
-      * Whether scale or fitToWith / fitToHeight applies
212
-      *
213
-      * @var boolean
214
-      */
210
+     * Fit To Page
211
+     * Whether scale or fitToWith / fitToHeight applies
212
+     *
213
+     * @var boolean
214
+     */
215 215
     private $fitToPage = false;
216 216
 
217 217
     /**
218
-      * Fit To Height
219
-      * Number of vertical pages to fit on
220
-      *
221
-      * @var int?
222
-      */
218
+     * Fit To Height
219
+     * Number of vertical pages to fit on
220
+     *
221
+     * @var int?
222
+     */
223 223
     private $fitToHeight    = 1;
224 224
 
225 225
     /**
226
-      * Fit To Width
227
-      * Number of horizontal pages to fit on
228
-      *
229
-      * @var int?
230
-      */
226
+     * Fit To Width
227
+     * Number of horizontal pages to fit on
228
+     *
229
+     * @var int?
230
+     */
231 231
     private $fitToWidth    = 1;
232 232
 
233 233
     /**
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/BaseDrawing.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -466,8 +466,8 @@
 block discarded – undo
466 466
      */
467 467
     public function setShadow(Drawing\Shadow $pValue = null)
468 468
     {
469
-           $this->shadow = $pValue;
470
-           return $this;
469
+            $this->shadow = $pValue;
470
+            return $this;
471 471
     }
472 472
 
473 473
     /**
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/AutoFilter.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -711,8 +711,8 @@
 block discarded – undo
711 711
                                 ? AutoFilter\Column\Rule::AUTOFILTER_COLUMN_RULE_GREATERTHAN
712 712
                                 : AutoFilter\Column\Rule::AUTOFILTER_COLUMN_RULE_LESSTHAN;
713 713
                             $ruleValues[] = array('operator' => $operator,
714
-                                                   'value' => $average
715
-                                                 );
714
+                                                    'value' => $average
715
+                                                    );
716 716
                             $columnFilterTests[$columnID] = array(
717 717
                                 'method' => 'filterTestInCustomDataSet',
718 718
                                 'arguments' => array('filterRules' => $ruleValues, 'join' => AutoFilter\Column::AUTOFILTER_COLUMN_JOIN_OR)
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/Drawing/Shadow.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
         return $this;
196 196
     }
197 197
 
198
-   /**
198
+    /**
199 199
      * Get Shadow alignment
200 200
      *
201 201
      * @return int
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
         return $this;
218 218
     }
219 219
 
220
-   /**
220
+    /**
221 221
      * Get Color
222 222
      *
223 223
      * @return \PHPExcel\Style\Color
@@ -236,11 +236,11 @@  discard block
 block discarded – undo
236 236
      */
237 237
     public function setColor(\PHPExcel\Style\Color $pValue = null)
238 238
     {
239
-           $this->color = $pValue;
240
-           return $this;
239
+            $this->color = $pValue;
240
+            return $this;
241 241
     }
242 242
 
243
-   /**
243
+    /**
244 244
      * Get Alpha
245 245
      *
246 246
      * @return int
Please login to merge, or discard this patch.