Completed
Push — master ( 54c7cb...1472f3 )
by Povilas
11:43
created
src/Console/Command.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
         if (false === is_array($result)) {
204 204
             return array_filter(
205 205
                 explode(',', $result),
206
-                function ($value) {
206
+                function($value) {
207 207
                     return false === empty($value);
208 208
                 }
209 209
             );
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -300,6 +300,9 @@
 block discarded – undo
300 300
         return [];
301 301
     }
302 302
 
303
+    /**
304
+     * @return string
305
+     */
303 306
     private function convertFileDescriptorLink($path)
304 307
     {
305 308
         if (strpos($path, '/dev/fd') === 0) {
Please login to merge, or discard this patch.
src/Printer/Xml.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 
87 87
         $dom->save($this->outputPath);
88 88
 
89
-        $output->writeln('XML generated at '.$this->outputPath);
89
+        $output->writeln('XML generated at ' . $this->outputPath);
90 90
     }
91 91
 
92 92
     /**
@@ -102,9 +102,9 @@  discard block
 block discarded – undo
102 102
         $content = str_replace(array("\r\n", "\r"), "\n", $content);
103 103
         $lines = explode("\n", $content);
104 104
 
105
-        $lineContent = array_slice($lines, $line-1, 1);
105
+        $lineContent = array_slice($lines, $line - 1, 1);
106 106
         $lineContent = reset($lineContent);
107
-        $start = strpos($lineContent, $text.'');
107
+        $start = strpos($lineContent, $text . '');
108 108
 
109 109
         return [
110 110
             'snippet' => $lineContent,
Please login to merge, or discard this patch.
src/Visitor/DetectorVisitor.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -6,16 +6,12 @@
 block discarded – undo
6 6
 use PhpParser\Node\Const_;
7 7
 use PhpParser\Node\Expr\UnaryMinus;
8 8
 use PhpParser\Node\Expr\UnaryPlus;
9
-use PhpParser\Node\Scalar;
10 9
 use PhpParser\Node\Scalar\DNumber;
11 10
 use PhpParser\Node\Scalar\LNumber;
12 11
 use PhpParser\Node\Scalar\String_;
13 12
 use PhpParser\NodeTraverser;
14 13
 use PhpParser\NodeVisitorAbstract;
15 14
 use Povils\PHPMND\Console\Option;
16
-use Povils\PHPMND\Extension\ArrayAwareExtension;
17
-use Povils\PHPMND\Extension\Extension;
18
-use Povils\PHPMND\Extension\FunctionAwareExtension;
19 15
 use Povils\PHPMND\FileReport;
20 16
 
21 17
 /**
Please login to merge, or discard this patch.