Completed
Pull Request — 2.7 (#7940)
by Benjamin
55:49 queued 50:25
created
tests/Doctrine/Tests/ORM/Functional/ExtraLazyCollectionTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
 
302 302
         $queryCount = $this->getCurrentQueryCount();
303 303
         $this->assertFalse($user->articles->contains($article));
304
-        $this->assertEquals($queryCount+1, $this->getCurrentQueryCount(), 'Checking for contains of persisted entity should cause one query to be executed.');
304
+        $this->assertEquals($queryCount + 1, $this->getCurrentQueryCount(), 'Checking for contains of persisted entity should cause one query to be executed.');
305 305
         $this->assertFalse($user->articles->isInitialized(), 'Post-Condition: Collection is not initialized.');
306 306
 
307 307
         // Test One to Many existence with state managed
@@ -468,7 +468,7 @@  discard block
 block discarded – undo
468 468
 
469 469
         $queryCount = $this->getCurrentQueryCount();
470 470
         $this->assertTrue($group->users->contains($user));
471
-        $this->assertEquals($queryCount+1, $this->getCurrentQueryCount(), 'Checking for contains of managed entity should cause one query to be executed.');
471
+        $this->assertEquals($queryCount + 1, $this->getCurrentQueryCount(), 'Checking for contains of managed entity should cause one query to be executed.');
472 472
         $this->assertFalse($user->groups->isInitialized(), 'Post-Condition: Collection is not initialized.');
473 473
 
474 474
         $newUser       = new CmsUser();
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/GH7864Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 
43 43
         $user->tweets->removeElement($tweet);
44 44
 
45
-        $tweets = $user->tweets->map(static function (Tweet $tweet) {
45
+        $tweets = $user->tweets->map(static function(Tweet $tweet) {
46 46
             return $tweet->content;
47 47
         });
48 48
 
Please login to merge, or discard this patch.