Passed
Branch master (e3abac)
by jean-marie
03:13
created
Category
src/Xlsx/RowIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,6 +174,6 @@
 block discarded – undo
174 174
      */
175 175
     protected function getValue($value)
176 176
     {
177
-       return null === $value ? ''  : $value;
177
+       return null === $value ? '' : $value;
178 178
     }
179 179
 }
Please login to merge, or discard this patch.
src/Xlsx/ColumnIndexTransformer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,11 +24,11 @@
 block discarded – undo
24 24
         $number = -1;
25 25
 
26 26
         foreach (str_split($name) as $chr) {
27
-            $digit = ord($chr) -65;
27
+            $digit = ord($chr)-65;
28 28
             if ($digit < 0) {
29 29
                 break;
30 30
             }
31
-            $number = ($number+1) * 26 + $digit;
31
+            $number = ($number+1) * 26+$digit;
32 32
         }
33 33
 
34 34
         return $number;
Please login to merge, or discard this patch.
src/Xlsx/Relationships.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
             if (\XMLReader::ELEMENT === $xml->nodeType && 'Relationship' === $xml->name) {
51 51
 
52 52
                 $type = basename((string) $xml->getAttribute('Type'));
53
-                $this->storeRelationShipByType($type, $xml->getAttribute('Id'), 'xl/' . $xml->getAttribute('Target'));
53
+                $this->storeRelationShipByType($type, $xml->getAttribute('Id'), 'xl/'.$xml->getAttribute('Target'));
54 54
             }
55 55
         }
56 56
 
Please login to merge, or discard this patch.
src/Xlsx/DateTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     {
36 36
         $days = floor($value);
37 37
 
38
-        $seconds = round(($value - $days)*86400);
38
+        $seconds = round(($value-$days) * 86400);
39 39
 
40 40
         $date = clone $this->baseDate;
41 41
         $date->modify(sprintf('+%sday +%ssecond', $days-1, $seconds));
Please login to merge, or discard this patch.