@@ -29,7 +29,7 @@ |
||
29 | 29 | explode("-", $part) |
30 | 30 | )); |
31 | 31 | }, $parts)); |
32 | - $className .= "\\" . $this->pluginClassName; |
|
32 | + $className .= "\\".$this->pluginClassName; |
|
33 | 33 | try { |
34 | 34 | /** @var \Padawan\Plugin\PluginInterface */ |
35 | 35 | $plugin = $this->container->get($className); |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | |
12 | 12 | class CLI extends Application |
13 | 13 | { |
14 | - public function __construct($name="", $version="") |
|
14 | + public function __construct($name = "", $version = "") |
|
15 | 15 | { |
16 | 16 | parent::__construct($name, $version); |
17 | 17 | $this->initializeContainer(); |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | { |
36 | 36 | $builder = new ContainerBuilder; |
37 | 37 | $builder->setDefinitionCache(new ArrayCache); |
38 | - $builder->addDefinitions(dirname(__DIR__) . '/DI/config.php'); |
|
38 | + $builder->addDefinitions(dirname(__DIR__).'/DI/config.php'); |
|
39 | 39 | $this->container = $builder->build(); |
40 | 40 | } |
41 | 41 |
@@ -70,7 +70,7 @@ |
||
70 | 70 | { |
71 | 71 | $builder = new ContainerBuilder; |
72 | 72 | $builder->setDefinitionCache(new \Doctrine\Common\Cache\ArrayCache); |
73 | - $builder->addDefinitions(dirname(__DIR__) . '/DI/config.php'); |
|
73 | + $builder->addDefinitions(dirname(__DIR__).'/DI/config.php'); |
|
74 | 74 | $this->container = $builder->build(); |
75 | 75 | } |
76 | 76 |
@@ -27,7 +27,7 @@ discard block |
||
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 |
||
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 | } |
@@ -27,7 +27,7 @@ |
||
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); |