Test Failed
Push — master ( 20df5d...44accc )
by Andreas
04:15
created
src/storage/subscriber.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -107,8 +107,8 @@  discard block
 block discarded – undo
107 107
             $cs = $em->getUnitOfWork()->getEntityChangeSet($entity);
108 108
             // We only need to update repligard if we're coming from create (revision 0)
109 109
             // or if we delete/undelete
110
-            if (   !array_key_exists('metadata_deleted', $cs)
111
-                && $entity->metadata_revision > 0)  {
110
+            if (!array_key_exists('metadata_deleted', $cs)
111
+                && $entity->metadata_revision > 0) {
112 112
                 $check_repligard = false;
113 113
             }
114 114
 
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 
178 178
         foreach ($columns as $name => &$config) {
179 179
             if ($platform instanceof SqlitePlatform) {
180
-                if (   !empty($config['comment'])
180
+                if (!empty($config['comment'])
181 181
                     && $config['comment'] == 'BINARY') {
182 182
                     $modified = true;
183 183
                     $config['columnDefinition'] = $config['type']->getSQLDeclaration($config, $platform) . ' COLLATE BINARY' . $platform->getDefaultValueDeclarationSQL($config);
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
                         $config['columnDefinition'] = $config['comment'] . $platform->getDefaultValueDeclarationSQL($config);
195 195
                     }
196 196
                     if (!empty($config['columnDefinition']) && $platform->supportsInlineColumnComments()) {
197
-                        $config['columnDefinition'] .=  " COMMENT " . $platform->quoteStringLiteral($config['comment']);
197
+                        $config['columnDefinition'] .= " COMMENT " . $platform->quoteStringLiteral($config['comment']);
198 198
                     }
199 199
                 }
200 200
             }
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
     public function postGenerateSchemaTable(GenerateSchemaTableEventArgs $args)
279 279
     {
280 280
         $table = $args->getClassTable();
281
-        if (   !$table->hasOption('engine')
281
+        if (!$table->hasOption('engine')
282 282
             || $table->getOption('engine') !== 'MyISAM') {
283 283
             return;
284 284
         }
Please login to merge, or discard this patch.