Completed
Push — master ( 1bd511...08a4e8 )
by Iman
01:23
created
src/CheckClasses.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@
 block discarded – undo
26 26
         }
27 27
     }
28 28
 
29
+    /**
30
+     * @param string $msg
31
+     */
29 32
     public static function warnDumping($msg)
30 33
     {
31 34
         $p = resolve(ErrorPrinter::class)->printer;
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Imanghafoori\LaravelMicroscope;
4 4
 
5
-use Illuminate\Support\Str;
6 5
 use Illuminate\Support\Composer;
6
+use Illuminate\Support\Str;
7 7
 use Imanghafoori\LaravelMicroscope\Analyzers\GetClassProperties;
8 8
 use Imanghafoori\LaravelMicroscope\Analyzers\ParseUseStatement;
9 9
 use Imanghafoori\LaravelMicroscope\ErrorReporters\ErrorPrinter;
Please login to merge, or discard this patch.
src/Checks/RoutelessActions.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@  discard block
 block discarded – undo
42 42
         return $namespace.'\\'.$className;
43 43
     }
44 44
 
45
+    /**
46
+     * @param string $fullNamespace
47
+     */
45 48
     private function isLaravelController($fullNamespace)
46 49
     {
47 50
         try {
@@ -60,6 +63,9 @@  discard block
 block discarded – undo
60 63
         return $fullNamespace;
61 64
     }
62 65
 
66
+    /**
67
+     * @param string $fullNamespace
68
+     */
63 69
     private function checkActions($tokens, $fullNamespace)
64 70
     {
65 71
         $class = ClassMethods::read($tokens);
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
 namespace Imanghafoori\LaravelMicroscope\Checks;
4 4
 
5 5
 use Illuminate\Routing\Controller;
6
-use Imanghafoori\LaravelMicroscope\Analyzers\FilePath;
7
-use Imanghafoori\LaravelMicroscope\Analyzers\ComposerJson;
8 6
 use Imanghafoori\LaravelMicroscope\Analyzers\ClassMethods;
9
-use Imanghafoori\LaravelMicroscope\ErrorReporters\ErrorPrinter;
10 7
 use Imanghafoori\LaravelMicroscope\Analyzers\NamespaceCorrector;
8
+use Imanghafoori\LaravelMicroscope\ErrorReporters\ErrorPrinter;
11 9
 
12 10
 class RoutelessActions
13 11
 {
Please login to merge, or discard this patch.
src/Commands/CheckRoutes.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,15 +3,15 @@
 block discarded – undo
3 3
 namespace Imanghafoori\LaravelMicroscope\Commands;
4 4
 
5 5
 use Exception;
6
-use Illuminate\Support\Str;
7
-use Illuminate\Routing\Router;
8 6
 use Illuminate\Console\Command;
9
-use Imanghafoori\LaravelMicroscope\Psr4Classes;
7
+use Illuminate\Routing\Router;
8
+use Illuminate\Support\Str;
10 9
 use Imanghafoori\LaravelMicroscope\CheckBladeFiles;
11
-use Imanghafoori\LaravelMicroscope\Traits\LogsErrors;
12 10
 use Imanghafoori\LaravelMicroscope\Checks\CheckRouteCalls;
13 11
 use Imanghafoori\LaravelMicroscope\Checks\RoutelessActions;
14 12
 use Imanghafoori\LaravelMicroscope\ErrorReporters\ErrorPrinter;
13
+use Imanghafoori\LaravelMicroscope\Psr4Classes;
14
+use Imanghafoori\LaravelMicroscope\Traits\LogsErrors;
15 15
 
16 16
 class CheckRoutes extends Command
17 17
 {
Please login to merge, or discard this patch.