Passed
Pull Request — master (#7448)
by Ilya
14:31
created
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.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC425Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     {
29 29
         //$this->em->getConnection()->getConfiguration()->setSQLLogger(new \Doctrine\DBAL\Logging\EchoSQLLogger);
30 30
 
31
-        $num = $this->em->createQuery('DELETE ' . __NAMESPACE__ . '\DDC425Entity e WHERE e.someDatetimeField > ?1')
31
+        $num = $this->em->createQuery('DELETE '.__NAMESPACE__.'\DDC425Entity e WHERE e.someDatetimeField > ?1')
32 32
                 ->setParameter(1, new DateTime(), Type::DATETIME)
33 33
                 ->getResult();
34 34
         self::assertEquals(0, $num);
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC719Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     public function addGroup(Group $child)
94 94
     {
95
-        if (! $this->children->contains($child)) {
95
+        if ( ! $this->children->contains($child)) {
96 96
             $this->children->add($child);
97 97
             $child->addGroup($this);
98 98
         }
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      */
105 105
     public function addChannel(Channel $child)
106 106
     {
107
-        if (! $this->channels->contains($child)) {
107
+        if ( ! $this->channels->contains($child)) {
108 108
             $this->channels->add($child);
109 109
         }
110 110
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3330Test.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@  discard block
 block discarded – undo
35 35
         $this->em->clear();
36 36
 
37 37
         $query = $this->em->createQuery(
38
-            'SELECT b, h' .
39
-            ' FROM Doctrine\Tests\ORM\Functional\Ticket\DDC3330Building b' .
40
-            ' LEFT JOIN b.halls h' .
38
+            'SELECT b, h'.
39
+            ' FROM Doctrine\Tests\ORM\Functional\Ticket\DDC3330Building b'.
40
+            ' LEFT JOIN b.halls h'.
41 41
             ' ORDER BY b.id ASC, h.name DESC'
42 42
         )
43 43
         ->setMaxResults(3);
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
         for ($i = 0; $i < 10; $i++) {
58 58
             $hall       = new DDC3330Hall();
59
-            $hall->name = 'HALL-' . $i;
59
+            $hall->name = 'HALL-'.$i;
60 60
             $building->addHall($hall);
61 61
         }
62 62
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3042Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             $this
32 32
                 ->em
33 33
                 ->createQuery(
34
-                    'SELECT f, b FROM ' . __NAMESPACE__ . '\DDC3042Foo f JOIN ' . __NAMESPACE__ . '\DDC3042Bar b WITH 1 = 1'
34
+                    'SELECT f, b FROM '.__NAMESPACE__.'\DDC3042Foo f JOIN '.__NAMESPACE__.'\DDC3042Bar b WITH 1 = 1'
35 35
                 )
36 36
                 ->getSQL()
37 37
         );
Please login to merge, or discard this patch.