Test Setup Failed
Push — master ( 25278d...58aaaa )
by recca
03:37
created
src/TerminalManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Recca0120\Terminal;
4 4
 
5 5
 use Illuminate\Support\Arr;
6
-use Illuminate\Contracts\Foundation\Application as Laravel;
7 6
 
8 7
 class TerminalManager
9 8
 {
Please login to merge, or discard this patch.
src/Console/Commands/Artisan.php 2 patches
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
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 Symfony\Component\Console\Input\InputOption;
8 9
 use Symfony\Component\Console\Input\StringInput;
9
-use Illuminate\Contracts\Console\Kernel as ArtisanContract;
10 10
 
11 11
 class Artisan extends Command
12 12
 {
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      * need focre option.
74 74
      *
75 75
      * @param string $command
76
-     * @return bool
76
+     * @return string
77 77
      */
78 78
     protected function forceCommand($command)
79 79
     {
Please login to merge, or discard this patch.
src/Console/Commands/Composer.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
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 Symfony\Component\Console\Input\InputOption;
9 9
 use Symfony\Component\Console\Input\StringInput;
10 10
 
Please login to merge, or discard this patch.
src/Console/Commands/Find.php 2 patches
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,13 +4,13 @@
 block discarded – undo
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
-use Symfony\Component\Console\Input\InputOption;
10
-use Symfony\Component\Console\Input\StringInput;
11 8
 use Symfony\Component\Console\Input\InputArgument;
12 9
 use Symfony\Component\Console\Input\InputInterface;
10
+use Symfony\Component\Console\Input\InputOption;
11
+use Symfony\Component\Console\Input\StringInput;
13 12
 use Symfony\Component\Console\Output\OutputInterface;
13
+use Symfony\Component\Finder\Finder;
14 14
 
15 15
 class Find extends Command
16 16
 {
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      *
61 61
      * @param \Symfony\Component\Console\Input\InputInterface   $input
62 62
      * @param \Symfony\Component\Console\Output\OutputInterface $output
63
-     * @return \Symfony\Component\Console\Input\StringInput
63
+     * @return integer
64 64
      */
65 65
     public function run(InputInterface $input, OutputInterface $output)
66 66
     {
Please login to merge, or discard this patch.
src/Console/Commands/Mysql.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
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 Symfony\Component\Console\Input\InputOption;
9 9
 
10 10
 class Mysql extends Command
Please login to merge, or discard this patch.
src/Console/Commands/Tail.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 namespace Recca0120\Terminal\Console\Commands;
4 4
 
5 5
 use Illuminate\Console\Command;
6
-use Illuminate\Support\Collection;
7 6
 use Illuminate\Filesystem\Filesystem;
8
-use Symfony\Component\Console\Input\InputOption;
7
+use Illuminate\Support\Collection;
9 8
 use Symfony\Component\Console\Input\InputArgument;
9
+use Symfony\Component\Console\Input\InputOption;
10 10
 
11 11
 class Tail extends Command
12 12
 {
Please login to merge, or discard this patch.
src/Console/Commands/Vi.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Console\Command;
6 6
 use Illuminate\Filesystem\Filesystem;
7
-use Symfony\Component\Console\Input\InputOption;
8 7
 use Symfony\Component\Console\Input\InputArgument;
8
+use Symfony\Component\Console\Input\InputOption;
9 9
 
10 10
 class Vi extends Command
11 11
 {
Please login to merge, or discard this patch.
src/Http/Controllers/TerminalController.php 2 patches
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,13 +2,12 @@
 block discarded – undo
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 8
 use Illuminate\Routing\Controller;
8
-use Illuminate\Filesystem\Filesystem;
9
+use Illuminate\Support\Str;
9 10
 use Recca0120\Terminal\TerminalManager;
10
-use Illuminate\Contracts\Foundation\Application;
11
-use Illuminate\Contracts\Routing\ResponseFactory;
12 11
 
13 12
 class TerminalController extends Controller
14 13
 {
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      *
44 44
      * @param \Recca0120\Terminal\TerminalManager   $terminalManger
45 45
      * @param string                                $view
46
-     * @return mixed
46
+     * @return \Illuminate\Http\Response
47 47
      */
48 48
     public function index(TerminalManager $terminalManger, $view = 'index')
49 49
     {
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      * rpc response.
67 67
      *
68 68
      * @param \Recca0120\Terminal\TerminalManager   $terminalManger
69
-     * @return mixed
69
+     * @return \Illuminate\Http\JsonResponse
70 70
      */
71 71
     public function endpoint(TerminalManager $terminalManger)
72 72
     {
Please login to merge, or discard this patch.
src/TerminalServiceProvider.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
     /**
69 69
      * register routes.
70 70
      *
71
-     * @param Illuminate\Routing\Router $router
71
+     * @param Router $router
72 72
      * @param array                     $config
73 73
      */
74 74
     protected function handleRoutes(Router $router, $config = [])
Please login to merge, or discard this patch.