mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Remove unused imports. (#14096)
This commit is contained in:

committed by
Carsten Brandt

parent
f6a4f3c18f
commit
31e321b9b2
@ -5,7 +5,7 @@ namespace yiiunit\data\helpers;
|
||||
/**
|
||||
* CustomDebugInfo serves for the testing of `__debugInfo()` PHP magic method.
|
||||
*
|
||||
* @see yiiunit\framework\helpers\VarDumperTest
|
||||
* @see \yiiunit\framework\helpers\VarDumperTest
|
||||
*/
|
||||
class CustomDebugInfo
|
||||
{
|
||||
|
@ -8,7 +8,6 @@
|
||||
namespace yiiunit\framework\ar;
|
||||
|
||||
use yii\base\Event;
|
||||
use yii\db\ActiveQueryInterface;
|
||||
use yii\db\BaseActiveRecord;
|
||||
use yiiunit\TestCase;
|
||||
use yiiunit\data\ar\Customer;
|
||||
|
@ -4,9 +4,6 @@ namespace yiiunit\framework\base;
|
||||
|
||||
use Yii;
|
||||
use yii\log\Dispatcher;
|
||||
use yiiunit\data\ar\Cat;
|
||||
use yiiunit\data\ar\Order;
|
||||
use yiiunit\data\ar\Type;
|
||||
use yiiunit\TestCase;
|
||||
|
||||
/**
|
||||
|
@ -7,7 +7,6 @@ use yii\base\Object;
|
||||
use yii\behaviors\BlameableBehavior;
|
||||
use yii\db\BaseActiveRecord;
|
||||
use yiiunit\TestCase;
|
||||
use yii\db\Connection;
|
||||
use yii\db\ActiveRecord;
|
||||
|
||||
/**
|
||||
|
@ -9,7 +9,6 @@ namespace yiiunit\framework\console;
|
||||
|
||||
use Yii;
|
||||
use yii\base\Module;
|
||||
use yii\console\controllers\HelpController;
|
||||
use yii\console\Request;
|
||||
use yiiunit\TestCase;
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
namespace yiiunit\framework\console\controllers;
|
||||
|
||||
use yii\helpers\Console;
|
||||
use yiiunit\framework\console\controllers\TestTrait;
|
||||
use yii\console\controllers\HelpController;
|
||||
use yiiunit\TestCase;
|
||||
|
||||
|
@ -3,7 +3,6 @@
|
||||
namespace yiiunit\framework\db;
|
||||
|
||||
use yii\db\ActiveQuery;
|
||||
use yii\db\ActiveRecordInterface;
|
||||
use yiiunit\data\ar\ActiveRecord;
|
||||
use yiiunit\data\ar\BitValues;
|
||||
use yiiunit\data\ar\Category;
|
||||
@ -22,6 +21,7 @@ use yiiunit\framework\db\cubrid\ActiveRecordTest as CubridActiveRecordTest;
|
||||
use yiiunit\data\ar\Animal;
|
||||
use yiiunit\data\ar\Cat;
|
||||
use yiiunit\data\ar\Dog;
|
||||
use yiiunit\TestCase;
|
||||
|
||||
abstract class ActiveRecordTest extends DatabaseTestCase
|
||||
{
|
||||
|
@ -4,7 +4,6 @@
|
||||
namespace yiiunit\framework\grid;
|
||||
|
||||
|
||||
use yii\base\Model;
|
||||
use yii\grid\ActionColumn;
|
||||
|
||||
/**
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
namespace yiiunit\framework\mutex;
|
||||
|
||||
use yii\mutex\Mutex;
|
||||
|
||||
/**
|
||||
* Class MutexTestTrait
|
||||
*
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
namespace yiiunit\framework\validators;
|
||||
|
||||
use DateTime;
|
||||
use yii\validators\DateValidator;
|
||||
use yiiunit\data\validators\models\FakedValidationModel;
|
||||
use yiiunit\framework\i18n\IntlTestHelper;
|
||||
|
@ -2,7 +2,6 @@
|
||||
namespace yiiunit\framework\validators;
|
||||
|
||||
use yii\validators\IpValidator;
|
||||
use yii\validators\ValidationAsset;
|
||||
use yiiunit\data\validators\models\FakedValidationModel;
|
||||
use yiiunit\TestCase;
|
||||
|
||||
|
@ -8,9 +8,6 @@
|
||||
namespace yiiunit\framework\web;
|
||||
|
||||
use yii\web\Controller;
|
||||
use yiiunit\framework\di\stubs\QuxInterface;
|
||||
use yiiunit\framework\web\stubs\Bar;
|
||||
use yii\validators\EmailValidator;
|
||||
|
||||
/**
|
||||
* @author Misbahul D Munir <misbahuldmunir@gmail.com>
|
||||
|
@ -5,7 +5,6 @@ namespace yiiunit\framework\web;
|
||||
use Exception;
|
||||
use RuntimeException;
|
||||
use Error;
|
||||
use Yii;
|
||||
use yii\helpers\StringHelper;
|
||||
use yii\web\HttpException;
|
||||
|
||||
|
@ -4,7 +4,6 @@ namespace yiiunit\framework\web;
|
||||
use Yii;
|
||||
use yii\web\Request;
|
||||
use yii\web\UrlManager;
|
||||
use yii\web\UrlNormalizer;
|
||||
use yiiunit\TestCase;
|
||||
|
||||
/**
|
||||
|
@ -21,10 +21,6 @@ use yii\web\ForbiddenHttpException;
|
||||
use yii\web\Cookie;
|
||||
use yii\web\CookieCollection;
|
||||
use yii\web\IdentityInterface;
|
||||
use yii\web\UrlManager;
|
||||
use yii\web\UrlRule;
|
||||
use yii\web\Request;
|
||||
use yii\web\Response;
|
||||
use Yii;
|
||||
use yiiunit\TestCase;
|
||||
|
||||
|
@ -2,12 +2,8 @@
|
||||
|
||||
namespace yiiunit\framework\widgets;
|
||||
|
||||
use Yii;
|
||||
use yii\data\ActiveDataProvider;
|
||||
use yii\db\Connection;
|
||||
use yii\db\Query;
|
||||
use yii\widgets\Breadcrumbs;
|
||||
use yii\widgets\LinkSorter;
|
||||
use yii\widgets\ListView;
|
||||
use yiiunit\data\ar\ActiveRecord;
|
||||
use yiiunit\data\ar\Order;
|
||||
|
Reference in New Issue
Block a user