@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\Mocks; |
6 | 6 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\Mocks; |
6 | 6 | |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | public function quote($input, $type = null) |
122 | 122 | { |
123 | 123 | if (is_string($input)) { |
124 | - return "'" . $input . "'"; |
|
124 | + return "'".$input."'"; |
|
125 | 125 | } |
126 | 126 | return $input; |
127 | 127 | } |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\Mocks; |
6 | 6 | |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | /** |
38 | 38 | * {@inheritdoc} |
39 | 39 | */ |
40 | - public function errorInfo(){} |
|
40 | + public function errorInfo() {} |
|
41 | 41 | |
42 | 42 | /** |
43 | 43 | * {@inheritdoc} |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\Mocks; |
6 | 6 | |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | /** |
52 | 52 | * {@inheritdoc} |
53 | 53 | */ |
54 | - public function quote($input, $type=\PDO::PARAM_STR) |
|
54 | + public function quote($input, $type = \PDO::PARAM_STR) |
|
55 | 55 | { |
56 | 56 | } |
57 | 57 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests; |
6 | 6 | |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | { |
93 | 93 | $realDbParams = self::getParamsForMainConnection(); |
94 | 94 | |
95 | - if (! self::$initialized) { |
|
95 | + if ( ! self::$initialized) { |
|
96 | 96 | $tmpDbParams = self::getParamsForTemporaryConnection(); |
97 | 97 | |
98 | 98 | $realConn = DriverManager::getConnection($realDbParams); |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | // Connect to tmpdb in order to drop and create the real test db. |
101 | 101 | $tmpConn = DriverManager::getConnection($tmpDbParams); |
102 | 102 | |
103 | - $platform = $tmpConn->getDatabasePlatform(); |
|
103 | + $platform = $tmpConn->getDatabasePlatform(); |
|
104 | 104 | |
105 | 105 | if ($platform->supportsCreateDropDatabase()) { |
106 | 106 | $dbname = $realConn->getDatabase(); |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\EventListener; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\DbalTypes; |
6 | 6 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\DbalTypes; |
6 | 6 | |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | */ |
33 | 33 | public function convertToDatabaseValueSQL($sqlExpr, AbstractPlatform $platform) |
34 | 34 | { |
35 | - return 'UPPER(' . $sqlExpr . ')'; |
|
35 | + return 'UPPER('.$sqlExpr.')'; |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |
@@ -40,6 +40,6 @@ discard block |
||
40 | 40 | */ |
41 | 41 | public function convertToPHPValueSQL($sqlExpr, $platform) |
42 | 42 | { |
43 | - return 'LOWER(' . $sqlExpr . ')'; |
|
43 | + return 'LOWER('.$sqlExpr.')'; |
|
44 | 44 | } |
45 | 45 | } |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Doctrine\Tests\DbalTypes; |
6 | 6 | |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | */ |
41 | 41 | public function convertToDatabaseValueSQL($sqlExpr, AbstractPlatform $platform) |
42 | 42 | { |
43 | - return 'ABS(' . $sqlExpr . ')'; |
|
43 | + return 'ABS('.$sqlExpr.')'; |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
@@ -48,6 +48,6 @@ discard block |
||
48 | 48 | */ |
49 | 49 | public function convertToPHPValueSQL($sqlExpr, $platform) |
50 | 50 | { |
51 | - return '-(' . $sqlExpr . ')'; |
|
51 | + return '-('.$sqlExpr.')'; |
|
52 | 52 | } |
53 | 53 | } |