Test Failed
Pull Request — master (#52)
by
unknown
04:33
created
src/Xlsx/RowIterator.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,8 +71,8 @@
 block discarded – undo
71 71
     private $archive;
72 72
 
73 73
     /**
74
-    * @var int
75
-    */
74
+     * @var int
75
+     */
76 76
     protected $maxColumnHeaderCount;
77 77
 
78 78
     /**
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
             if (\XMLReader::ELEMENT === $this->xml->nodeType) {
136 136
                 switch ($this->xml->name) {
137 137
                     case 'row':
138
-                        $currentKey = (int)$this->xml->getAttribute('r');
138
+                        $currentKey = (int) $this->xml->getAttribute('r');
139 139
                         $rowBuilder = $this->rowBuilderFactory->create();
140 140
                         break;
141 141
                     case 'c':
@@ -158,12 +158,12 @@  discard block
 block discarded – undo
158 158
                     case 'row':
159 159
                         $currentValue = $rowBuilder->getData();
160 160
 
161
-                        if($currentKey === 1) {
162
-                            if($this->maxColumnHeaderCount < count($currentValue)) {
161
+                        if ($currentKey === 1) {
162
+                            if ($this->maxColumnHeaderCount < count($currentValue)) {
163 163
                                 $this->maxColumnHeaderCount = count($currentValue);
164 164
                             }
165 165
                         } elseif (count($currentValue) < $this->maxColumnHeaderCount) {
166
-                            for($i = count($currentValue); $i < $this->maxColumnHeaderCount; $i++) {
166
+                            for ($i = count($currentValue); $i < $this->maxColumnHeaderCount; $i++) {
167 167
                                 $currentValue[] = '';
168 168
                             }
169 169
                         }
Please login to merge, or discard this patch.