Completed
Branch 6.0 (d30585)
by yun
04:17
created
src/helper.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,6 +16,8 @@  discard block
 block discarded – undo
16 16
 
17 17
 use think\App;
18 18
 use think\Container;
19
+use think\Response;
20
+use think\Validate;
19 21
 use think\exception\HttpException;
20 22
 use think\exception\HttpResponseException;
21 23
 use think\facade\Cache;
@@ -28,7 +30,6 @@  discard block
 block discarded – undo
28 30
 use think\facade\Request;
29 31
 use think\facade\Route;
30 32
 use think\facade\Session;
31
-use think\Response;
32 33
 use think\response\File;
33 34
 use think\response\Json;
34 35
 use think\response\Jsonp;
@@ -36,7 +37,6 @@  discard block
 block discarded – undo
36 37
 use think\response\View;
37 38
 use think\response\Xml;
38 39
 use think\route\Url as UrlBuild;
39
-use think\Validate;
40 40
 
41 41
 if (!function_exists('abort')) {
42 42
     /**
Please login to merge, or discard this patch.
src/think/cache/Driver.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use DateInterval;
17 17
 use DateTime;
18 18
 use DateTimeInterface;
19
-use Exception;
20 19
 use Psr\SimpleCache\CacheInterface;
21 20
 use think\Container;
22 21
 use think\contract\CacheHandlerInterface;
Please login to merge, or discard this patch.
src/think/Console.php 1 patch
Unused Use Statements   +7 added lines, -8 removed lines patch added patch discarded remove patch
@@ -14,10 +14,16 @@  discard block
 block discarded – undo
14 14
 use InvalidArgumentException;
15 15
 use LogicException;
16 16
 use think\console\Command;
17
+use think\console\Input;
18
+use think\console\Output;
17 19
 use think\console\command\Clear;
18
-use think\console\command\Help;
19 20
 use think\console\command\Help as HelpCommand;
20 21
 use think\console\command\Lists;
22
+use think\console\command\RouteList;
23
+use think\console\command\RunServer;
24
+use think\console\command\ServiceDiscover;
25
+use think\console\command\VendorPublish;
26
+use think\console\command\Version;
21 27
 use think\console\command\make\Command as MakeCommand;
22 28
 use think\console\command\make\Controller;
23 29
 use think\console\command\make\Event;
@@ -29,16 +35,9 @@  discard block
 block discarded – undo
29 35
 use think\console\command\make\Validate;
30 36
 use think\console\command\optimize\Route;
31 37
 use think\console\command\optimize\Schema;
32
-use think\console\command\RouteList;
33
-use think\console\command\RunServer;
34
-use think\console\command\ServiceDiscover;
35
-use think\console\command\VendorPublish;
36
-use think\console\command\Version;
37
-use think\console\Input;
38 38
 use think\console\input\Argument as InputArgument;
39 39
 use think\console\input\Definition as InputDefinition;
40 40
 use think\console\input\Option as InputOption;
41
-use think\console\Output;
42 41
 use think\console\output\driver\Buffer;
43 42
 
44 43
 /**
Please login to merge, or discard this patch.
src/think/console/command/Make.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 use think\console\Command;
15 15
 use think\console\Input;
16
-use think\console\input\Argument;
17 16
 use think\console\Output;
17
+use think\console\input\Argument;
18 18
 
19 19
 abstract class Make extends Command
20 20
 {
Please login to merge, or discard this patch.
src/think/console/command/optimize/Schema.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 
13 13
 use think\console\Command;
14 14
 use think\console\Input;
15
+use think\console\Output;
15 16
 use think\console\input\Argument;
16 17
 use think\console\input\Option;
17
-use think\console\Output;
18 18
 
19 19
 class Schema extends Command
20 20
 {
Please login to merge, or discard this patch.
src/think/console/command/RouteList.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 
13 13
 use think\console\Command;
14 14
 use think\console\Input;
15
-use think\console\input\Argument;
16
-use think\console\input\Option;
17 15
 use think\console\Output;
18 16
 use think\console\Table;
17
+use think\console\input\Argument;
18
+use think\console\input\Option;
19 19
 use think\event\RouteLoaded;
20 20
 
21 21
 class RouteList extends Command
Please login to merge, or discard this patch.
src/think/exception/Handle.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 namespace think\exception;
14 14
 
15 15
 use Exception;
16
+use Throwable;
16 17
 use think\App;
18
+use think\Request;
19
+use think\Response;
17 20
 use think\console\Output;
18 21
 use think\db\exception\DataNotFoundException;
19 22
 use think\db\exception\ModelNotFoundException;
20
-use think\Request;
21
-use think\Response;
22
-use Throwable;
23 23
 
24 24
 /**
25 25
  * 系统异常处理类
Please login to merge, or discard this patch.
src/think/file/UploadedFile.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 
13 13
 namespace think\file;
14 14
 
15
-use think\exception\FileException;
16 15
 use think\File;
16
+use think\exception\FileException;
17 17
 
18 18
 class UploadedFile extends File
19 19
 {
Please login to merge, or discard this patch.
src/think/Http.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
 
13 13
 namespace think;
14 14
 
15
+use Throwable;
15 16
 use think\event\HttpEnd;
16 17
 use think\event\HttpRun;
17 18
 use think\event\RouteLoaded;
18 19
 use think\exception\Handle;
19
-use Throwable;
20 20
 
21 21
 /**
22 22
  * Web应用管理类
Please login to merge, or discard this patch.