@@ -95,6 +95,6 @@ |
||
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 | } |
@@ -92,16 +92,16 @@ |
||
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 | } |
@@ -86,7 +86,7 @@ |
||
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 | } |
@@ -86,6 +86,6 @@ |
||
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 | } |
@@ -30,7 +30,7 @@ discard block |
||
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 |
||
38 | 38 | */ |
39 | 39 | public function convertToPHPValueSQL($sqlExpr, $platform) |
40 | 40 | { |
41 | - return 'LOWER(' . $sqlExpr . ')'; |
|
41 | + return 'LOWER('.$sqlExpr.')'; |
|
42 | 42 | } |
43 | 43 | } |
@@ -38,7 +38,7 @@ discard block |
||
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 |
||
46 | 46 | */ |
47 | 47 | public function convertToPHPValueSQL($sqlExpr, $platform) |
48 | 48 | { |
49 | - return '-(' . $sqlExpr . ')'; |
|
49 | + return '-('.$sqlExpr.')'; |
|
50 | 50 | } |
51 | 51 | } |
@@ -39,7 +39,7 @@ |
||
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); |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | $this->tester->execute( |
63 | 63 | [ |
64 | 64 | 'command' => $this->command->getName(), |
65 | - 'dql' => 'SELECT e FROM ' . DateTimeModel::class . ' e', |
|
65 | + 'dql' => 'SELECT e FROM '.DateTimeModel::class.' e', |
|
66 | 66 | ] |
67 | 67 | ) |
68 | 68 | ); |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | $this->tester->execute( |
81 | 81 | [ |
82 | 82 | 'command' => $this->command->getName(), |
83 | - 'dql' => 'SELECT e FROM ' . DateTimeModel::class . ' e', |
|
83 | + 'dql' => 'SELECT e FROM '.DateTimeModel::class.' e', |
|
84 | 84 | '--show-sql' => 'true', |
85 | 85 | ] |
86 | 86 | ) |
@@ -29,8 +29,8 @@ |
||
29 | 29 | $user = new CmsUser(); |
30 | 30 | $user->id = $i; |
31 | 31 | $user->status = 'user'; |
32 | - $user->username = 'user' . $i; |
|
33 | - $user->name = 'Mr.Smith-' . $i; |
|
32 | + $user->username = 'user'.$i; |
|
33 | + $user->name = 'Mr.Smith-'.$i; |
|
34 | 34 | $this->users[] = $user; |
35 | 35 | |
36 | 36 | $this->unitOfWork->registerManaged( |