Failed Conditions
Pull Request — master (#6655)
by
unknown
21:01
created
lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
             $entityGenerator->setRegenerateEntityIfExists($input->getOption('regenerate-entities'));
147 147
             $entityGenerator->setUpdateEntityIfExists($input->getOption('update-entities'));
148 148
             $entityGenerator->setNumSpaces($input->getOption('num-spaces'));
149
-            $entityGenerator->setBackupExisting(!$input->getOption('no-backup'));
149
+            $entityGenerator->setBackupExisting( ! $input->getOption('no-backup'));
150 150
 
151 151
             if (($extend = $input->getOption('extend')) !== null) {
152 152
                 $entityGenerator->setClassToExtend($extend);
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/ClearCache/MetadataCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
             $message = ($result) ? 'Successfully flushed cache entries.' : $message;
108 108
         }
109 109
 
110
-        if (!$result) {
110
+        if ( ! $result) {
111 111
             $ui->error($message);
112 112
 
113 113
             return 1;
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/ValidateSchemaCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
         $ui->section('Database');
99 99
         if ($input->getOption('skip-sync')) {
100 100
             $ui->text('<comment>[SKIPPED] The database was not checked for synchronicity.</comment>');
101
-        } elseif (!$validator->schemaInSyncWithMetadata()) {
101
+        } elseif ( ! $validator->schemaInSyncWithMetadata()) {
102 102
             $ui->error('The database schema is not in sync with the current mapping file.');
103 103
             $exit += 2;
104 104
         } else {
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/InfoCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
             ->getMetadataDriverImpl()
65 65
             ->getAllClassNames();
66 66
 
67
-        if (!$entityClassNames) {
67
+        if ( ! $entityClassNames) {
68 68
             $ui->caution([
69 69
                 'You do not have any mapped Doctrine ORM entities according to the current configuration.',
70 70
                 'If you have entities or mapping files you should check your mapping configuration for errors.'
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/GenerateProxiesCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
             );
102 102
         }
103 103
 
104
-        if ( count($metadatas)) {
104
+        if (count($metadatas)) {
105 105
             foreach ($metadatas as $metadata) {
106 106
                 $ui->text(
107 107
                     sprintf('Processing entity "<info>%s</info>"', $metadata->name)
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
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
             $message = ($result) ? 'Successfully flushed cache entries.' : $message;
108 108
         }
109 109
 
110
-        if (!$result) {
110
+        if ( ! $result) {
111 111
             $ui->error($message);
112 112
 
113 113
             return 1;
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/ClearCache/QueryCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
             $message = ($result) ? 'Successfully flushed cache entries.' : $message;
108 108
         }
109 109
 
110
-        if (!$result) {
110
+        if ( ! $result) {
111 111
             $ui->error($message);
112 112
 
113 113
             return 1;
Please login to merge, or discard this patch.