From 5d8944349617c3285ca3c6c308bce2671c15809d Mon Sep 17 00:00:00 2001 From: ThinkPHP Date: Sat, 1 Apr 2017 07:47:28 +0000 Subject: [PATCH] Apply fixes from StyleCI --- library/think/model/relation/HasMany.php | 1 - library/think/model/relation/HasManyThrough.php | 1 - library/think/model/relation/MorphMany.php | 1 - library/think/model/relation/MorphOne.php | 1 - tests/thinkphp/library/think/requestTest.php | 1 - 5 files changed, 5 deletions(-) diff --git a/library/think/model/relation/HasMany.php b/library/think/model/relation/HasMany.php index 2f0d30b8..f883a57c 100644 --- a/library/think/model/relation/HasMany.php +++ b/library/think/model/relation/HasMany.php @@ -11,7 +11,6 @@ namespace think\model\relation; -use think\Db; use think\db\Query; use think\Loader; use think\Model; diff --git a/library/think/model/relation/HasManyThrough.php b/library/think/model/relation/HasManyThrough.php index dd6f6a55..ab153693 100644 --- a/library/think/model/relation/HasManyThrough.php +++ b/library/think/model/relation/HasManyThrough.php @@ -11,7 +11,6 @@ namespace think\model\relation; -use think\Db; use think\db\Query; use think\Exception; use think\Loader; diff --git a/library/think/model/relation/MorphMany.php b/library/think/model/relation/MorphMany.php index 6b1ca7b3..2307645c 100644 --- a/library/think/model/relation/MorphMany.php +++ b/library/think/model/relation/MorphMany.php @@ -11,7 +11,6 @@ namespace think\model\relation; -use think\Db; use think\db\Query; use think\Exception; use think\Loader; diff --git a/library/think/model/relation/MorphOne.php b/library/think/model/relation/MorphOne.php index 9e231d68..e873aa04 100644 --- a/library/think/model/relation/MorphOne.php +++ b/library/think/model/relation/MorphOne.php @@ -11,7 +11,6 @@ namespace think\model\relation; -use think\Db; use think\db\Query; use think\Exception; use think\Loader; diff --git a/tests/thinkphp/library/think/requestTest.php b/tests/thinkphp/library/think/requestTest.php index 7d89fa36..f86546e6 100644 --- a/tests/thinkphp/library/think/requestTest.php +++ b/tests/thinkphp/library/think/requestTest.php @@ -17,7 +17,6 @@ namespace tests\thinkphp\library\think; use think\Config; use think\Request; -use think\Route; class requestTest extends \PHPUnit_Framework_TestCase {