@@ -62,8 +62,8 @@ |
||
| 62 | 62 | // We mock the DialogHelper |
| 63 | 63 | $dialog = $this->createMock('N98\Util\Console\Helper\ParameterHelper', ['askPassword']); |
| 64 | 64 | $dialog->expects($this->at(0)) |
| 65 | - ->method('askPassword') |
|
| 66 | - ->willReturn(true); // The user confirms |
|
| 65 | + ->method('askPassword') |
|
| 66 | + ->willReturn(true); // The user confirms |
|
| 67 | 67 | |
| 68 | 68 | // We override the standard helper with our mock |
| 69 | 69 | $command->getHelperSet()->set($dialog, 'parameter'); |
@@ -226,7 +226,7 @@ |
||
| 226 | 226 | if (count($filterAttributes) === 0) { |
| 227 | 227 | $output->writeln( |
| 228 | 228 | '<warning>No filter was specified. To delete all customer, ' . |
| 229 | - 'add the --all option</warning>' |
|
| 229 | + 'add the --all option</warning>' |
|
| 230 | 230 | ); |
| 231 | 231 | |
| 232 | 232 | return Command::FAILURE; |
@@ -73,10 +73,10 @@ |
||
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | $shellCommand = escapeshellarg(OperatingSystem::getPhpBinary()) |
| 76 | - . ' ' |
|
| 77 | - . escapeshellarg($this->magentoRootDir . '/bin/magento') |
|
| 78 | - . ' ' |
|
| 79 | - . $magentoCoreCommandInput->__toString(); |
|
| 76 | + . ' ' |
|
| 77 | + . escapeshellarg($this->magentoRootDir . '/bin/magento') |
|
| 78 | + . ' ' |
|
| 79 | + . $magentoCoreCommandInput->__toString(); |
|
| 80 | 80 | $process = Process::fromShellCommandline( |
| 81 | 81 | $shellCommand, |
| 82 | 82 | $this->magentoRootDir, |
@@ -592,7 +592,7 @@ discard block |
||
| 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 |
||
| 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 | |