Completed
Push — master ( 3c3a68...38d739 )
by P.R.
02:44
created
src/MySql/Audit.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -160,8 +160,8 @@  discard block
 block discarded – undo
160 160
       {
161 161
         $this->io->writeln(sprintf('<info>Found new table %s</info>', $table['table_name']));
162 162
         $this->config['tables'][$table['table_name']] = ['audit' => false,
163
-                                                         'alias' => null,
164
-                                                         'skip'  => null];
163
+                                                          'alias' => null,
164
+                                                          'skip'  => null];
165 165
       }
166 166
     }
167 167
   }
@@ -225,15 +225,15 @@  discard block
 block discarded – undo
225 225
         }
226 226
 
227 227
         $configTable = new TableMetadata($table['table_name'],
228
-                                         $this->config['database']['data_schema'],
229
-                                         $tableColumns);
228
+                                          $this->config['database']['data_schema'],
229
+                                          $tableColumns);
230 230
 
231 231
         $currentTable = new AuditTable($this->io,
232
-                                       $configTable,
233
-                                       $this->config['database']['audit_schema'],
234
-                                       $this->auditColumnsMetadata,
235
-                                       $this->config['tables'][$table['table_name']]['alias'],
236
-                                       $this->config['tables'][$table['table_name']]['skip']);
232
+                                        $configTable,
233
+                                        $this->config['database']['audit_schema'],
234
+                                        $this->auditColumnsMetadata,
235
+                                        $this->config['tables'][$table['table_name']]['alias'],
236
+                                        $this->config['tables'][$table['table_name']]['skip']);
237 237
 
238 238
         // Ensure an audit table exists.
239 239
         if (StaticDataLayer::searchInRowSet('table_name', $table['table_name'], $this->auditSchemaTables)===null)
@@ -257,15 +257,15 @@  discard block
 block discarded – undo
257 257
       else
258 258
       {
259 259
         $configTable = new TableMetadata($table['table_name'],
260
-                                         $this->config['database']['data_schema'],
261
-                                         []);
260
+                                          $this->config['database']['data_schema'],
261
+                                          []);
262 262
 
263 263
         $currentTable = new AuditTable($this->io,
264
-                                       $configTable,
265
-                                       $this->config['database']['audit_schema'],
266
-                                       $this->auditColumnsMetadata,
267
-                                       '',
268
-                                       '');
264
+                                        $configTable,
265
+                                        $this->config['database']['audit_schema'],
266
+                                        $this->auditColumnsMetadata,
267
+                                        '',
268
+                                        '');
269 269
 
270 270
         $currentTable->dropAuditTriggers($this->config['database']['data_schema'], $table['table_name']);
271 271
       }
Please login to merge, or discard this patch.