Passed
Branch master (e65e71)
by Tim
04:29
created
Category
src/AppserverIo/Resources/PropertyResources.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         $systemLocale = $this->getDefaultSystemLocale();
120 120
 
121 121
         // iterate over the installed locales and instanciate the resource bundles therefore
122
-        for ($i = 0; $i < $locales->size(); $i ++) {
122
+        for ($i = 0; $i < $locales->size(); $i++) {
123 123
             $this->add(PropertyResourceBundle::getBundle($this->config, $systemLocale));
124 124
         }
125 125
     }
@@ -182,9 +182,9 @@  discard block
 block discarded – undo
182 182
 
183 183
                 // the actual data
184 184
                 $worksheet->setCellValueByColumnAndRow($line, $column, $value);
185
-                $line ++;
185
+                $line++;
186 186
             }
187
-            $column ++;
187
+            $column++;
188 188
         }
189 189
 
190 190
         // finally save the file
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
         // separate the content in lines
223 223
         while ($row = fgetcsv($handle, 4096)) {
224 224
             $key = "";
225
-            for ($i = 0; $i <= $this->bundles->size(); $i ++) {
225
+            for ($i = 0; $i <= $this->bundles->size(); $i++) {
226 226
                 if ($i == 0) {
227 227
                     $key = $row[$i];
228 228
                 } elseif ($lines == 0 && $i > 0) {
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
                     $resources->replace($key, $row[$i]);
233 233
                 }
234 234
             }
235
-            $lines ++;
235
+            $lines++;
236 236
         }
237 237
     }
238 238
 }
Please login to merge, or discard this patch.