Failed Conditions
Push — develop ( 1e1a22...0ebeb4 )
by Michael
128:26 queued 63:28
created
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.
lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/UpdateCommand.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\SchemaTool;
6 6
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
         $force   = true === $input->getOption('force');
110 110
 
111 111
         if ($dumpSql) {
112
-            $output->writeln(implode(';' . PHP_EOL, $sqls) . ';');
112
+            $output->writeln(implode(';'.PHP_EOL, $sqls).';');
113 113
         }
114 114
 
115 115
         if ($force) {
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/DropCommand.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\SchemaTool;
6 6
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
             } else {
74 74
                 $sqls = $schemaTool->getDropSchemaSQL($metadatas);
75 75
             }
76
-            $output->writeln(implode(';' . PHP_EOL, $sqls));
76
+            $output->writeln(implode(';'.PHP_EOL, $sqls));
77 77
 
78 78
             return 0;
79 79
         }
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
             return 0;
93 93
         }
94 94
 
95
-        $output->writeln('<comment>ATTENTION</comment>: This operation should not be executed in a production environment.' . PHP_EOL);
95
+        $output->writeln('<comment>ATTENTION</comment>: This operation should not be executed in a production environment.'.PHP_EOL);
96 96
 
97 97
         if ($isFullDatabaseDrop) {
98 98
             $sqls = $schemaTool->getDropDatabaseSQL();
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/CreateCommand.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\SchemaTool;
6 6
 
@@ -58,9 +58,9 @@  discard block
 block discarded – undo
58 58
     {
59 59
         if ($input->getOption('dump-sql')) {
60 60
             $sqls = $schemaTool->getCreateSchemaSql($metadatas);
61
-            $output->writeln(implode(';' . PHP_EOL, $sqls) . ';');
61
+            $output->writeln(implode(';'.PHP_EOL, $sqls).';');
62 62
         } else {
63
-            $output->writeln('ATTENTION: This operation should not be executed in a production environment.' . PHP_EOL);
63
+            $output->writeln('ATTENTION: This operation should not be executed in a production environment.'.PHP_EOL);
64 64
 
65 65
             $output->writeln('Creating database schema...');
66 66
             $schemaTool->createSchema($metadatas);
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/GenerateProxiesCommand.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
 
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
             );
84 84
         }
85 85
 
86
-        if ( count($metadatas)) {
86
+        if (count($metadatas)) {
87 87
             foreach ($metadatas as $metadata) {
88 88
                 $output->writeln(
89 89
                     sprintf('Processing entity "<info>%s</info>"', $metadata->getClassName())
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
             $em->getProxyFactory()->generateProxyClasses($metadatas, $destPath);
95 95
 
96 96
             // Outputting information message
97
-            $output->writeln(PHP_EOL . sprintf('Proxy classes generated to "<info>%s</INFO>"', $destPath));
97
+            $output->writeln(PHP_EOL.sprintf('Proxy classes generated to "<info>%s</INFO>"', $destPath));
98 98
         } else {
99 99
             $output->writeln('No Metadata Classes to process.');
100 100
         }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/ClearCache/ResultCommand.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\ClearCache;
6 6
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/ClearCache/EntityRegionCommand.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\ClearCache;
6 6
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         }
81 81
 
82 82
         if ($input->getOption('flush')) {
83
-            $entityRegion  = $cache->getEntityCacheRegion($entityClass);
83
+            $entityRegion = $cache->getEntityCacheRegion($entityClass);
84 84
 
85 85
             if ( ! $entityRegion instanceof DefaultRegion) {
86 86
                 throw new \InvalidArgumentException(sprintf(
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/ClearCache/QueryCommand.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\ClearCache;
6 6
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
             throw new \LogicException("Cannot clear XCache Cache from Console, its shared in the Webserver memory and not accessible from the CLI.");
80 80
         }
81 81
 
82
-        $output->write('Clearing ALL Query cache entries' . PHP_EOL);
82
+        $output->write('Clearing ALL Query cache entries'.PHP_EOL);
83 83
 
84 84
         $result  = $cacheDriver->deleteAll();
85 85
         $message = ($result) ? 'Successfully deleted cache entries.' : 'No cache entries were deleted.';
@@ -89,6 +89,6 @@  discard block
 block discarded – undo
89 89
             $message = ($result) ? 'Successfully flushed cache entries.' : $message;
90 90
         }
91 91
 
92
-        $output->write($message . PHP_EOL);
92
+        $output->write($message.PHP_EOL);
93 93
     }
94 94
 }
Please login to merge, or discard this patch.
Doctrine/ORM/Tools/Console/Command/ClearCache/CollectionRegionCommand.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\ClearCache;
6 6
 
@@ -77,12 +77,12 @@  discard block
 block discarded – undo
77 77
             throw new \InvalidArgumentException('No second-level cache is configured on the given EntityManager.');
78 78
         }
79 79
 
80
-        if ( (! $ownerClass || ! $assoc) && ! $input->getOption('all')) {
80
+        if (( ! $ownerClass || ! $assoc) && ! $input->getOption('all')) {
81 81
             throw new \InvalidArgumentException('Missing arguments "--owner-class" "--association"');
82 82
         }
83 83
 
84 84
         if ($input->getOption('flush')) {
85
-            $collectionRegion  = $cache->getCollectionCacheRegion($ownerClass, $assoc);
85
+            $collectionRegion = $cache->getCollectionCacheRegion($ownerClass, $assoc);
86 86
 
87 87
             if ( ! $collectionRegion instanceof DefaultRegion) {
88 88
                 throw new \InvalidArgumentException(sprintf(
Please login to merge, or discard this patch.