Completed
Push — develop ( 620309...9ace36 )
by Erwin
11:35
created
src/ProcessHandler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,13 +12,13 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
src/Databases/MySQLDatabase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
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)) {
Please login to merge, or discard this patch.