Completed
Push — master ( f7852e...e666ea )
by Richard
06:08
created
src/Indexer/Indexer.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      * Index a directory.
101 101
      *
102 102
      * @param   string  $path
103
-     * @param   array   $ignore_paths
103
+     * @param   string[]   $ignore_paths
104 104
      * @return  null
105 105
      */
106 106
     public function index_directory($path, array $ignore_paths) {
@@ -129,6 +129,7 @@  discard block
 block discarded – undo
129 129
     /**
130 130
      * Initialize the filesystem abstraction.
131 131
      *
132
+     * @param string $path
132 133
      * @return  Flightcontrol
133 134
      */
134 135
     public function init_flightcontrol($path) {
Please login to merge, or discard this patch.
src/App/IndexDB.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,11 +12,9 @@
 block discarded – undo
12 12
 
13 13
 use Lechimp\Dicto\Variables\Variable;
14 14
 use Lechimp\Dicto\Analysis\Query;
15
-use Lechimp\Dicto\Analysis\CompilesVars;
16 15
 use Lechimp\Dicto\Indexer\Insert;
17 16
 use Lechimp\Dicto\Indexer\CachesReferences;
18 17
 use Doctrine\DBAL\Schema as S;
19
-use Doctrine\DBAL\Types\Type;
20 18
 use Doctrine\DBAL\Schema\Synchronizer\SingleDatabaseSynchronizer;
21 19
 
22 20
 class IndexDB extends DB implements Insert, Query {
Please login to merge, or discard this patch.
src/Definition/RuleParser.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -210,6 +210,7 @@  discard block
 block discarded – undo
210 210
     // IMPLEMENTATION OF Parser
211 211
 
212 212
     /**
213
+     * @param string $source
213 214
      * @return  Ruleset
214 215
      */
215 216
     public function parse($source) {
@@ -270,6 +271,7 @@  discard block
 block discarded – undo
270 271
 
271 272
     /**
272 273
      * @param   string
274
+     * @param string $content
273 275
      * @return  string
274 276
      */
275 277
     protected function trim_explanation($content) {
@@ -338,7 +340,7 @@  discard block
 block discarded – undo
338 340
     /**
339 341
      * Fetch a rule schema and its arguments from the stream.
340 342
      *
341
-     * @return  array   (R\Schema, array)
343
+     * @return  R\Schema   (R\Schema, array)
342 344
      */
343 345
     protected function schema() {
344 346
         $t = $this->current_symbol();
Please login to merge, or discard this patch.
src/Graph/IndexQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      *
20 20
      * TODO: This could go to Query.
21 21
      *
22
-     * @param   string[] $type
22
+     * @param   string[] $types
23 23
      * @return  IndexQuery
24 24
      */
25 25
     public function filter_by_types($types);
Please login to merge, or discard this patch.
src/Rules/ContainText.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -126,6 +126,9 @@
 block discarded – undo
126 126
             );
127 127
     }
128 128
 
129
+    /**
130
+     * @param boolean $negate
131
+     */
129 132
     protected function regexp_source_filter($regexp, $negate) {
130 133
         assert('is_string($regexp)');
131 134
         assert('is_bool($negate)');
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,10 +11,8 @@
 block discarded – undo
11 11
 namespace Lechimp\Dicto\Rules;
12 12
 
13 13
 use Lechimp\Dicto\Analysis\Index;
14
-use Lechimp\Dicto\Analysis\Violation;
15 14
 use Lechimp\Dicto\Definition\ArgumentParser;
16 15
 use Lechimp\Dicto\Indexer\ListenerRegistry;
17
-use Lechimp\Dicto\Graph\Node;
18 16
 use Lechimp\Dicto\Graph\Relation;
19 17
 
20 18
 /**
Please login to merge, or discard this patch.