Failed Conditions
Pull Request — master (#6593)
by Thomas
16:12
created
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC440Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
         return $this->number;
116 116
     }
117 117
 
118
-    public function setClient(DDC440Client $value, $update_inverse=true)
118
+    public function setClient(DDC440Client $value, $update_inverse = true)
119 119
     {
120 120
         $this->client = $value;
121 121
         if ($update_inverse) {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3699Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
         $relation = new DDC3699RelationOne();
33 33
 
34 34
         $relation->id       = $id;
35
-        $relation->child    = $child ;
35
+        $relation->child    = $child;
36 36
         $child->oneRelation = $relation;
37 37
 
38 38
         $this->_em->persist($relation);
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         $relation = new DDC3699RelationMany();
76 76
 
77 77
         $relation->id       = $id;
78
-        $relation->child    = $child ;
78
+        $relation->child    = $child;
79 79
         $child->relations[] = $relation;
80 80
 
81 81
         $this->_em->persist($relation);
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1228Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
                 $this->_em->getClassMetadata(DDC1228Profile::class),
19 19
                 ]
20 20
             );
21
-        } catch(\Exception $e) {
21
+        } catch (\Exception $e) {
22 22
 
23 23
         }
24 24
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2692Test.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@
 block discarded – undo
32 32
     public function testIsListenerCalledOnlyOnceOnPreFlush()
33 33
     {
34 34
         $listener = $this->getMockBuilder(DDC2692Listener::class)
35
-                         ->setMethods(['preFlush'])
36
-                         ->getMock();
35
+                            ->setMethods(['preFlush'])
36
+                            ->getMock();
37 37
 
38 38
         $listener->expects($this->once())->method('preFlush');
39 39
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
                 $this->_em->getClassMetadata(DDC2692Foo::class),
24 24
                 ]
25 25
             );
26
-        } catch(\Exception $e) {
26
+        } catch (\Exception $e) {
27 27
             return;
28 28
         }
29 29
         $this->_em->clear();
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC633Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
                 $this->_em->getClassMetadata(DDC633Appointment::class),
17 17
                 ]
18 18
             );
19
-        } catch(\Exception $e) {
19
+        } catch (\Exception $e) {
20 20
 
21 21
         }
22 22
     }
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         $this->_em->flush();
64 64
         $this->_em->clear();
65 65
 
66
-        $appointments = $this->_em->createQuery("SELECT a FROM " . __NAMESPACE__ . "\DDC633Appointment a")->getResult();
66
+        $appointments = $this->_em->createQuery("SELECT a FROM ".__NAMESPACE__."\DDC633Appointment a")->getResult();
67 67
 
68 68
         foreach ($appointments AS $eagerAppointment) {
69 69
             $this->assertInstanceOf(Proxy::class, $eagerAppointment->patient);
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC493Test.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 
56 56
 /**
57 57
  * @Entity
58
-  */
58
+ */
59 59
 class DDC493Contact
60 60
 {
61 61
     /**
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2579Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 
126 126
     public function __construct(DDC2579Id $id)
127 127
     {
128
-        $this->associationId  = $id;
128
+        $this->associationId = $id;
129 129
     }
130 130
 }
131 131
 
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      */
140 140
     public function convertToDatabaseValue($value, AbstractPlatform $platform)
141 141
     {
142
-        return (string)$value;
142
+        return (string) $value;
143 143
     }
144 144
 
145 145
     public function convertToPhpValue($value, AbstractPlatform $platform)
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC381Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
                 $this->_em->getClassMetadata(DDC381Entity::class),
15 15
                 ]
16 16
             );
17
-        } catch(\Exception $e) {
17
+        } catch (\Exception $e) {
18 18
 
19 19
         }
20 20
     }
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
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
         if ($this->_em->getConnection()->getDatabasePlatform()->getName() != "sqlite") {
13 13
             $this->markTestSkipped("Only with sqlite");
14 14
         }
15
-        $dql = "SELECT n.smallText, n.publishDate FROM " . __NAMESPACE__ . "\\DDC1695News n";
15
+        $dql = "SELECT n.smallText, n.publishDate FROM ".__NAMESPACE__."\\DDC1695News n";
16 16
         $sql = $this->_em->createQuery($dql)->getSQL();
17 17
 
18 18
         $this->assertEquals(
Please login to merge, or discard this patch.