Completed
Pull Request — master (#29)
by Aleh
02:59
created
src/Padawan/Domain/Completer/StaticCompleter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
             return [];
28 28
         }
29 29
         $index = $project->getIndex();
30
-        $this->logger->debug('Creating completion for ' . $fqcn->toString());
30
+        $this->logger->debug('Creating completion for '.$fqcn->toString());
31 31
         $class = $index->findClassByFQCN($fqcn);
32 32
         if (empty($class)) {
33 33
             $class = $index->findInterfaceByFQCN($fqcn);
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     {
80 80
         $type = $prop->type instanceof FQCN ? $prop->type->toString() : 'mixed';
81 81
         return new Entry(
82
-            '$' . $prop->name,
82
+            '$'.$prop->name,
83 83
             $type
84 84
         );
85 85
     }
Please login to merge, or discard this patch.
src/Padawan/Domain/Completer/ObjectCompleter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
             return [];
28 28
         }
29 29
         $index = $project->getIndex();
30
-        $this->logger->debug('Creating completion for ' . $fqcn->toString());
30
+        $this->logger->debug('Creating completion for '.$fqcn->toString());
31 31
         $class = $index->findClassByFQCN($fqcn);
32 32
         if (empty($class)) {
33 33
             $class = $index->findInterfaceByFQCN($fqcn);
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/Command/ListCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Padawan\Domain\ProjectRepository;
6 6
 use Padawan\Domain\Core\Project;
7
-use Padawan\Domain\Core\Node\ClassData;
8 7
 use Symfony\Component\Console\Input\InputInterface;
9 8
 use Symfony\Component\Console\Input\InputArgument;
10 9
 use Symfony\Component\Console\Output\OutputInterface;
Please login to merge, or discard this patch.