@@ -146,7 +146,7 @@ |
||
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); |
@@ -107,7 +107,7 @@ |
||
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; |
@@ -98,7 +98,7 @@ |
||
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 { |
@@ -64,7 +64,7 @@ |
||
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.' |
@@ -101,7 +101,7 @@ |
||
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) |
@@ -107,7 +107,7 @@ |
||
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; |
@@ -107,7 +107,7 @@ |
||
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; |