Completed
Push — master ( f4c848...d31188 )
by Jonathan
24s queued 17s
created
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC522Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         $this->em->clear();
51 51
 
52 52
         $cart = $this->em
53
-            ->createQuery('select ca, c from ' . DDC522Cart::class . ' ca join ca.customer c')
53
+            ->createQuery('select ca, c from '.DDC522Cart::class.' ca join ca.customer c')
54 54
             ->getSingleResult()
55 55
         ;
56 56
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC881Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,14 +83,14 @@
 block discarded – undo
83 83
         $this->em->clear();
84 84
 
85 85
         // fetch-join that foreign-key/primary-key entity association
86
-        $dql   = 'SELECT c, p FROM ' . DDC881PhoneCall::class . ' c JOIN c.phonenumber p';
86
+        $dql   = 'SELECT c, p FROM '.DDC881PhoneCall::class.' c JOIN c.phonenumber p';
87 87
         $calls = $this->em->createQuery($dql)->getResult();
88 88
 
89 89
         self::assertCount(2, $calls);
90 90
         self::assertNotInstanceOf(GhostObjectInterface::class, $calls[0]->getPhoneNumber());
91 91
         self::assertNotInstanceOf(GhostObjectInterface::class, $calls[1]->getPhoneNumber());
92 92
 
93
-        $dql     = 'SELECT p, c FROM ' . DDC881PhoneNumber::class . ' p JOIN p.calls c';
93
+        $dql     = 'SELECT p, c FROM '.DDC881PhoneNumber::class.' p JOIN p.calls c';
94 94
         $numbers = $this->em->createQuery($dql)->getResult();
95 95
 
96 96
         self::assertCount(2, $numbers);
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2602Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     {
138 138
         $entity = $event->getEntity();
139 139
 
140
-        if (! ($entity instanceof DDC2602Biography)) {
140
+        if ( ! ($entity instanceof DDC2602Biography)) {
141 141
             return;
142 142
         }
143 143
 
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
             $fieldSelection = new DDC2602FieldSelection();
159 159
 
160 160
             $fieldSelection->field      = $field;
161
-            $fieldSelection->choiceList = $field->choiceList->filter(function ($choice) use ($choiceList) {
161
+            $fieldSelection->choiceList = $field->choiceList->filter(function($choice) use ($choiceList) {
162 162
                 return in_array($choice->id, $choiceList, true);
163 163
             });
164 164
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1690Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
 
87 87
     public function addPropertyChangedListener(PropertyChangedListener $listener)
88 88
     {
89
-        if (! in_array($listener, $this->listeners, true)) {
89
+        if ( ! in_array($listener, $this->listeners, true)) {
90 90
             $this->listeners[] = $listener;
91 91
         }
92 92
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3634Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
         $metadata = $this->em->getClassMetadata(DDC3634Entity::class);
29 29
 
30
-        if (! $metadata->getValueGenerationPlan()->containsDeferred()) {
30
+        if ( ! $metadata->getValueGenerationPlan()->containsDeferred()) {
31 31
             $this->markTestSkipped('Need a post-insert ID generator in order to make this test work correctly');
32 32
         }
33 33
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
     public function testSavesVeryLargeIntegerAutoGeneratedValue() : void
46 46
     {
47
-        $veryLargeId = PHP_INT_MAX . PHP_INT_MAX;
47
+        $veryLargeId = PHP_INT_MAX.PHP_INT_MAX;
48 48
 
49 49
         $entityManager = EntityManager::create(
50 50
             new DDC3634LastInsertIdMockingConnection($veryLargeId, $this->em->getConnection()),
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1655Test.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
                 ]
30 30
             );
31 31
         } catch (\Exception $e) {
32
-            $this->fail($e->getMessage() . PHP_EOL . $e->getTraceAsString());
32
+            $this->fail($e->getMessage().PHP_EOL.$e->getTraceAsString());
33 33
         }
34 34
     }
35 35
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
         $conn = static::$sharedConn;
39 39
 
40 40
         // In case test is skipped, tearDown is called, but no setup may have run
41
-        if (! $conn) {
41
+        if ( ! $conn) {
42 42
             return;
43 43
         }
44 44
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 
81 81
         $baz = $this->em->find(get_class($baz), $baz->id);
82 82
         foreach ($baz->foos as $foo) {
83
-            self::assertEquals(1, $foo->loaded, 'should have loaded callback counter incremented for ' . get_class($foo));
83
+            self::assertEquals(1, $foo->loaded, 'should have loaded callback counter incremented for '.get_class($foo));
84 84
         }
85 85
     }
86 86
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
         self::assertEquals(1, $bar->loaded);
105 105
         self::assertEquals(1, $bar->subLoaded);
106 106
 
107
-        $dql = 'SELECT b FROM ' . __NAMESPACE__ . '\DDC1655Bar b WHERE b.id = ?1';
107
+        $dql = 'SELECT b FROM '.__NAMESPACE__.'\DDC1655Bar b WHERE b.id = ?1';
108 108
         $bar = $this->em->createQuery($dql)->setParameter(1, $bar->id)->getSingleResult();
109 109
 
110 110
         self::assertEquals(1, $bar->loaded);
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC237Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
         // proxy for Y is in identity map
51 51
 
52
-        $z2 = $this->em->createQuery('select z,y from ' . get_class($z) . ' z join z.y y where z.id = ?1')
52
+        $z2 = $this->em->createQuery('select z,y from '.get_class($z).' z join z.y y where z.id = ?1')
53 53
                 ->setParameter(1, $z->id)
54 54
                 ->getSingleResult();
55 55
         self::assertInstanceOf(GhostObjectInterface::class, $z2->y);
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/GH6141Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function convertToDatabaseValue($value, AbstractPlatform $platform)
81 81
     {
82
-        if (! $value instanceof GH6141People) {
82
+        if ( ! $value instanceof GH6141People) {
83 83
             $value = GH6141People::get($value);
84 84
         }
85 85
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      */
121 121
     public static function get($value)
122 122
     {
123
-        if (! self::isValid($value)) {
123
+        if ( ! self::isValid($value)) {
124 124
             throw new \InvalidArgumentException();
125 125
         }
126 126
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC633Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
         $this->em->flush();
67 67
         $this->em->clear();
68 68
 
69
-        $appointments = $this->em->createQuery('SELECT a FROM ' . __NAMESPACE__ . '\DDC633Appointment a')->getResult();
69
+        $appointments = $this->em->createQuery('SELECT a FROM '.__NAMESPACE__.'\DDC633Appointment a')->getResult();
70 70
 
71 71
         foreach ($appointments as $eagerAppointment) {
72 72
             self::assertInstanceOf(GhostObjectInterface::class, $eagerAppointment->patient);
Please login to merge, or discard this patch.