@@ -12,13 +12,13 @@ |
||
12 | 12 | $process = Process::fromShellCommandline($command, null, null, null, 999.00); |
13 | 13 | |
14 | 14 | $processStatus = false; |
15 | - $process->run(function ($type, $buffer) use ($processStatus): bool { |
|
15 | + $process->run(function($type, $buffer) use ($processStatus): bool { |
|
16 | 16 | if (Process::OUT === $type) { |
17 | - Log::debug('Process buffer: ' . $buffer); |
|
17 | + Log::debug('Process buffer: '.$buffer); |
|
18 | 18 | } |
19 | 19 | if (Process::ERR === $type) { |
20 | 20 | if (!strpos($buffer, '[Warning]')) { |
21 | - Log::error('Error will running processor. Output of buffer: ' . $buffer); |
|
21 | + Log::error('Error will running processor. Output of buffer: '.$buffer); |
|
22 | 22 | $processStatus = true; |
23 | 23 | } |
24 | 24 | } |
@@ -115,7 +115,7 @@ |
||
115 | 115 | Log::debug('Starting MySQL import procedure.'); |
116 | 116 | |
117 | 117 | $startTimeImport = microtime(true); |
118 | - $backupFile = '"' . addcslashes($backupFile, '\\"') . '"'; |
|
118 | + $backupFile = '"'.addcslashes($backupFile, '\\"').'"'; |
|
119 | 119 | $command = sprintf('mysql %s %s < %s', $this->getCredentials(), $this->database, $backupFile); |
120 | 120 | |
121 | 121 | if (false === $processHandler->run($command)) { |