@@ -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 @@ |
||
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 @@ |
||
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 |
@@ -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\Hydration; |
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\Performance\Hydration; |
6 | 6 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | $user = new CMS\CmsUser(); |
42 | 42 | |
43 | 43 | $user->status = 'developer'; |
44 | - $user->username = 'jwage' . $i; |
|
44 | + $user->username = 'jwage'.$i; |
|
45 | 45 | $user->name = 'Jonathan'; |
46 | 46 | |
47 | 47 | $this->entityManager->persist($user); |