@@ -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; |
| 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 | } |
@@ -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 | |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | return; |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | - if (! isset(self::$sharedConn)) { |
|
| 42 | + if ( ! isset(self::$sharedConn)) { |
|
| 43 | 43 | self::$sharedConn = TestUtil::getConnection(); |
| 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\Performance; |
| 6 | 6 | |
@@ -17,13 +17,13 @@ discard block |
||
| 17 | 17 | { |
| 18 | 18 | $config = new Configuration(); |
| 19 | 19 | |
| 20 | - $config->setProxyDir(__DIR__ . '/../Tests/Proxies'); |
|
| 20 | + $config->setProxyDir(__DIR__.'/../Tests/Proxies'); |
|
| 21 | 21 | $config->setProxyNamespace('Doctrine\Tests\Proxies'); |
| 22 | 22 | $config->setAutoGenerateProxyClasses(StaticProxyFactory::AUTOGENERATE_EVAL); |
| 23 | 23 | $config->setMetadataDriverImpl( |
| 24 | 24 | $config->newDefaultAnnotationDriver([ |
| 25 | - realpath(__DIR__ . '/Models/Cache'), |
|
| 26 | - realpath(__DIR__ . '/Models/GeoNames') |
|
| 25 | + realpath(__DIR__.'/Models/Cache'), |
|
| 26 | + realpath(__DIR__.'/Models/GeoNames') |
|
| 27 | 27 | ]) |
| 28 | 28 | ); |
| 29 | 29 | |
@@ -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\Performance\Mock; |
| 6 | 6 | |