@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace Recca0120\Terminal; |
4 | 4 | |
5 | -use Illuminate\Support\Arr; |
|
6 | 5 | use Illuminate\Http\Request; |
7 | 6 | use Illuminate\Routing\Router; |
7 | +use Illuminate\Support\Arr; |
|
8 | 8 | use Illuminate\Support\ServiceProvider; |
9 | 9 | |
10 | 10 | class TerminalServiceProvider extends ServiceProvider |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Recca0120\Terminal\Http\Controllers; |
4 | 4 | |
5 | -use Illuminate\Support\Str; |
|
5 | +use Illuminate\Contracts\Routing\ResponseFactory; |
|
6 | +use Illuminate\Filesystem\Filesystem; |
|
6 | 7 | use Illuminate\Http\Request; |
7 | -use Recca0120\Terminal\Kernel; |
|
8 | 8 | use Illuminate\Routing\Controller; |
9 | -use Illuminate\Filesystem\Filesystem; |
|
10 | -use Illuminate\Contracts\Routing\ResponseFactory; |
|
9 | +use Illuminate\Support\Str; |
|
10 | +use Recca0120\Terminal\Kernel; |
|
11 | 11 | |
12 | 12 | class TerminalController extends Controller |
13 | 13 | { |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Recca0120\Terminal\Console\Commands; |
4 | 4 | |
5 | -use InvalidArgumentException; |
|
6 | 5 | use Illuminate\Console\Command; |
6 | +use Illuminate\Contracts\Console\Kernel as ArtisanContract; |
|
7 | +use InvalidArgumentException; |
|
7 | 8 | use Recca0120\Terminal\Contracts\WebCommand; |
8 | 9 | use Symfony\Component\Console\Input\InputOption; |
9 | 10 | use Symfony\Component\Console\Input\StringInput; |
10 | -use Illuminate\Contracts\Console\Kernel as ArtisanContract; |
|
11 | 11 | |
12 | 12 | class Artisan extends Command implements WebCommand |
13 | 13 | { |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace Recca0120\Terminal\Console\Commands; |
4 | 4 | |
5 | -use Phar; |
|
6 | 5 | use Illuminate\Console\Command; |
7 | 6 | use Illuminate\Filesystem\Filesystem; |
7 | +use Phar; |
|
8 | 8 | use Recca0120\Terminal\Contracts\WebCommand; |
9 | 9 | use Symfony\Component\Console\Input\InputOption; |
10 | 10 | use Symfony\Component\Console\Input\StringInput; |
@@ -4,14 +4,14 @@ |
||
4 | 4 | |
5 | 5 | use Exception; |
6 | 6 | use Illuminate\Console\Command; |
7 | -use Symfony\Component\Finder\Finder; |
|
8 | 7 | use Illuminate\Filesystem\Filesystem; |
9 | 8 | use Recca0120\Terminal\Contracts\WebCommand; |
10 | -use Symfony\Component\Console\Input\InputOption; |
|
11 | -use Symfony\Component\Console\Input\StringInput; |
|
12 | 9 | use Symfony\Component\Console\Input\InputArgument; |
13 | 10 | use Symfony\Component\Console\Input\InputInterface; |
11 | +use Symfony\Component\Console\Input\InputOption; |
|
12 | +use Symfony\Component\Console\Input\StringInput; |
|
14 | 13 | use Symfony\Component\Console\Output\OutputInterface; |
14 | +use Symfony\Component\Finder\Finder; |
|
15 | 15 | |
16 | 16 | class Find extends Command implements WebCommand |
17 | 17 | { |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace Recca0120\Terminal\Console\Commands; |
4 | 4 | |
5 | -use Illuminate\Support\Arr; |
|
6 | 5 | use Illuminate\Console\Command; |
7 | 6 | use Illuminate\Database\DatabaseManager; |
7 | +use Illuminate\Support\Arr; |
|
8 | 8 | use Recca0120\Terminal\Contracts\WebCommand; |
9 | 9 | use Symfony\Component\Console\Input\InputOption; |
10 | 10 |
@@ -5,8 +5,8 @@ |
||
5 | 5 | use Illuminate\Console\Command; |
6 | 6 | use Illuminate\Filesystem\Filesystem; |
7 | 7 | use Recca0120\Terminal\Contracts\WebCommand; |
8 | -use Symfony\Component\Console\Input\InputOption; |
|
9 | 8 | use Symfony\Component\Console\Input\InputArgument; |
9 | +use Symfony\Component\Console\Input\InputOption; |
|
10 | 10 | |
11 | 11 | class Vi extends Command implements WebCommand |
12 | 12 | { |
@@ -44,7 +44,6 @@ |
||
44 | 44 | * Resolve an array of commands through the application. |
45 | 45 | * |
46 | 46 | * @param array|mixed $commands |
47 | - * @param bool $web |
|
48 | 47 | * @return $this |
49 | 48 | */ |
50 | 49 | public function resolveCommands($commands) |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace Recca0120\Terminal; |
4 | 4 | |
5 | +use Illuminate\Console\Application as ConsoleApplication; |
|
5 | 6 | use Illuminate\Http\Request; |
6 | 7 | use Recca0120\Terminal\Contracts\WebCommand; |
8 | +use Symfony\Component\Console\Formatter\OutputFormatter; |
|
7 | 9 | use Symfony\Component\Console\Input\StringInput; |
8 | 10 | use Symfony\Component\Console\Output\BufferedOutput; |
9 | -use Symfony\Component\Console\Formatter\OutputFormatter; |
|
10 | -use Illuminate\Console\Application as ConsoleApplication; |
|
11 | 11 | |
12 | 12 | class Application extends ConsoleApplication |
13 | 13 | { |