Completed
Push — develop ( 2e24a1...0f0de9 )
by Adrien
62:07
created
docs/Examples/Reading WorkBook Data/exampleWorkBookReader04.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,13 +34,13 @@
 block discarded – undo
34 34
 echo 'Reading the number of Worksheets in the WorkBook<br />';
35 35
 /*  Use the PhpSpreadsheet object's getSheetCount() method to get a count of the number of WorkSheets in the WorkBook  */
36 36
 $sheetCount = $spreadsheet->getSheetCount();
37
-echo 'There ',(($sheetCount == 1) ? 'is' : 'are'),' ',$sheetCount,' WorkSheet',(($sheetCount == 1) ? '' : 's'),' in the WorkBook<br /><br />';
37
+echo 'There ', (($sheetCount == 1) ? 'is' : 'are'), ' ', $sheetCount, ' WorkSheet', (($sheetCount == 1) ? '' : 's'), ' in the WorkBook<br /><br />';
38 38
 
39 39
 echo 'Reading the names of Worksheets in the WorkBook<br />';
40 40
 /*  Use the PhpSpreadsheet object's getSheetNames() method to get an array listing the names/titles of the WorkSheets in the WorkBook  */
41 41
 $sheetNames = $spreadsheet->getSheetNames();
42 42
 foreach ($sheetNames as $sheetIndex => $sheetName) {
43
-    echo 'WorkSheet #',$sheetIndex,' is named "',$sheetName,'"<br />';
43
+    echo 'WorkSheet #', $sheetIndex, ' is named "', $sheetName, '"<br />';
44 44
 }
45 45
 
46 46
 ?>
Please login to merge, or discard this patch.
docs/Examples/Reader/exampleReader16.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 require_once __DIR__ . '/../../../src/Bootstrap.php';
23 23
 
24 24
 $inputFileName = './sampleData/example_1.xls';
25
-echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory to identify the format<br />';
25
+echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory to identify the format<br />';
26 26
 try {
27 27
     $spreadsheet = \PhpOffice\PhpSpreadsheet\IOFactory::load($inputFileName);
28 28
 } catch (\InvalidArgumentException $e) {
Please login to merge, or discard this patch.
docs/Examples/Reader/exampleReader14.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 /*  Tell the Reader that we want to use the Read Filter that we've Instantiated  **/
69 69
 /*    and that we want to store it in contiguous rows/columns  **/
70 70
 $reader->setReadFilter($chunkFilter)
71
-          ->setContiguous(true);
71
+            ->setContiguous(true);
72 72
 
73 73
 /*  Instantiate a new PhpSpreadsheet object manually  **/
74 74
 $spreadsheet = new \PhpOffice\PhpSpreadsheet\Spreadsheet();
Please login to merge, or discard this patch.
docs/Examples/Reader/exampleReader01.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 require_once __DIR__ . '/../../../src/Bootstrap.php';
23 23
 
24 24
 $inputFileName = './sampleData/example1.xls';
25
-echo 'Loading file ',pathinfo($inputFileName, PATHINFO_BASENAME),' using IOFactory to identify the format<br />';
25
+echo 'Loading file ', pathinfo($inputFileName, PATHINFO_BASENAME), ' using IOFactory to identify the format<br />';
26 26
 $spreadsheet = \PhpOffice\PhpSpreadsheet\IOFactory::load($inputFileName);
27 27
 
28 28
 echo '<hr />';
Please login to merge, or discard this patch.