Completed
Pull Request — master (#8105)
by
unknown
65:07
created
tests/Doctrine/Tests/ORM/Functional/Ticket/GH6402Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     {
36 36
         $id = $this->createAddress();
37 37
 
38
-        $addresses = $this->em->createQuery('SELECT a FROM ' . Address::class . ' a WHERE a.id = :id')
38
+        $addresses = $this->em->createQuery('SELECT a FROM '.Address::class.' a WHERE a.id = :id')
39 39
             ->setParameter('id', $id)
40 40
             ->getResult();
41 41
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     {
57 57
         $id = $this->createFullAddress();
58 58
 
59
-        $addresses = $this->em->createQuery('SELECT a FROM ' . FullAddress::class . ' a WHERE a.id = :id')
59
+        $addresses = $this->em->createQuery('SELECT a FROM '.FullAddress::class.' a WHERE a.id = :id')
60 60
             ->setParameter('id', $id)
61 61
             ->getResult();
62 62
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1300Test.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
         $this->em->flush();
43 43
 
44 44
         $query  = $this->em->createQuery('SELECT f, fl FROM Doctrine\Tests\ORM\Functional\Ticket\DDC1300Foo f JOIN f.fooLocaleRefFoo fl');
45
-        $result =  $query->getResult();
45
+        $result = $query->getResult();
46 46
 
47 47
         self::assertCount(1, $result);
48 48
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC371Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         $this->em->flush();
46 46
         $this->em->clear();
47 47
 
48
-        $children = $this->em->createQuery('select c,p from ' . __NAMESPACE__ . '\DDC371Child c '
48
+        $children = $this->em->createQuery('select c,p from '.__NAMESPACE__.'\DDC371Child c '
49 49
                 . 'left join c.parent p where c.id = 1 and p.id = 1')
50 50
                 ->setHint(Query::HINT_REFRESH, true)
51 51
                 ->getResult();
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/Issue5989Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
         $employee = new Issue5989Employee();
32 32
 
33
-        $employeeTags   =['tag2', 'tag3'];
33
+        $employeeTags   = ['tag2', 'tag3'];
34 34
         $employee->tags = $employeeTags;
35 35
         $this->em->persist($employee);
36 36
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1695Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
     public function testIssue() : void
25 25
     {
26
-        $dql = 'SELECT n.smallText, n.publishDate FROM ' . __NAMESPACE__ . '\\DDC1695News n';
26
+        $dql = 'SELECT n.smallText, n.publishDate FROM '.__NAMESPACE__.'\\DDC1695News n';
27 27
         $sql = $this->em->createQuery($dql)->getSQL();
28 28
 
29 29
         self::assertEquals(
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1526Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
             $entity = new DDC1526Menu();
30 30
 
31 31
             if (isset($parents[($i % 3)])) {
32
-                $entity->parent = $parents[($i%3)];
32
+                $entity->parent = $parents[($i % 3)];
33 33
             }
34 34
 
35 35
             $this->em->persist($entity);
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         $this->em->clear();
40 40
 
41 41
         $dql   = 'SELECT m, c
42
-            FROM ' . __NAMESPACE__ . '\DDC1526Menu m
42
+            FROM ' . __NAMESPACE__.'\DDC1526Menu m
43 43
             LEFT JOIN m.children c';
44 44
         $menus = $this->em->createQuery($dql)->getResult();
45 45
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC742Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     {
26 26
         parent::setUp();
27 27
 
28
-        $testDir = sys_get_temp_dir() . '/DDC742Test' . uniqid();
28
+        $testDir = sys_get_temp_dir().'/DDC742Test'.uniqid();
29 29
 
30 30
         mkdir($testDir);
31 31
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC211Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             $this->em->persist($group);
39 39
             $this->em->flush();
40 40
 
41
-            if (! $user->getGroups()->contains($group)) {
41
+            if ( ! $user->getGroups()->contains($group)) {
42 42
                 $user->getGroups()->add($group);
43 43
                 $group->getUsers()->add($user);
44 44
                 $this->em->flush();
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3192Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
         if (Type::hasType('ddc3192_currency_code')) {
25 25
             $this->fail(
26
-                'Type ddc3192_currency_code exists for testing DDC-3192 only, ' .
26
+                'Type ddc3192_currency_code exists for testing DDC-3192 only, '.
27 27
                 'but it has already been registered for some reason'
28 28
             );
29 29
         }
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         $this->em->close();
61 61
 
62 62
         $query = $this->em->createQuery();
63
-        $query->setDQL('SELECT t FROM ' . DDC3192Transaction::class . ' t WHERE t.id = ?1');
63
+        $query->setDQL('SELECT t FROM '.DDC3192Transaction::class.' t WHERE t.id = ?1');
64 64
         $query->setParameter(1, $transaction->id);
65 65
 
66 66
         $resultByQuery = $query->getSingleResult();
Please login to merge, or discard this patch.