mirror of
https://github.com/yiisoft/yii2.git
synced 2026-02-20 00:32:19 +01:00
Remove unused imports (#20554)
This commit is contained in:
@@ -8,10 +8,8 @@
|
||||
namespace yiiunit\framework\behaviors;
|
||||
|
||||
use Yii;
|
||||
use yii\base\BaseObject;
|
||||
use yii\behaviors\BlameableBehavior;
|
||||
use yii\db\ActiveRecord;
|
||||
use yii\db\BaseActiveRecord;
|
||||
use yiiunit\TestCase;
|
||||
|
||||
/**
|
||||
|
||||
@@ -12,8 +12,6 @@ use yii\behaviors\OptimisticLockBehavior;
|
||||
use yii\web\Request;
|
||||
use yii\db\ActiveRecord;
|
||||
use yii\db\Connection;
|
||||
use yii\db\Expression;
|
||||
use yii\db\ExpressionInterface;
|
||||
use yiiunit\TestCase;
|
||||
|
||||
/**
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
namespace yiiunit\framework\console;
|
||||
|
||||
use yii\console\controllers\HelpController;
|
||||
use yii\helpers\Console;
|
||||
|
||||
class FakeHelpControllerWithoutOutput extends HelpController
|
||||
{
|
||||
|
||||
@@ -11,7 +11,6 @@ use Yii;
|
||||
use yii\base\InvalidConfigException;
|
||||
use yii\caching\ArrayCache;
|
||||
use yii\db\conditions\AndCondition;
|
||||
use yii\db\conditions\ExistsConditionBuilder;
|
||||
use yii\db\conditions\OrCondition;
|
||||
use yii\db\Connection;
|
||||
use yii\db\Transaction;
|
||||
|
||||
@@ -8,9 +8,7 @@
|
||||
namespace yiiunit\framework\db\oci;
|
||||
|
||||
use yii\db\ActiveQuery;
|
||||
use yii\db\Expression;
|
||||
use yiiunit\data\ar\BitValues;
|
||||
use yiiunit\data\ar\Customer;
|
||||
use yiiunit\data\ar\DefaultPk;
|
||||
use yiiunit\data\ar\DefaultMultiplePk;
|
||||
use yiiunit\data\ar\Order;
|
||||
|
||||
@@ -9,7 +9,6 @@ namespace yiiunit\framework\db\oci;
|
||||
|
||||
use yii\validators\UniqueValidator;
|
||||
use yiiunit\data\validators\models\ValidatorTestMainModel;
|
||||
use yiiunit\data\validators\models\ValidatorTestRefModel;
|
||||
|
||||
/**
|
||||
* @group db
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
namespace yiiunit\framework\db\pgsql;
|
||||
|
||||
use yii\db\conditions\ExistsConditionBuilder;
|
||||
use yii\db\Expression;
|
||||
use yiiunit\data\ar\ActiveRecord;
|
||||
use yiiunit\data\ar\EnumTypeInCustomSchema;
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
*/
|
||||
|
||||
use yii\helpers\FileHelper;
|
||||
use yii\helpers\VarDumper;
|
||||
use yiiunit\TestCase;
|
||||
|
||||
/**
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
namespace yiiunit\framework\rbac;
|
||||
|
||||
use yii\base\InvalidParamException;
|
||||
use yii\rbac\BaseManager;
|
||||
use yii\rbac\Item;
|
||||
use yii\rbac\Permission;
|
||||
|
||||
@@ -7,9 +7,7 @@
|
||||
|
||||
namespace yiiunit\framework\web;
|
||||
|
||||
use Yii;
|
||||
use yii\web\UploadedFile;
|
||||
use yiiunit\framework\web\mocks\UploadedFileMock;
|
||||
use yiiunit\framework\web\stubs\ModelStub;
|
||||
use yiiunit\framework\web\stubs\VendorImage;
|
||||
use yiiunit\TestCase;
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
namespace yiiunit\framework\widgets;
|
||||
|
||||
use Yii;
|
||||
use yii\widgets\Breadcrumbs;
|
||||
|
||||
/**
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
namespace yiiunit\framework\widgets;
|
||||
|
||||
use Yii;
|
||||
use yii\widgets\Menu;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user