Completed
Push — master ( 0a7f71...1a7aac )
by Iman
01:18
created
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\BladeFiles;
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.
src/Commands/CheckViews.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,13 +4,13 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Console\Command;
6 6
 use Illuminate\Support\Facades\View;
7
-use Imanghafoori\LaravelMicroscope\Analyzers\FilePath;
8
-use Imanghafoori\LaravelMicroscope\SpyClasses\RoutePaths;
9
-use Imanghafoori\LaravelMicroscope\ErrorTypes\BladeFile;
10 7
 use Imanghafoori\LaravelMicroscope\Analyzers\ComposerJson;
11
-use Imanghafoori\LaravelMicroscope\BladeFiles;
8
+use Imanghafoori\LaravelMicroscope\Analyzers\FilePath;
12 9
 use Imanghafoori\LaravelMicroscope\Analyzers\FunctionCall;
10
+use Imanghafoori\LaravelMicroscope\BladeFiles;
13 11
 use Imanghafoori\LaravelMicroscope\Checks\CheckViewFilesExistence;
12
+use Imanghafoori\LaravelMicroscope\ErrorTypes\BladeFile;
13
+use Imanghafoori\LaravelMicroscope\SpyClasses\RoutePaths;
14 14
 
15 15
 class CheckViews extends Command
16 16
 {
Please login to merge, or discard this patch.
src/Refactors/EarlyReturns.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@
 block discarded – undo
71 71
         return [$tokens, $changes];
72 72
     }
73 73
 
74
+    /**
75
+     * @return string
76
+     */
74 77
     private static function getKeyword($token)
75 78
     {
76 79
         return self::scopeKeywords[$token];
Please login to merge, or discard this patch.
src/SpyClasses/SpyDispatcher.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -54,6 +54,9 @@  discard block
 block discarded – undo
54 54
         }
55 55
     }
56 56
 
57
+    /**
58
+     * @return string
59
+     */
57 60
     private function stringify($event)
58 61
     {
59 62
         return is_object($event) ? get_class($event) : $event;
@@ -75,6 +78,9 @@  discard block
 block discarded – undo
75 78
         return 'The method of '.$at.' is not callable as an event listener for "'.$e.'" event';
76 79
     }
77 80
 
81
+    /**
82
+     * @return string
83
+     */
78 84
     protected function getTypeHintedClass($listenerObj, $methodName)
79 85
     {
80 86
         $ref = new \ReflectionParameter([$listenerObj, $methodName], 0);
Please login to merge, or discard this patch.