@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Imanghafoori\LaravelMicroscope; |
| 4 | 4 | |
| 5 | +use Illuminate\Support\Str; |
|
| 5 | 6 | use ReflectionClass; |
| 6 | 7 | use ReflectionException; |
| 7 | -use Illuminate\Support\Str; |
|
| 8 | 8 | use Symfony\Component\Finder\Finder; |
| 9 | 9 | |
| 10 | 10 | class CheckClasses |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Imanghafoori\LaravelMicroscope; |
| 4 | 4 | |
| 5 | -use Illuminate\Events\Dispatcher; |
|
| 6 | 5 | use Illuminate\Contracts\Container\BindingResolutionException; |
| 6 | +use Illuminate\Events\Dispatcher; |
|
| 7 | 7 | |
| 8 | 8 | class CheckerDispatcher extends Dispatcher |
| 9 | 9 | { |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Imanghafoori\LaravelMicroscope; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | 5 | use Illuminate\Auth\Access\Gate; |
| 7 | -use Illuminate\Database\Eloquent\Model; |
|
| 8 | 6 | use Illuminate\Contracts\Container\BindingResolutionException; |
| 7 | +use Illuminate\Database\Eloquent\Model; |
|
| 8 | +use Illuminate\Support\Str; |
|
| 9 | 9 | |
| 10 | 10 | class CheckerGate extends Gate |
| 11 | 11 | { |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Imanghafoori\LaravelMicroscope\Commands; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | -use Illuminate\Routing\Router; |
|
| 7 | 5 | use Illuminate\Console\Command; |
| 8 | -use Imanghafoori\LaravelMicroscope\ErrorPrinter; |
|
| 9 | 6 | use Illuminate\Contracts\Container\BindingResolutionException; |
| 7 | +use Illuminate\Routing\Router; |
|
| 8 | +use Illuminate\Support\Str; |
|
| 9 | +use Imanghafoori\LaravelMicroscope\ErrorPrinter; |
|
| 10 | 10 | |
| 11 | 11 | class CheckRoute extends Command |
| 12 | 12 | { |
@@ -2,15 +2,15 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Imanghafoori\LaravelMicroscope\Commands; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | 5 | use Illuminate\Console\Command; |
| 7 | -use Illuminate\Support\Facades\View; |
|
| 8 | -use Symfony\Component\Finder\Finder; |
|
| 9 | 6 | use Illuminate\Routing\Controller; |
| 10 | -use Imanghafoori\LaravelMicroscope\ErrorPrinter; |
|
| 7 | +use Illuminate\Support\Facades\View; |
|
| 8 | +use Illuminate\Support\Str; |
|
| 11 | 9 | use Imanghafoori\LaravelMicroscope\CheckClasses; |
| 12 | -use Imanghafoori\LaravelMicroscope\View\ViewParser; |
|
| 10 | +use Imanghafoori\LaravelMicroscope\ErrorPrinter; |
|
| 13 | 11 | use Imanghafoori\LaravelMicroscope\GetClassProperties; |
| 12 | +use Imanghafoori\LaravelMicroscope\View\ViewParser; |
|
| 13 | +use Symfony\Component\Finder\Finder; |
|
| 14 | 14 | |
| 15 | 15 | class CheckView extends Command |
| 16 | 16 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Imanghafoori\LaravelMicroscope; |
| 4 | 4 | |
| 5 | +use Illuminate\Support\Str; |
|
| 5 | 6 | use ReflectionClass; |
| 6 | 7 | use ReflectionException; |
| 7 | -use Illuminate\Support\Str; |
|
| 8 | 8 | use Symfony\Component\Finder\Finder; |
| 9 | 9 | |
| 10 | 10 | class DiscoverClasses |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Imanghafoori\LaravelMicroscope; |
| 4 | 4 | |
| 5 | -use ReflectionClass; |
|
| 6 | 5 | use Illuminate\Database\Eloquent\Model; |
| 7 | -use Imanghafoori\LaravelMicroscope\View\ModelParser; |
|
| 8 | 6 | use Imanghafoori\LaravelMicroscope\Commands\CheckView; |
| 7 | +use Imanghafoori\LaravelMicroscope\View\ModelParser; |
|
| 8 | +use ReflectionClass; |
|
| 9 | 9 | |
| 10 | 10 | class ModelRelations |
| 11 | 11 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Imanghafoori\LaravelMicroscope\View; |
| 4 | 4 | |
| 5 | -use ReflectionMethod; |
|
| 6 | 5 | use Illuminate\Support\Str; |
| 7 | 6 | use Imanghafoori\LaravelMicroscope\ParseUseStatement; |
| 7 | +use ReflectionMethod; |
|
| 8 | 8 | |
| 9 | 9 | class ModelParser |
| 10 | 10 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Imanghafoori\LaravelMicroscope\View; |
| 4 | 4 | |
| 5 | -use ReflectionMethod; |
|
| 6 | -use Illuminate\View\ViewName; |
|
| 7 | 5 | use Illuminate\Support\Facades\View; |
| 6 | +use Illuminate\View\ViewName; |
|
| 7 | +use ReflectionMethod; |
|
| 8 | 8 | |
| 9 | 9 | class ViewParser |
| 10 | 10 | { |