Failed Conditions
Pull Request — master (#6485)
by Alessandro
12:30
created
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3042Test.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
             $this
29 29
                 ->_em
30 30
                 ->createQuery(
31
-                    'SELECT f, b FROM ' . __NAMESPACE__ . '\DDC3042Foo f JOIN ' . __NAMESPACE__ . '\DDC3042Bar b WITH 1 = 1'
31
+                    'SELECT f, b FROM '.__NAMESPACE__.'\DDC3042Foo f JOIN '.__NAMESPACE__.'\DDC3042Bar b WITH 1 = 1'
32 32
                 )
33 33
                 ->getSQL()
34 34
         );
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC837Test.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
     /**
103 103
      * @Id @Column(name="id", type="integer")
104 104
      * @GeneratedValue(strategy="AUTO")
105
-    */
105
+     */
106 106
     public $id;
107 107
 }
108 108
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2660Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,14 +24,14 @@
 block discarded – undo
24 24
                 $this->_em->getClassMetadata(DDC2660CustomerOrder::class)
25 25
                 ]
26 26
             );
27
-        } catch(\Exception $e) {
27
+        } catch (\Exception $e) {
28 28
             return;
29 29
         }
30 30
 
31 31
         for ($i = 0; $i < 5; $i++) {
32 32
             $product = new DDC2660Product();
33 33
             $customer = new DDC2660Customer();
34
-            $order = new DDC2660CustomerOrder($product, $customer, 'name' . $i);
34
+            $order = new DDC2660CustomerOrder($product, $customer, 'name'.$i);
35 35
 
36 36
             $this->_em->persist($product);
37 37
             $this->_em->persist($customer);
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC742Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     {
18 18
         parent::setUp();
19 19
 
20
-        $testDir = sys_get_temp_dir() . '/DDC742Test' . uniqid();
20
+        $testDir = sys_get_temp_dir().'/DDC742Test'.uniqid();
21 21
 
22 22
         mkdir($testDir);
23 23
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
                     $this->_em->getClassMetadata(DDC742Comment::class)
32 32
                 ]
33 33
             );
34
-        } catch(\Exception $e) {
34
+        } catch (\Exception $e) {
35 35
         }
36 36
 
37 37
         // make sure classes will be deserialized from caches
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC522Test.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         $this->_em->clear();
45 45
 
46 46
         $r = $this->_em->createQuery('select ca,c from ' . DDC522Cart::class . ' ca join ca.customer c')
47
-                       ->getResult();
47
+                        ->getResult();
48 48
 
49 49
         $this->assertInstanceOf(DDC522Cart::class, $r[0]);
50 50
         $this->assertInstanceOf(DDC522Customer::class, $r[0]->customer);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
                     $this->_em->getClassMetadata(DDC522ForeignKeyTest::class)
23 23
                 ]
24 24
             );
25
-        } catch(\Exception $e) {
25
+        } catch (\Exception $e) {
26 26
         }
27 27
     }
28 28
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
         $this->_em->clear();
45 45
 
46
-        $r = $this->_em->createQuery('select ca,c from ' . DDC522Cart::class . ' ca join ca.customer c')
46
+        $r = $this->_em->createQuery('select ca,c from '.DDC522Cart::class.' ca join ca.customer c')
47 47
                        ->getResult();
48 48
 
49 49
         $this->assertInstanceOf(DDC522Cart::class, $r[0]);
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3170Test.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -47,19 +47,19 @@
 block discarded – undo
47 47
         $this->_em->clear();
48 48
 
49 49
         $result = $this->_em->createQueryBuilder()
50
-                  ->select('p')
51
-                  ->from(DDC3170ProductJoined::class, 'p')
52
-                  ->getQuery()
53
-                  ->getResult(AbstractQuery::HYDRATE_SIMPLEOBJECT);
50
+                    ->select('p')
51
+                    ->from(DDC3170ProductJoined::class, 'p')
52
+                    ->getQuery()
53
+                    ->getResult(AbstractQuery::HYDRATE_SIMPLEOBJECT);
54 54
 
55 55
         self::assertCount(1, $result);
56 56
         self::assertContainsOnly(DDC3170ProductJoined::class, $result);
57 57
 
58 58
         $result = $this->_em->createQueryBuilder()
59
-                  ->select('p')
60
-                  ->from(DDC3170ProductSingleTable::class, 'p')
61
-                  ->getQuery()
62
-                  ->getResult(AbstractQuery::HYDRATE_SIMPLEOBJECT);
59
+                    ->select('p')
60
+                    ->from(DDC3170ProductSingleTable::class, 'p')
61
+                    ->getQuery()
62
+                    ->getResult(AbstractQuery::HYDRATE_SIMPLEOBJECT);
63 63
 
64 64
         self::assertCount(1, $result);
65 65
         self::assertContainsOnly(DDC3170ProductSingleTable::class, $result);
Please login to merge, or discard this patch.
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.