Completed
Pull Request — master (#53)
by
unknown
02:55
created
src/Padawan/Domain/Completion/Token.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             $this->addType(self::T_UNKNOWN);
59 59
         }
60 60
         if (!$this->isReady()) {
61
-            $this->symbol = $symbol . $this->symbol;
61
+            $this->symbol = $symbol.$this->symbol;
62 62
         }
63 63
     }
64 64
 
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      */
173 173
     protected function removeType($type)
174 174
     {
175
-        if((bool) ($this->type & $type)){
175
+        if ((bool) ($this->type & $type)) {
176 176
             $this->type ^= $type;
177 177
         }
178 178
     }
Please login to merge, or discard this patch.
src/Padawan/Domain/Project/Node/ClassProperty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     /**
46 46
      * @param integer $modifier
47 47
      */
48
-    public function setModifier($modifier){
48
+    public function setModifier($modifier) {
49 49
         $this->modifier = $modifier;
50 50
     }
51 51
 }
Please login to merge, or discard this patch.
src/Padawan/Command/ListCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         /** @var Project */
36 36
         $project = $projectRepository->findByPath($path);
37 37
         $classesList = [];
38
-        $dto = function ($class) use ($path, $pathResolver) {
38
+        $dto = function($class) use ($path, $pathResolver) {
39 39
             return [
40 40
                 'fqcn' => $class->fqcn->toString(),
41 41
                 'filepath' => $pathResolver->join([$path, $class->file])
Please login to merge, or discard this patch.
src/Padawan/Framework/Application/Socket/HttpOutput.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/Generator/IndexGenerator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
                 $end = microtime(1) - $start;
70 70
 
71 71
                 $this->getLogger()->debug("Indexing: [$end]s");
72
-                $this->getLogger()->debug("Memory: " . memory_get_usage());
72
+                $this->getLogger()->debug("Memory: ".memory_get_usage());
73 73
                 $globalTime += $end;
74 74
                 ++$done;
75 75
                 $process = floor($done / $all * 100);
@@ -130,13 +130,13 @@  discard block
 block discarded – undo
130 130
         $this->getLogger()->debug(sprintf("Processing %s interfaces", count($scope->getInterfaces())));
131 131
         $this->getLogger()->debug(sprintf("Processing %s functions", count($scope->getFunctions())));
132 132
         foreach ($scope->getClasses() as $classData) {
133
-            $this->getLogger()->debug('Processing node ' . $classData->fqcn->toString());
133
+            $this->getLogger()->debug('Processing node '.$classData->fqcn->toString());
134 134
         }
135 135
         foreach ($scope->getInterfaces() as $interfaceData) {
136
-            $this->getLogger()->debug('Processing node ' . $interfaceData->fqcn->toString());
136
+            $this->getLogger()->debug('Processing node '.$interfaceData->fqcn->toString());
137 137
         }
138 138
         foreach ($scope->getFunctions() as $functionData) {
139
-            $this->getLogger()->debug('Processing node ' . $functionData->name);
139
+            $this->getLogger()->debug('Processing node '.$functionData->name);
140 140
         }
141 141
         $file->updateScope($scope, $hash);
142 142
         $index->addFile($file);
Please login to merge, or discard this patch.