Passed
Push — master ( 13c085...f6895e )
by P.R.
07:34
created
src/Style/AuditStyle.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
    */
47 47
   public function logInfo(): void
48 48
   {
49
-    if ($this->getVerbosity()>=OutputInterface::VERBOSITY_NORMAL)
49
+    if ($this->getVerbosity() >= OutputInterface::VERBOSITY_NORMAL)
50 50
     {
51 51
       $args   = func_get_args();
52 52
       $format = array_shift($args);
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
    */
64 64
   public function logVerbose(): void
65 65
   {
66
-    if ($this->getVerbosity()>=OutputInterface::VERBOSITY_VERBOSE)
66
+    if ($this->getVerbosity() >= OutputInterface::VERBOSITY_VERBOSE)
67 67
     {
68 68
       $args   = func_get_args();
69 69
       $format = array_shift($args);
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
    */
81 81
   public function logVeryVerbose(): void
82 82
   {
83
-    if ($this->getVerbosity()>=OutputInterface::VERBOSITY_VERY_VERBOSE)
83
+    if ($this->getVerbosity() >= OutputInterface::VERBOSITY_VERY_VERBOSE)
84 84
     {
85 85
       $args   = func_get_args();
86 86
       $format = array_shift($args);
Please login to merge, or discard this patch.
src/MySql/AuditDataLayer.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -76,9 +76,9 @@  discard block
 block discarded – undo
76 76
    *                                              columns and columns of the data table).
77 77
    */
78 78
   public function createAuditTable(string               $dataSchemaName,
79
-                                   string               $auditSchemaName,
80
-                                   string               $tableName,
81
-                                   TableColumnsMetadata $columns): void
79
+                                    string               $auditSchemaName,
80
+                                    string               $tableName,
81
+                                    TableColumnsMetadata $columns): void
82 82
   {
83 83
     $helper = new CreateAuditTable($dataSchemaName, $auditSchemaName, $tableName, $columns);
84 84
     $sql    = $helper->buildStatement();
@@ -102,24 +102,24 @@  discard block
 block discarded – undo
102 102
    * @param string[]             $additionSql            Additional SQL statements.
103 103
    */
104 104
   public function createAuditTrigger(string               $dataSchemaName,
105
-                                     string               $auditSchemaName,
106
-                                     string               $tableName,
107
-                                     string               $triggerName,
108
-                                     string               $triggerAction,
109
-                                     TableColumnsMetadata $additionalAuditColumns,
110
-                                     TableColumnsMetadata $tableColumns,
105
+                                      string               $auditSchemaName,
106
+                                      string               $tableName,
107
+                                      string               $triggerName,
108
+                                      string               $triggerAction,
109
+                                      TableColumnsMetadata $additionalAuditColumns,
110
+                                      TableColumnsMetadata $tableColumns,
111 111
                                      ?string              $skipVariable,
112
-                                     array                $additionSql): void
112
+                                      array                $additionSql): void
113 113
   {
114 114
     $helper = new CreateAuditTrigger($dataSchemaName,
115
-                                     $auditSchemaName,
116
-                                     $tableName,
117
-                                     $triggerName,
118
-                                     $triggerAction,
119
-                                     $additionalAuditColumns,
120
-                                     $tableColumns,
121
-                                     $skipVariable,
122
-                                     $additionSql);
115
+                                      $auditSchemaName,
116
+                                      $tableName,
117
+                                      $triggerName,
118
+                                      $triggerAction,
119
+                                      $additionalAuditColumns,
120
+                                      $tableColumns,
121
+                                      $skipVariable,
122
+                                      $additionSql);
123 123
     $sql    = $helper->buildStatement();
124 124
 
125 125
     $this->executeNone($sql);
@@ -301,8 +301,8 @@  discard block
 block discarded – undo
301 301
 where  TABLE_SCHEMA = %s
302 302
 and    TABLE_NAME   = %s
303 303
 order by ORDINAL_POSITION",
304
-                   $this->quoteString($schemaName),
305
-                   $this->quoteString($tableName));
304
+                    $this->quoteString($schemaName),
305
+                    $this->quoteString($tableName));
306 306
 
307 307
     return $this->executeRows($sql);
308 308
   }
@@ -328,8 +328,8 @@  discard block
 block discarded – undo
328 328
 inner join information_schema.COLLATION_CHARACTER_SET_APPLICABILITY t2  on  t2.COLLATION_NAME = t1.TABLE_COLLATION
329 329
 where t1.TABLE_SCHEMA = %s
330 330
 and   t1.TABLE_NAME   = %s',
331
-                   $this->quoteString($schemaName),
332
-                   $this->quoteString($tableName));
331
+                    $this->quoteString($schemaName),
332
+                    $this->quoteString($tableName));
333 333
 
334 334
     return $this->executeRow1($sql);
335 335
   }
@@ -351,8 +351,8 @@  discard block
 block discarded – undo
351 351
 where  TRIGGER_SCHEMA     = %s
352 352
 and    EVENT_OBJECT_TABLE = %s
353 353
 order by Trigger_Name',
354
-                   $this->quoteString($schemaName),
355
-                   $this->quoteString($tableName));
354
+                    $this->quoteString($schemaName),
355
+                    $this->quoteString($tableName));
356 356
 
357 357
     return $this->executeRows($sql);
358 358
   }
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
 where  TRIGGER_SCHEMA     = %s
395 395
 order by EVENT_OBJECT_TABLE
396 396
 ,        TRIGGER_NAME',
397
-                   $this->quoteString($schemaName));
397
+                    $this->quoteString($schemaName));
398 398
 
399 399
     return $this->executeRows($sql);
400 400
   }
@@ -423,7 +423,7 @@  discard block
 block discarded – undo
423 423
    * @return TableColumnsMetadata
424 424
    */
425 425
   public function resolveCanonicalAdditionalAuditColumns(string $auditSchema,
426
-                                                         array  $additionalAuditColumns): TableColumnsMetadata
426
+                                                          array  $additionalAuditColumns): TableColumnsMetadata
427 427
   {
428 428
     if (empty($additionalAuditColumns))
429 429
     {
Please login to merge, or discard this patch.
src/Metadata/TableColumnsMetadata.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
    * @return TableColumnsMetadata
97 97
    */
98 98
   public static function notInOtherSet(TableColumnsMetadata $columns1,
99
-                                       TableColumnsMetadata $columns2): TableColumnsMetadata
99
+                                        TableColumnsMetadata $columns2): TableColumnsMetadata
100 100
   {
101 101
     $diff = new TableColumnsMetadata();
102 102
     foreach ($columns1->columns as $columnName => $column1)
Please login to merge, or discard this patch.