@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | $this->_em->flush(); |
268 | 268 | |
269 | 269 | $articles = []; |
270 | - for($i=0;$i<100;$i++) { |
|
270 | + for ($i = 0; $i < 100; $i++) { |
|
271 | 271 | $article = new CmsArticle(); |
272 | 272 | $article->topic = "Test"; |
273 | 273 | $article->text = "Test"; |
@@ -279,7 +279,7 @@ discard block |
||
279 | 279 | } |
280 | 280 | |
281 | 281 | $user = $this->_em->merge($user); |
282 | - foreach($articles as $article) { |
|
282 | + foreach ($articles as $article) { |
|
283 | 283 | $article = $this->_em->merge($article); |
284 | 284 | $article->setAuthor($user); |
285 | 285 | } |
@@ -288,7 +288,7 @@ discard block |
||
288 | 288 | gc_collect_cycles(); |
289 | 289 | |
290 | 290 | $keep = []; |
291 | - for($x=0;$x<1000;$x++) { |
|
291 | + for ($x = 0; $x < 1000; $x++) { |
|
292 | 292 | $keep[] = $article = new CmsArticle(); |
293 | 293 | |
294 | 294 | $article->topic = "Test"; |