@@ -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; |
| 4 | 4 | |
| 5 | +use Illuminate\Console\Application as ConsoleApplication; |
|
| 5 | 6 | use Illuminate\Http\Request; |
| 6 | -use Symfony\Component\Console\Input\StringInput; |
|
| 7 | 7 | use Recca0120\Terminal\Contracts\TerminalCommand; |
| 8 | -use Symfony\Component\Console\Output\BufferedOutput; |
|
| 9 | 8 | use Symfony\Component\Console\Formatter\OutputFormatter; |
| 10 | -use Illuminate\Console\Application as ConsoleApplication; |
|
| 9 | +use Symfony\Component\Console\Input\StringInput; |
|
| 10 | +use Symfony\Component\Console\Output\BufferedOutput; |
|
| 11 | 11 | |
| 12 | 12 | class Application extends ConsoleApplication |
| 13 | 13 | { |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Recca0120\Terminal\Console\Commands; |
| 4 | 4 | |
| 5 | +use Illuminate\Contracts\Console\Kernel as ArtisanContract; |
|
| 5 | 6 | use InvalidArgumentException; |
| 6 | 7 | use Symfony\Component\Console\Input\InputOption; |
| 7 | 8 | use Symfony\Component\Console\Input\StringInput; |
| 8 | -use Illuminate\Contracts\Console\Kernel as ArtisanContract; |
|
| 9 | 9 | |
| 10 | 10 | class Artisan extends Command |
| 11 | 11 | { |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Recca0120\Terminal\Console\Commands; |
| 4 | 4 | |
| 5 | -use Phar; |
|
| 6 | 5 | use Illuminate\Filesystem\Filesystem; |
| 6 | +use Phar; |
|
| 7 | 7 | use Symfony\Component\Console\Input\InputOption; |
| 8 | 8 | use Symfony\Component\Console\Input\StringInput; |
| 9 | 9 | |
@@ -3,13 +3,13 @@ |
||
| 3 | 3 | namespace Recca0120\Terminal\Console\Commands; |
| 4 | 4 | |
| 5 | 5 | use Exception; |
| 6 | -use Symfony\Component\Finder\Finder; |
|
| 7 | 6 | use Illuminate\Filesystem\Filesystem; |
| 8 | -use Symfony\Component\Console\Input\InputOption; |
|
| 9 | -use Symfony\Component\Console\Input\StringInput; |
|
| 10 | 7 | use Symfony\Component\Console\Input\InputArgument; |
| 11 | 8 | use Symfony\Component\Console\Input\InputInterface; |
| 9 | +use Symfony\Component\Console\Input\InputOption; |
|
| 10 | +use Symfony\Component\Console\Input\StringInput; |
|
| 12 | 11 | use Symfony\Component\Console\Output\OutputInterface; |
| 12 | +use Symfony\Component\Finder\Finder; |
|
| 13 | 13 | |
| 14 | 14 | class Find extends Command |
| 15 | 15 | { |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Recca0120\Terminal\Console\Commands; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Arr; |
|
| 6 | 5 | use Illuminate\Database\DatabaseManager; |
| 6 | +use Illuminate\Support\Arr; |
|
| 7 | 7 | use Symfony\Component\Console\Input\InputOption; |
| 8 | 8 | |
| 9 | 9 | class Mysql extends Command |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace Recca0120\Terminal\Console\Commands; |
| 4 | 4 | |
| 5 | 5 | use Illuminate\Filesystem\Filesystem; |
| 6 | -use Symfony\Component\Console\Input\InputOption; |
|
| 7 | 6 | use Symfony\Component\Console\Input\InputArgument; |
| 7 | +use Symfony\Component\Console\Input\InputOption; |
|
| 8 | 8 | |
| 9 | 9 | class Vi extends Command |
| 10 | 10 | { |