Completed
Push — master ( 2f4f79...77df0a )
by P.R.
07:18
created
src/MySql/Command/AuditCommand.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
                                   $this->config['audit_columns'],
154 154
                                   $this->config['tables'][$table['table_name']]['alias'],
155 155
                                   $this->config['tables'][$table['table_name']]['skip']);
156
-        $res          = StaticDataLayer::searchInRowSet('table_name', $currentTable->getTableName(), $this->auditSchemaTables);
156
+        $res = StaticDataLayer::searchInRowSet('table_name', $currentTable->getTableName(), $this->auditSchemaTables);
157 157
         if (!isset($res))
158 158
         {
159 159
           $currentTable->createMissingAuditTable();
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -105,8 +105,8 @@  discard block
 block discarded – undo
105 105
       {
106 106
         $this->io->writeln(sprintf('<info>Found new table %s</info>', $table['table_name']));
107 107
         $this->config['tables'][$table['table_name']] = ['audit' => false,
108
-                                                         'alias' => null,
109
-                                                         'skip'  => null];
108
+                                                          'alias' => null,
109
+                                                          'skip'  => null];
110 110
       }
111 111
     }
112 112
   }
@@ -143,8 +143,8 @@  discard block
 block discarded – undo
143 143
   protected function configure()
144 144
   {
145 145
     $this->setName('audit')
146
-         ->setDescription('Create (missing) audit table and (re)creates audit triggers')
147
-         ->addArgument('config file', InputArgument::OPTIONAL, 'The audit configuration file');
146
+          ->setDescription('Create (missing) audit table and (re)creates audit triggers')
147
+          ->addArgument('config file', InputArgument::OPTIONAL, 'The audit configuration file');
148 148
   }
149 149
 
150 150
   //--------------------------------------------------------------------------------------------------------------------
Please login to merge, or discard this patch.
src/Command/DiffCommand.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
    *
54 54
    * @param array[] $columns The metadata of the columns of a table.
55 55
    *
56
-   * @return array[]
56
+   * @return \array[]
57 57
    */
58 58
   private static function removeMatchingColumns($columns)
59 59
   {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
   /**
143 143
    * Add not null to audit columns if it not nullable.
144 144
    *
145
-   * @param array $theColumns Audit columns.
145
+   * @param \array[] $theColumns Audit columns.
146 146
    *
147 147
    * @return array
148 148
    */
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
    * @param Columns $dataColumns  The table columns from data schema.
174 174
    * @param Columns $auditColumns The table columns from audit schema.
175 175
    *
176
-   * @return \array[]
176
+   * @return ColumnTypesExtended
177 177
    */
178 178
   private function createDiffArray($dataColumns, $auditColumns)
179 179
   {
Please login to merge, or discard this patch.