Completed
Push — feature/db-commands-view-handl... ( 4bee52 )
by Christian
23s
created
src/N98/Magento/Command/Database/DumpCommand.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -592,7 +592,7 @@  discard block
 block discarded – undo
592 592
         return $input->getOption('keep-definer')
593 593
             ? ''
594 594
             : ' | LANG=C LC_CTYPE=C LC_ALL=C sed -E '
595
-              . escapeshellarg('s/DEFINER[ ]*=[ ]*`[^`]+`@`[^`]+`/DEFINER=CURRENT_USER/g');
595
+                . escapeshellarg('s/DEFINER[ ]*=[ ]*`[^`]+`@`[^`]+`/DEFINER=CURRENT_USER/g');
596 596
     }
597 597
 
598 598
     /**
@@ -790,7 +790,7 @@  discard block
 block discarded – undo
790 790
             // However, if --no-views is active, views will be added to ignore-table list later.
791 791
             $allActualTables = $database->getTables(true);
792 792
             if (in_array($table, $allActualTables, true)) {
793
-                 $noDataOptions[] = '--no-data=' . escapeshellarg($this->prefixTableIfNeeded($table, $dbPrefix));
793
+                    $noDataOptions[] = '--no-data=' . escapeshellarg($this->prefixTableIfNeeded($table, $dbPrefix));
794 794
             }
795 795
         }
796 796
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -397,7 +397,7 @@
 block discarded – undo
397 397
         $mysqlClientToolConnectionString = $database->getMysqlClientToolConnectionString();
398 398
 
399 399
         $excludeTablesUserInput = $this->excludeTables($input, $output); // Unprefixed
400
-        $stripTablesUserInput = $this->stripTables($input, $output);     // Unprefixed
400
+        $stripTablesUserInput = $this->stripTables($input, $output); // Unprefixed
401 401
 
402 402
         // Structure dump part (for stripped tables)
403 403
         $tablesForStructureDump = $stripTablesUserInput;
Please login to merge, or discard this patch.
tests/N98/Util/Console/Helper/DatabaseHelperTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -377,7 +377,7 @@
 block discarded – undo
377 377
                 [$this->equalTo('SET FOREIGN_KEY_CHECKS = 1;')]
378 378
             )
379 379
             ->willReturnOnConsecutiveCalls(
380
-                $this->returnValue(1),                            // SET FOREIGN_KEY_CHECKS = 0;
380
+                $this->returnValue(1), // SET FOREIGN_KEY_CHECKS = 0;
381 381
                 $this->throwException(new \PDOException('Drop failed')), // DROP VIEW problem_view
382 382
                 $this->returnValue(1)                             // SET FOREIGN_KEY_CHECKS = 1;
383 383
             );
Please login to merge, or discard this patch.