@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Facade\Ignition\SolutionProviders; |
4 | 4 | |
5 | -use Throwable; |
|
6 | -use ParseError; |
|
7 | -use Illuminate\Support\Str; |
|
8 | 5 | use Facade\IgnitionContracts\BaseSolution; |
9 | 6 | use Facade\IgnitionContracts\HasSolutionsForThrowable; |
7 | +use Illuminate\Support\Str; |
|
8 | +use ParseError; |
|
10 | 9 | use Symfony\Component\Debug\Exception\FatalThrowableError; |
10 | +use Throwable; |
|
11 | 11 | |
12 | 12 | class MergeConflictSolutionProvider implements HasSolutionsForThrowable |
13 | 13 | { |
@@ -3,15 +3,15 @@ |
||
3 | 3 | namespace Facade\Ignition\Views\Engines; |
4 | 4 | |
5 | 5 | use Exception; |
6 | -use ReflectionProperty; |
|
7 | -use Illuminate\Support\Arr; |
|
8 | -use Illuminate\Support\Collection; |
|
9 | -use Illuminate\Filesystem\Filesystem; |
|
10 | -use Facade\Ignition\Exceptions\ViewException; |
|
11 | 6 | use Facade\IgnitionContracts\ProvidesSolution; |
7 | +use Facade\Ignition\Exceptions\ViewException; |
|
12 | 8 | use Facade\Ignition\Exceptions\ViewExceptionWithSolution; |
13 | -use Facade\Ignition\Views\Concerns\CollectsViewExceptions; |
|
14 | 9 | use Facade\Ignition\Views\Compilers\BladeSourceMapCompiler; |
10 | +use Facade\Ignition\Views\Concerns\CollectsViewExceptions; |
|
11 | +use Illuminate\Filesystem\Filesystem; |
|
12 | +use Illuminate\Support\Arr; |
|
13 | +use Illuminate\Support\Collection; |
|
14 | +use ReflectionProperty; |
|
15 | 15 | |
16 | 16 | class CompilerEngine extends \Illuminate\View\Engines\CompilerEngine |
17 | 17 | { |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Facade\Ignition\SolutionProviders; |
4 | 4 | |
5 | -use Throwable; |
|
6 | 5 | use Facade\IgnitionContracts\BaseSolution; |
7 | -use Facade\Ignition\Exceptions\ViewException; |
|
8 | 6 | use Facade\IgnitionContracts\HasSolutionsForThrowable; |
7 | +use Facade\Ignition\Exceptions\ViewException; |
|
9 | 8 | use Facade\Ignition\Solutions\MakeViewVariableOptionalSolution; |
10 | 9 | use Facade\Ignition\Solutions\SuggestCorrectVariableNameSolution; |
10 | +use Throwable; |
|
11 | 11 | |
12 | 12 | class UndefinedVariableSolutionProvider implements HasSolutionsForThrowable |
13 | 13 | { |
@@ -4,15 +4,15 @@ |
||
4 | 4 | |
5 | 5 | use Closure; |
6 | 6 | use Exception; |
7 | -use Throwable; |
|
8 | -use Facade\Ignition\Ignition; |
|
9 | 7 | use Facade\FlareClient\Report; |
10 | -use Laravel\Telescope\Telescope; |
|
8 | +use Facade\Ignition\Ignition; |
|
11 | 9 | use Facade\Ignition\IgnitionConfig; |
12 | -use Illuminate\Contracts\Support\Arrayable; |
|
13 | -use Laravel\Telescope\IncomingExceptionEntry; |
|
14 | 10 | use Facade\Ignition\Solutions\SolutionTransformer; |
11 | +use Illuminate\Contracts\Support\Arrayable; |
|
15 | 12 | use Laravel\Telescope\Http\Controllers\HomeController; |
13 | +use Laravel\Telescope\IncomingExceptionEntry; |
|
14 | +use Laravel\Telescope\Telescope; |
|
15 | +use Throwable; |
|
16 | 16 | |
17 | 17 | class ErrorPageViewModel implements Arrayable |
18 | 18 | { |
@@ -2,15 +2,15 @@ |
||
2 | 2 | |
3 | 3 | namespace Facade\Ignition\SolutionProviders; |
4 | 4 | |
5 | -use Throwable; |
|
6 | -use InvalidArgumentException; |
|
7 | -use Illuminate\Support\Facades\Route; |
|
8 | -use Illuminate\Foundation\Application; |
|
9 | 5 | use Facade\IgnitionContracts\BaseSolution; |
6 | +use Facade\IgnitionContracts\HasSolutionsForThrowable; |
|
10 | 7 | use Facade\Ignition\Exceptions\ViewException; |
11 | 8 | use Facade\Ignition\Support\StringComparator; |
12 | -use Facade\IgnitionContracts\HasSolutionsForThrowable; |
|
9 | +use Illuminate\Foundation\Application; |
|
10 | +use Illuminate\Support\Facades\Route; |
|
11 | +use InvalidArgumentException; |
|
13 | 12 | use Symfony\Component\Routing\Exception\RouteNotFoundException; |
13 | +use Throwable; |
|
14 | 14 | |
15 | 15 | class RouteNotDefinedSolutionProvider implements HasSolutionsForThrowable |
16 | 16 | { |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace Facade\Ignition\ErrorPage; |
4 | 4 | |
5 | -use Throwable; |
|
6 | 5 | use Facade\FlareClient\Report; |
6 | +use Facade\IgnitionContracts\SolutionProviderRepository; |
|
7 | 7 | use Facade\Ignition\IgnitionConfig; |
8 | 8 | use Illuminate\Foundation\Application; |
9 | -use Facade\IgnitionContracts\SolutionProviderRepository; |
|
9 | +use Throwable; |
|
10 | 10 | |
11 | 11 | class ErrorPageHandler |
12 | 12 | { |
@@ -4,6 +4,7 @@ discard block |
||
4 | 4 | |
5 | 5 | use Facade\FlareClient\Flare; |
6 | 6 | use Facade\FlareClient\Http\Client; |
7 | +use Facade\IgnitionContracts\SolutionProviderRepository as SolutionProviderRepositoryContract; |
|
7 | 8 | use Facade\Ignition\Commands\SolutionMakeCommand; |
8 | 9 | use Facade\Ignition\Commands\TestCommand; |
9 | 10 | use Facade\Ignition\Context\LaravelContextDetector; |
@@ -18,8 +19,8 @@ discard block |
||
18 | 19 | use Facade\Ignition\Http\Controllers\StyleController; |
19 | 20 | use Facade\Ignition\Http\Middleware\IgnitionConfigValueEnabled; |
20 | 21 | use Facade\Ignition\Http\Middleware\IgnitionEnabled; |
21 | -use Facade\Ignition\Logger\FlareHandler; |
|
22 | 22 | use Facade\Ignition\LogRecorder\LogRecorder; |
23 | +use Facade\Ignition\Logger\FlareHandler; |
|
23 | 24 | use Facade\Ignition\Middleware\AddDumps; |
24 | 25 | use Facade\Ignition\Middleware\AddEnvironmentInformation; |
25 | 26 | use Facade\Ignition\Middleware\AddGitInformation; |
@@ -46,7 +47,6 @@ discard block |
||
46 | 47 | use Facade\Ignition\SolutionProviders\ViewNotFoundSolutionProvider; |
47 | 48 | use Facade\Ignition\Views\Engines\CompilerEngine; |
48 | 49 | use Facade\Ignition\Views\Engines\PhpEngine; |
49 | -use Facade\IgnitionContracts\SolutionProviderRepository as SolutionProviderRepositoryContract; |
|
50 | 50 | use Illuminate\Foundation\Application; |
51 | 51 | use Illuminate\Log\Events\MessageLogged; |
52 | 52 | use Illuminate\Log\LogManager; |