@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | |
4 | -declare(strict_types=1); |
|
4 | +declare(strict_types = 1); |
|
5 | 5 | |
6 | 6 | namespace Doctrine\ORM\Tools\Pagination; |
7 | 7 | |
@@ -29,9 +29,9 @@ discard block |
||
29 | 29 | */ |
30 | 30 | public function getSql(\Doctrine\ORM\Query\SqlWalker $sqlWalker) |
31 | 31 | { |
32 | - return 'ROW_NUMBER() OVER(' . trim($sqlWalker->walkOrderByClause( |
|
32 | + return 'ROW_NUMBER() OVER('.trim($sqlWalker->walkOrderByClause( |
|
33 | 33 | $this->orderByClause |
34 | - )) . ')'; |
|
34 | + )).')'; |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | /** |
@@ -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\ORM\Tools\Pagination; |
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\ORM\Tools\Pagination; |
6 | 6 | |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | [$pathExpression] |
98 | 98 | ); |
99 | 99 | $expression = new InExpression($arithmeticExpression); |
100 | - $expression->literals[] = new InputParameter(":" . self::PAGINATOR_ID_ALIAS); |
|
100 | + $expression->literals[] = new InputParameter(":".self::PAGINATOR_ID_ALIAS); |
|
101 | 101 | |
102 | 102 | } else { |
103 | 103 | $expression = new NullComparisonExpression($pathExpression); |
@@ -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\ORM\Tools\Console; |
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\ORM\Tools\Console\Helper; |
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\ORM\Tools\Console\Command; |
6 | 6 | |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | } |
83 | 83 | |
84 | 84 | $hydrationModeName = $input->getOption('hydrate'); |
85 | - $hydrationMode = 'Doctrine\ORM\Query::HYDRATE_' . strtoupper(str_replace('-', '_', $hydrationModeName)); |
|
85 | + $hydrationMode = 'Doctrine\ORM\Query::HYDRATE_'.strtoupper(str_replace('-', '_', $hydrationModeName)); |
|
86 | 86 | |
87 | 87 | if ( ! defined($hydrationMode)) { |
88 | 88 | throw new \RuntimeException( |
@@ -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\ORM\Tools\Console\Command; |
6 | 6 | |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | $em->getConnection()->connect(); |
59 | 59 | } |
60 | 60 | } catch (\Exception $e) { |
61 | - $output->writeln('<error>' . $e->getMessage() . '</error>'); |
|
61 | + $output->writeln('<error>'.$e->getMessage().'</error>'); |
|
62 | 62 | |
63 | 63 | return 1; |
64 | 64 | } |
@@ -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\ORM\Tools\Console\Command; |
6 | 6 | |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | $entityGenerator->setRegenerateEntityIfExists($input->getOption('regenerate-entities')); |
132 | 132 | $entityGenerator->setUpdateEntityIfExists($input->getOption('update-entities')); |
133 | 133 | $entityGenerator->setNumSpaces($input->getOption('num-spaces')); |
134 | - $entityGenerator->setBackupExisting(!$input->getOption('no-backup')); |
|
134 | + $entityGenerator->setBackupExisting( ! $input->getOption('no-backup')); |
|
135 | 135 | |
136 | 136 | if (($extend = $input->getOption('extend')) !== null) { |
137 | 137 | $entityGenerator->setClassToExtend($extend); |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | $entityGenerator->generate($metadatas, $destPath); |
148 | 148 | |
149 | 149 | // Outputting information message |
150 | - $output->writeln(PHP_EOL . sprintf('Entity classes generated to "<info>%s</INFO>"', $destPath)); |
|
150 | + $output->writeln(PHP_EOL.sprintf('Entity classes generated to "<info>%s</INFO>"', $destPath)); |
|
151 | 151 | } else { |
152 | 152 | $output->writeln('No Metadata Classes to process.'); |
153 | 153 | } |
@@ -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\ORM\Tools\Console\Command\SchemaTool; |
6 | 6 |