Completed
Pull Request — master (#37)
by Aleh
03:22
created
src/Padawan/Framework/Application/Socket/SocketOutput.php 1 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.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 use Symfony\Component\Console\Application as BaseApplication;
8 8
 
9 9
 define("PADAWAN_VERSION", "0.3");
10
-define("STUBS_DIR", dirname(dirname(dirname(__DIR__))) . '/stubs');
10
+define("STUBS_DIR", dirname(dirname(dirname(__DIR__))).'/stubs');
11 11
 
12 12
 /**
13 13
  * Class Application
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     {
34 34
         $builder = new ContainerBuilder;
35 35
         $builder->setDefinitionCache(new \Doctrine\Common\Cache\ArrayCache);
36
-        $builder->addDefinitions(__DIR__ . '/DI/config.php');
36
+        $builder->addDefinitions(__DIR__.'/DI/config.php');
37 37
         $this->container = $builder->build();
38 38
     }
39 39
 
Please login to merge, or discard this patch.
src/Padawan/Domain/Completer/CompleterFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public function getCompleters(Project $project, Context $context)
40 40
     {
41 41
         $completers = [];
42
-        foreach($this->completers as $completer) {
42
+        foreach ($this->completers as $completer) {
43 43
             if ($completer->canHandle($project, $context)) {
44 44
                 $completers[] = $completer;
45 45
             }
Please login to merge, or discard this patch.
src/Padawan/Framework/Complete/CompleteEngine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
         $context = $this->contextResolver->getContext($badLine, $project->getIndex(), $scope);
84 84
         $completers = $this->completerFactory->getCompleters($project, $context);
85 85
         $entries = [];
86
-        foreach($completers as $completer) {
86
+        foreach ($completers as $completer) {
87 87
             $entries = array_merge($entries, $completer->getEntries($project, $context));
88 88
         }
89 89
         return $entries;
Please login to merge, or discard this patch.