File tree Expand file tree Collapse file tree 5 files changed +2
-5
lines changed
CheckExtraImports/Handlers Expand file tree Collapse file tree 5 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 88use Imanghafoori \LaravelMicroscope \Foundations \Loop ;
99use Imanghafoori \LaravelMicroscope \Foundations \PhpFileDescriptor ;
1010use Imanghafoori \TokenAnalyzer \ClassMethods ;
11- use Imanghafoori \TokenAnalyzer \Refactor ;
1211
1312class ActionsComments implements Check
1413{
Original file line number Diff line number Diff line change 44
55use Imanghafoori \LaravelMicroscope \Foundations \BaseCommand ;
66use Imanghafoori \LaravelMicroscope \Foundations \Color ;
7- use Imanghafoori \LaravelMicroscope \Foundations \FileReaders \FilePath ;
87use Imanghafoori \LaravelMicroscope \Foundations \PhpFileDescriptor ;
98
109class CheckEarlyReturnsCommand extends BaseCommand
Original file line number Diff line number Diff line change 33namespace Imanghafoori \LaravelMicroscope \Features \CheckExtraImports \Handlers ;
44
55use Imanghafoori \LaravelMicroscope \ErrorReporters \ErrorPrinter ;
6- use JetBrains \PhpStorm \Pure ;
76
87class ExtraImports
98{
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public function handleCommand($iterator)
7676 $ iterator ->printAll ($ messages );
7777 // must be after other messages:
7878 $ counter = ErrorCounter::calculateErrors (ErrorPrinter::singleton ()->errorsList );
79-
79+
8080 $ iterator ->printAll ([PHP_EOL , Reporters \SummeryReport::summery ($ counter )]);
8181
8282 if (! ImportsAnalyzer::$ checkedRefCount ) {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class ViewsData
1212 public $ main ;
1313
1414 /**
15- * @param \Illuminate\View\View $view
15+ * @param \Illuminate\View\View $view
1616 * @return void
1717 */
1818 public function add ($ view )
You can’t perform that action at this time.
0 commit comments