Completed
Pull Request — 2.7 (#7407)
by COLE
64:31
created
tests/Doctrine/Tests/ORM/Functional/IdentityMapTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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";
Please login to merge, or discard this patch.