@@ -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\ORM\Mapping\Symfony; |
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\ORM\Entity; |
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\ORM\Repository; |
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\ORM\Query; |
6 | 6 |
@@ -30,7 +30,7 @@ |
||
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 |
@@ -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\ORM\Query; |
6 | 6 | |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | |
35 | 35 | $query->free(); |
36 | 36 | } catch (\Exception $e) { |
37 | - $this->fail($e->getMessage() . ' at "' . $e->getFile() . '" on line ' . $e->getLine()); |
|
37 | + $this->fail($e->getMessage().' at "'.$e->getFile().'" on line '.$e->getLine()); |
|
38 | 38 | } |
39 | 39 | |
40 | 40 | self::assertEquals($sqlToBeConfirmed, $sqlGenerated); |
@@ -76,9 +76,9 @@ discard block |
||
76 | 76 | { |
77 | 77 | $rangeVariableDecl = $identificationVariableDecl->rangeVariableDeclaration; |
78 | 78 | $joinAssocPathExpression = new Query\AST\JoinAssociationPathExpression($rangeVariableDecl->aliasIdentificationVariable, 'address'); |
79 | - $joinAssocDeclaration = new Query\AST\JoinAssociationDeclaration($joinAssocPathExpression, $rangeVariableDecl->aliasIdentificationVariable . 'a', null); |
|
79 | + $joinAssocDeclaration = new Query\AST\JoinAssociationDeclaration($joinAssocPathExpression, $rangeVariableDecl->aliasIdentificationVariable.'a', null); |
|
80 | 80 | $join = new Query\AST\Join(Query\AST\Join::JOIN_TYPE_LEFT, $joinAssocDeclaration); |
81 | - $selectExpression = new Query\AST\SelectExpression($rangeVariableDecl->aliasIdentificationVariable . 'a', null, false); |
|
81 | + $selectExpression = new Query\AST\SelectExpression($rangeVariableDecl->aliasIdentificationVariable.'a', null, false); |
|
82 | 82 | |
83 | 83 | $identificationVariableDecl->joins[] = $join; |
84 | 84 | $selectStatement->selectClause->selectExpressions[] = $selectExpression; |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | $addressMetadata = $entityManager->getClassMetadata(CmsAddress::class); |
89 | 89 | |
90 | 90 | $this->setQueryComponent( |
91 | - $rangeVariableDecl->aliasIdentificationVariable . 'a', |
|
91 | + $rangeVariableDecl->aliasIdentificationVariable.'a', |
|
92 | 92 | [ |
93 | 93 | 'metadata' => $addressMetadata, |
94 | 94 | 'parent' => $rangeVariableDecl->aliasIdentificationVariable, |
@@ -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\ORM\Query; |
6 | 6 | |
@@ -31,9 +31,9 @@ discard block |
||
31 | 31 | */ |
32 | 32 | public function testAbstractSchemaNameSupportsClassnamesWithLeadingBackslash() |
33 | 33 | { |
34 | - $parser = $this->createParser('\\' . CmsUser::class); |
|
34 | + $parser = $this->createParser('\\'.CmsUser::class); |
|
35 | 35 | |
36 | - self::assertEquals('\\' . CmsUser::class, $parser->AbstractSchemaName()); |
|
36 | + self::assertEquals('\\'.CmsUser::class, $parser->AbstractSchemaName()); |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
@@ -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\ORM\Query; |
6 | 6 | |
@@ -88,6 +88,6 @@ discard block |
||
88 | 88 | public function addFilterConstraint(ClassMetadata $targetEntity, $targetTableAlias) |
89 | 89 | { |
90 | 90 | // getParameter applies quoting automatically |
91 | - return $targetTableAlias . '.id = ' . $this->getParameter('id'); |
|
91 | + return $targetTableAlias.'.id = '.$this->getParameter('id'); |
|
92 | 92 | } |
93 | 93 | } |
@@ -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\ORM\Persisters; |
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\ORM\Functional\SchemaTool; |
6 | 6 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | |
31 | 31 | $updateSql = $this->schemaTool->getUpdateSchemaSql([$class]); |
32 | 32 | |
33 | - $updateSql = array_filter($updateSql, function ($sql) { |
|
33 | + $updateSql = array_filter($updateSql, function($sql) { |
|
34 | 34 | return strpos($sql, 'DBAL483') !== false; |
35 | 35 | }); |
36 | 36 |