Completed
Pull Request — master (#7902)
by
unknown
63:54
created
lib/Doctrine/ORM/Query/Expr/Comparison.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,6 +95,6 @@
 block discarded – undo
95 95
      */
96 96
     public function __toString()
97 97
     {
98
-        return $this->leftExpr . ' ' . $this->operator . ' ' . $this->rightExpr;
98
+        return $this->leftExpr.' '.$this->operator.' '.$this->rightExpr;
99 99
     }
100 100
 }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/Expr/Math.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -92,16 +92,16 @@
 block discarded – undo
92 92
         $leftExpr = (string) $this->leftExpr;
93 93
 
94 94
         if ($this->leftExpr instanceof Math) {
95
-            $leftExpr = '(' . $leftExpr . ')';
95
+            $leftExpr = '('.$leftExpr.')';
96 96
         }
97 97
 
98 98
         // Adjusting Right Expression
99 99
         $rightExpr = (string) $this->rightExpr;
100 100
 
101 101
         if ($this->rightExpr instanceof Math) {
102
-            $rightExpr = '(' . $rightExpr . ')';
102
+            $rightExpr = '('.$rightExpr.')';
103 103
         }
104 104
 
105
-        return $leftExpr . ' ' . $this->operator . ' ' . $rightExpr;
105
+        return $leftExpr.' '.$this->operator.' '.$rightExpr;
106 106
     }
107 107
 }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/Expr/From.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
      */
87 87
     public function __toString()
88 88
     {
89
-        return $this->from . ' ' . $this->alias .
90
-                ($this->indexBy ? ' INDEX BY ' . $this->indexBy : '');
89
+        return $this->from.' '.$this->alias.
90
+                ($this->indexBy ? ' INDEX BY '.$this->indexBy : '');
91 91
     }
92 92
 }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2359Test.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@
 block discarded – undo
32 32
                                 ->getMock();
33 33
 
34 34
         $configuration = $this->getMockBuilder(Configuration::class)
35
-                              ->setMethods(['getMetadataDriverImpl'])
36
-                              ->getMock();
35
+                                ->setMethods(['getMetadataDriverImpl'])
36
+                                ->getMock();
37 37
 
38 38
         $connection = $this->createMock(Connection::class);
39 39
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Query/FilterCollectionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,6 +86,6 @@
 block discarded – undo
86 86
     public function addFilterConstraint(ClassMetadata $targetEntity, $targetTableAlias)
87 87
     {
88 88
         // getParameter applies quoting automatically
89
-        return $targetTableAlias . '.id = ' . $this->getParameter('id');
89
+        return $targetTableAlias.'.id = '.$this->getParameter('id');
90 90
     }
91 91
 }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DbalTypes/UpperCaseStringType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function convertToDatabaseValueSQL($sqlExpr, AbstractPlatform $platform)
32 32
     {
33
-        return 'UPPER(' . $sqlExpr . ')';
33
+        return 'UPPER('.$sqlExpr.')';
34 34
     }
35 35
 
36 36
     /**
@@ -38,6 +38,6 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function convertToPHPValueSQL($sqlExpr, $platform)
40 40
     {
41
-        return 'LOWER(' . $sqlExpr . ')';
41
+        return 'LOWER('.$sqlExpr.')';
42 42
     }
43 43
 }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/DbalTypes/NegativeToPositiveType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function convertToDatabaseValueSQL($sqlExpr, AbstractPlatform $platform)
40 40
     {
41
-        return 'ABS(' . $sqlExpr . ')';
41
+        return 'ABS('.$sqlExpr.')';
42 42
     }
43 43
 
44 44
     /**
@@ -46,6 +46,6 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function convertToPHPValueSQL($sqlExpr, $platform)
48 48
     {
49
-        return '-(' . $sqlExpr . ')';
49
+        return '-('.$sqlExpr.')';
50 50
     }
51 51
 }
Please login to merge, or discard this patch.
tests/Doctrine/Performance/Hydration/SimpleHydrationBench.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
             $user = new CMS\CmsUser();
40 40
 
41 41
             $user->status   = 'developer';
42
-            $user->username = 'jwage' . $i;
42
+            $user->username = 'jwage'.$i;
43 43
             $user->name     = 'Jonathan';
44 44
 
45 45
             $this->entityManager->persist($user);
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Query/CustomTreeWalkersJoinTest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         try {
31 31
             $query = $this->em->createQuery($dqlToBeTested);
32 32
             $query->setHint(Query::HINT_CUSTOM_TREE_WALKERS, [CustomTreeWalkerJoin::class])
33
-                  ->useQueryCache(false);
33
+                    ->useQueryCache(false);
34 34
 
35 35
             $sqlGenerated = $query->getSql();
36 36
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
             $query->free();
37 37
         } catch (Exception $e) {
38
-            $this->fail($e->getMessage() . ' at "' . $e->getFile() . '" on line ' . $e->getLine());
38
+            $this->fail($e->getMessage().' at "'.$e->getFile().'" on line '.$e->getLine());
39 39
         }
40 40
 
41 41
         self::assertEquals($sqlToBeConfirmed, $sqlGenerated);
@@ -77,9 +77,9 @@  discard block
 block discarded – undo
77 77
     {
78 78
         $rangeVariableDecl       = $identificationVariableDecl->rangeVariableDeclaration;
79 79
         $joinAssocPathExpression = new Query\AST\JoinAssociationPathExpression($rangeVariableDecl->aliasIdentificationVariable, 'address');
80
-        $joinAssocDeclaration    = new Query\AST\JoinAssociationDeclaration($joinAssocPathExpression, $rangeVariableDecl->aliasIdentificationVariable . 'a', null);
80
+        $joinAssocDeclaration    = new Query\AST\JoinAssociationDeclaration($joinAssocPathExpression, $rangeVariableDecl->aliasIdentificationVariable.'a', null);
81 81
         $join                    = new Query\AST\Join(Query\AST\Join::JOIN_TYPE_LEFT, $joinAssocDeclaration);
82
-        $selectExpression        = new Query\AST\SelectExpression($rangeVariableDecl->aliasIdentificationVariable . 'a', null, false);
82
+        $selectExpression        = new Query\AST\SelectExpression($rangeVariableDecl->aliasIdentificationVariable.'a', null, false);
83 83
 
84 84
         $identificationVariableDecl->joins[]                = $join;
85 85
         $selectStatement->selectClause->selectExpressions[] = $selectExpression;
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         $addressMetadata = $entityManager->getClassMetadata(CmsAddress::class);
90 90
 
91 91
         $this->setQueryComponent(
92
-            $rangeVariableDecl->aliasIdentificationVariable . 'a',
92
+            $rangeVariableDecl->aliasIdentificationVariable.'a',
93 93
             [
94 94
                 'metadata'     => $addressMetadata,
95 95
                 'parent'       => $rangeVariableDecl->aliasIdentificationVariable,
Please login to merge, or discard this patch.