Completed
Push — master ( fa00f5...226160 )
by P.R.
03:39
created
src/MySql/AuditTable.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -108,8 +108,8 @@  discard block
 block discarded – undo
108 108
   public function createAuditTable()
109 109
   {
110 110
     $this->io->logInfo('Creating audit table <dbo>%s.%s<dbo>',
111
-                       $this->auditSchemaName,
112
-                       $this->configTable->getTableName());
111
+                        $this->auditSchemaName,
112
+                        $this->configTable->getTableName());
113 113
 
114 114
     // In the audit table all columns from the data table must be nullable.
115 115
     $dataTableColumnsDatabase = clone($this->dataTableColumnsDatabase);
@@ -117,9 +117,9 @@  discard block
 block discarded – undo
117 117
 
118 118
     $columns = TableColumnsMetadata::combine($this->auditColumns, $dataTableColumnsDatabase);
119 119
     AuditDataLayer::createAuditTable($this->configTable->getSchemaName(),
120
-                                     $this->auditSchemaName,
121
-                                     $this->configTable->getTableName(),
122
-                                     $columns);
120
+                                      $this->auditSchemaName,
121
+                                      $this->configTable->getTableName(),
122
+                                      $columns);
123 123
   }
124 124
 
125 125
   //--------------------------------------------------------------------------------------------------------------------
@@ -242,14 +242,14 @@  discard block
 block discarded – undo
242 242
                           $this->configTable->getTableName());
243 243
 
244 244
     AuditDataLayer::createAuditTrigger($this->configTable->getSchemaName(),
245
-                                       $this->auditSchemaName,
246
-                                       $this->configTable->getTableName(),
247
-                                       $triggerName,
248
-                                       $action,
249
-                                       $this->auditColumns,
250
-                                       $this->dataTableColumnsDatabase,
251
-                                       $skipVariable,
252
-                                       $additionSql);
245
+                                        $this->auditSchemaName,
246
+                                        $this->configTable->getTableName(),
247
+                                        $triggerName,
248
+                                        $action,
249
+                                        $this->auditColumns,
250
+                                        $this->dataTableColumnsDatabase,
251
+                                        $skipVariable,
252
+                                        $additionSql);
253 253
   }
254 254
 
255 255
   //--------------------------------------------------------------------------------------------------------------------
@@ -366,23 +366,23 @@  discard block
 block discarded – undo
366 366
     foreach ($newColumns->getColumns() as $column)
367 367
     {
368 368
       $this->io->logInfo('New column <dbo>%s.%s</dbo>',
369
-                         $this->configTable->getTableName(),
370
-                         $column->getProperty('column_name'));
369
+                          $this->configTable->getTableName(),
370
+                          $column->getProperty('column_name'));
371 371
     }
372 372
 
373 373
     foreach ($obsoleteColumns->getColumns() as $column)
374 374
     {
375 375
       $this->io->logInfo('Obsolete column <dbo>%s.%s</dbo>',
376
-                         $this->configTable->getTableName(),
377
-                         $column->getProperty('column_name'));
376
+                          $this->configTable->getTableName(),
377
+                          $column->getProperty('column_name'));
378 378
     }
379 379
 
380 380
     foreach ($alteredColumns->getColumns() as $column)
381 381
     {
382 382
       $this->io->logInfo('Type of <dbo>%s.%s</dbo> has been altered to <dbo>%s</dbo>',
383
-                         $this->configTable->getTableName(),
384
-                         $column->getProperty('column_name'),
385
-                         $column->getProperty('column_type'));
383
+                          $this->configTable->getTableName(),
384
+                          $column->getProperty('column_name'),
385
+                          $column->getProperty('column_type'));
386 386
     }
387 387
   }
388 388
 
Please login to merge, or discard this patch.