Completed
Push — master ( 81db43...f030be )
by Aleh
12s
created
src/Padawan/Framework/Generator/IndexGenerator.php 2 patches
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -102,6 +102,10 @@  discard block
 block discarded – undo
102 102
             );
103 103
         }
104 104
     }
105
+
106
+    /**
107
+     * @param string $content
108
+     */
105 109
     public function createScopeForFile(File $file, $content, Index $index, $rewrite = true)
106 110
     {
107 111
         $startParser = microtime(1);
@@ -114,6 +118,10 @@  discard block
 block discarded – undo
114 118
         $this->getLogger()->info("Parsing: [$end]s");
115 119
         return $scope;
116 120
     }
121
+
122
+    /**
123
+     * @param string $hash
124
+     */
117 125
     public function processFileScope(File $file, Index $index, FileScope $scope = null, $hash = null)
118 126
     {
119 127
         if (empty($scope)) {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,10 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Padawan\Framework\Generator;
4 4
 
5
-use Padawan\Domain\Project\Node\ClassData;
6
-use Padawan\Domain\Project\Node\InterfaceData;
7 5
 use Padawan\Domain\Event\IndexGenerationEvent;
8
-use Padawan\Framework\Domain\Project\InMemoryIndex;
9 6
 use Padawan\Domain\Project;
10 7
 use Padawan\Domain\Project\File;
11 8
 use Padawan\Domain\Project\Index;
Please login to merge, or discard this patch.
src/Padawan/Parser/Parser.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -88,6 +88,10 @@
 block discarded – undo
88 88
         }
89 89
         return $nodes;
90 90
     }
91
+
92
+    /**
93
+     * @param \Padawan\Domain\Project\Index $index
94
+     */
91 95
     public function setIndex($index)
92 96
     {
93 97
         foreach ($this->walkers as $walker) {
Please login to merge, or discard this 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\Project\FQN;
6 6
 use Padawan\Domain\Project\Node\Uses;
7
-use Padawan\Framework\Utils\PathResolver;
8 7
 use PhpParser\ParserFactory;
9 8
 use PhpParser\NodeTraverser as Traverser;
10 9
 use Psr\Log\LoggerInterface;
Please login to merge, or discard this patch.