Completed
Pull Request — master (#29)
by Aleh
03:11
created
src/Padawan/Framework/Application/Socket/SocketOutput.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Padawan\Framework\Application\Socket;
4 4
 
5
-use Symfony\Component\Console\Output\OutputInterface;
6 5
 use Symfony\Component\Console\Output\NullOutput;
7 6
 use Amp\Socket\Client;
8 7
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
     public function writeln($message, $options = 0)
25 25
     {
26
-        return $this->client->write($message . "\n");
26
+        return $this->client->write($message."\n");
27 27
     }
28 28
 
29 29
     public function disconnect()
Please login to merge, or discard this patch.
src/Padawan/Framework/Application/Socket.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
             return;
30 30
         }
31 31
         $arrayForInput = ['command' => $request->command];
32
-        foreach($request->params as $key=>$value) {
33
-            $arrayForInput[$key] =  $value;
32
+        foreach ($request->params as $key=>$value) {
33
+            $arrayForInput[$key] = $value;
34 34
         }
35 35
         $input = new ArrayInput($arrayForInput);
36 36
         $command = $this->find($request->command);
Please login to merge, or discard this patch.
src/Padawan/Framework/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     {
33 33
         $builder = new ContainerBuilder;
34 34
         $builder->setDefinitionCache(new \Doctrine\Common\Cache\ArrayCache);
35
-        $builder->addDefinitions(__DIR__ . '/DI/config.php');
35
+        $builder->addDefinitions(__DIR__.'/DI/config.php');
36 36
         $this->container = $builder->build();
37 37
     }
38 38
 
Please login to merge, or discard this patch.