Completed
Pull Request — develop (#6743)
by Grégoire
65:46
created
lib/Doctrine/ORM/Tools/Pagination/RowNumberOverFunction.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Pagination/CountOutputWalker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Pagination/WhereInWalker.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/MetadataFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Helper/EntityManagerHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/RunDqlCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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(
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/EnsureProductionSettingsCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/AbstractCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.