Passed
Pull Request — 2.7 (#8012)
by Stefan
09:43
created
tests/Doctrine/Tests/ORM/Functional/GH8011Test.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
 
25 25
     public function testOrderWithArithmeticExpressionWithSingleValuedPathExpression()
26 26
     {
27
-        $dql = 'SELECT p ' .
28
-            'FROM Doctrine\Tests\Models\Company\CompanyEmployee p ' .
27
+        $dql = 'SELECT p '.
28
+            'FROM Doctrine\Tests\Models\Company\CompanyEmployee p '.
29 29
             'ORDER BY p.id + p.id ASC';
30 30
 
31 31
         /** @var CompanyEmployee[] $result */
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
 
39 39
     public function testOrderWithArithmeticExpressionWithLiteralAndSingleValuedPathExpression()
40 40
     {
41
-        $dql = 'SELECT p ' .
42
-            'FROM Doctrine\Tests\Models\Company\CompanyEmployee p ' .
41
+        $dql = 'SELECT p '.
42
+            'FROM Doctrine\Tests\Models\Company\CompanyEmployee p '.
43 43
             'ORDER BY 1 + p.id ASC';
44 44
 
45 45
         /** @var CompanyEmployee[] $result */
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
 
53 53
     public function testOrderWithArithmeticExpressionWithSingleValuedPathExpressionAndLiteral()
54 54
     {
55
-        $dql = 'SELECT p ' .
56
-            'FROM Doctrine\Tests\Models\Company\CompanyEmployee p ' .
55
+        $dql = 'SELECT p '.
56
+            'FROM Doctrine\Tests\Models\Company\CompanyEmployee p '.
57 57
             'ORDER BY p.id + 1 ASC';
58 58
 
59 59
         /** @var CompanyEmployee[] $result */
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
 
67 67
     public function testOrderWithArithmeticExpressionWithResultVariableAndLiteral()
68 68
     {
69
-        $dql = 'SELECT p,  p.salary AS HIDDEN s ' .
70
-            'FROM Doctrine\Tests\Models\Company\CompanyEmployee p ' .
69
+        $dql = 'SELECT p,  p.salary AS HIDDEN s '.
70
+            'FROM Doctrine\Tests\Models\Company\CompanyEmployee p '.
71 71
             'ORDER BY s + 1 DESC';
72 72
 
73 73
         /** @var CompanyEmployee[] $result */
@@ -80,8 +80,8 @@  discard block
 block discarded – undo
80 80
 
81 81
     public function testOrderWithArithmeticExpressionWithLiteralAndResultVariable()
82 82
     {
83
-        $dql = 'SELECT p,  p.salary AS HIDDEN s ' .
84
-            'FROM Doctrine\Tests\Models\Company\CompanyEmployee p ' .
83
+        $dql = 'SELECT p,  p.salary AS HIDDEN s '.
84
+            'FROM Doctrine\Tests\Models\Company\CompanyEmployee p '.
85 85
             'ORDER BY 1 + s DESC';
86 86
 
87 87
         /** @var CompanyEmployee[] $result */
@@ -94,8 +94,8 @@  discard block
 block discarded – undo
94 94
 
95 95
     public function testOrderWithArithmeticExpressionWithResultVariableAndSingleValuedPathExpression()
96 96
     {
97
-        $dql = 'SELECT p,  p.salary AS HIDDEN s ' .
98
-            'FROM Doctrine\Tests\Models\Company\CompanyEmployee p ' .
97
+        $dql = 'SELECT p,  p.salary AS HIDDEN s '.
98
+            'FROM Doctrine\Tests\Models\Company\CompanyEmployee p '.
99 99
             'ORDER BY s + p.id DESC';
100 100
 
101 101
         /** @var CompanyEmployee[] $result */
@@ -108,8 +108,8 @@  discard block
 block discarded – undo
108 108
 
109 109
     public function testOrderWithArithmeticExpressionWithSingleValuedPathExpressionAndResultVariable()
110 110
     {
111
-        $dql = 'SELECT p,  p.salary AS HIDDEN s ' .
112
-            'FROM Doctrine\Tests\Models\Company\CompanyEmployee p ' .
111
+        $dql = 'SELECT p,  p.salary AS HIDDEN s '.
112
+            'FROM Doctrine\Tests\Models\Company\CompanyEmployee p '.
113 113
             'ORDER BY p.id + s DESC';
114 114
 
115 115
         /** @var CompanyEmployee[] $result */
Please login to merge, or discard this patch.