Completed
Branch master (600186)
by Romain
28:33
created
Writer/HomogeneousCSVWriter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@
 block discarded – undo
210 210
     protected function getItemRow(array $item)
211 211
     {
212 212
         return array_map(
213
-            function ($key) use ($item) {
213
+            function($key) use ($item) {
214 214
                 return isset($item[$key]) ? $item[$key] : '';
215 215
             },
216 216
             $this->headers
Please login to merge, or discard this patch.
Iterator/AttributeXlsxFileIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
     protected function initializeAttributeTypes()
105 105
     {
106 106
         $xls = $this->getInnerIterator()->getExcelObject();
107
-        $parserOptions = isset($this->options['parser_options']) ? $this->options['parser_options'] : [] ;
107
+        $parserOptions = isset($this->options['parser_options']) ? $this->options['parser_options'] : [];
108 108
         $this->attributeTypes = array();
109 109
         $attributeWorkseet = $xls->getWorksheetIndex('attribute_types');
110 110
         if (false === $attributeWorkseet) {
Please login to merge, or discard this patch.
Iterator/FamilyXlsxFileIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     protected function getChannelData()
28 28
     {
29 29
         $xls = $this->getExcelObject();
30
-        $data = [ 'attributes' => [] ];
30
+        $data = ['attributes' => []];
31 31
         $attributeLabels = [];
32 32
         $channelLabels = [];
33 33
         $labelLocales = [];
Please login to merge, or discard this patch.
Iterator/AbstractXlsxFileIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
         $xls = $this->getExcelObject();
75 75
         $this->worksheetIterator = new \CallbackFilterIterator(
76 76
             new \ArrayIterator($xls->getWorksheets()),
77
-            function ($title, $key) use ($xls) {
77
+            function($title, $key) use ($xls) {
78 78
                 return $this->isReadableWorksheet($title);
79 79
 
80 80
                 return false;
Please login to merge, or discard this patch.
Encoder/Excel2003XmlEncoder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,12 +21,12 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * @staticvar string XML template for one cell
23 23
      */
24
-    const CELL_TEMPLATE='<Cell><Data ss:Type="{{type}}">{{data}}</Data></Cell>';
24
+    const CELL_TEMPLATE = '<Cell><Data ss:Type="{{type}}">{{data}}</Data></Cell>';
25 25
 
26 26
     /**
27 27
      * @staticvar string XML template for one row
28 28
      */
29
-    const ROW_TEMPLATE='<Row>{{cells}}</Row>';
29
+    const ROW_TEMPLATE = '<Row>{{cells}}</Row>';
30 30
 
31 31
     /**
32 32
      * {@inheritdoc}
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             );
45 45
         }
46 46
 
47
-        return strtr(static::ROW_TEMPLATE, [ '{{cells}}' => $cells ]);
47
+        return strtr(static::ROW_TEMPLATE, ['{{cells}}' => $cells]);
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.