Completed
Push — master ( ff3199...9ab95e )
by De Cramer
9s
created
src/eXpansion/Framework/Core/ChatCommand/UpdateExpansion.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use eXpansion\Framework\AdminGroups\Model\AbstractAdminChatCommand;
6 6
 use eXpansion\Framework\Core\Helpers\ChatNotification;
7
-use eXpansion\Framework\Core\Services\Application;
8
-use eXpansion\Framework\Core\Storage\PlayerStorage;
9 7
 use Symfony\Component\Console\Input\InputInterface;
10 8
 
11 9
 /**
Please login to merge, or discard this patch.
src/eXpansion/Framework/Core/Command/UpdateCommand.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -89,6 +89,9 @@
 block discarded – undo
89 89
         }
90 90
     }
91 91
 
92
+    /**
93
+     * @param string $command
94
+     */
92 95
     protected function runCommand($command, $playerLogin, SymfonyStyle $sfs)
93 96
     {
94 97
         $process = new Process($command);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,9 +92,9 @@
 block discarded – undo
92 92
     protected function runCommand($command, $playerLogin, SymfonyStyle $sfs)
93 93
     {
94 94
         $process = new Process($command);
95
-        $process->setWorkingDirectory($this->getContainer()->getParameter('kernel.root_dir') . '/..');
95
+        $process->setWorkingDirectory($this->getContainer()->getParameter('kernel.root_dir').'/..');
96 96
 
97
-        $process->run(function ($type, $buffer) use ($playerLogin, $sfs) {
97
+        $process->run(function($type, $buffer) use ($playerLogin, $sfs) {
98 98
             $this->notifyPlayer($type, $buffer, $playerLogin);
99 99
             $sfs->writeln($buffer);
100 100
         });
Please login to merge, or discard this patch.