Commit ee2af266 by Alexander Makarov

Removed unneeded use statements

parent c127171e
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
*/ */
namespace yii; namespace yii;
use yii\base\Exception;
use yii\base\InvalidConfigException; use yii\base\InvalidConfigException;
use yii\base\InvalidParamException; use yii\base\InvalidParamException;
use yii\base\UnknownClassException; use yii\base\UnknownClassException;
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
namespace yii\base; namespace yii\base;
use Yii; use Yii;
use yii\base\InvalidConfigException;
use yii\helpers\FileHelper; use yii\helpers\FileHelper;
/** /**
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
namespace yii\bootstrap; namespace yii\bootstrap;
use Yii; use Yii;
use yii\base\View;
use yii\helpers\Json; use yii\helpers\Json;
/** /**
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
namespace yii\gii\generators\crud; namespace yii\gii\generators\crud;
use Yii; use Yii;
use yii\base\Model;
use yii\db\ActiveRecord; use yii\db\ActiveRecord;
use yii\db\Schema; use yii\db\Schema;
use yii\gii\CodeFile; use yii\gii\CodeFile;
......
<?php <?php
use yii\gii\Generator;
use yii\helpers\Html; use yii\helpers\Html;
use yii\widgets\ActiveForm; use yii\widgets\ActiveForm;
use yii\gii\components\ActiveField; use yii\gii\components\ActiveField;
......
<?php <?php
use yii\gii\Generator;
use yii\helpers\Html; use yii\helpers\Html;
use yii\gii\CodeFile; use yii\gii\CodeFile;
......
<?php <?php
use yii\gii\Generator;
use yii\gii\CodeFile;
/** /**
* @var yii\base\View $this * @var yii\base\View $this
* @var yii\gii\Generator $generator * @var yii\gii\Generator $generator
......
...@@ -10,8 +10,6 @@ namespace yii\grid; ...@@ -10,8 +10,6 @@ namespace yii\grid;
use Yii; use Yii;
use Closure; use Closure;
use yii\helpers\Html; use yii\helpers\Html;
use yii\helpers\Inflector;
use yii\helpers\StringHelper;
/** /**
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
......
...@@ -11,8 +11,6 @@ use Yii; ...@@ -11,8 +11,6 @@ use Yii;
use Closure; use Closure;
use yii\base\Formatter; use yii\base\Formatter;
use yii\base\InvalidConfigException; use yii\base\InvalidConfigException;
use yii\base\Widget;
use yii\db\ActiveRecord;
use yii\helpers\Html; use yii\helpers\Html;
use yii\helpers\Json; use yii\helpers\Json;
use yii\widgets\BaseListView; use yii\widgets\BaseListView;
......
...@@ -10,7 +10,6 @@ namespace yii\i18n; ...@@ -10,7 +10,6 @@ namespace yii\i18n;
use Yii; use Yii;
use yii\base\Component; use yii\base\Component;
use yii\base\InvalidConfigException; use yii\base\InvalidConfigException;
use yii\log\Logger;
/** /**
* I18N provides features related with internationalization (I18N) and localization (L10N). * I18N provides features related with internationalization (I18N) and localization (L10N).
......
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
namespace yii\web; namespace yii\web;
use Yii;
use yii\base\View;
/** /**
* @author Qiang Xue <qiang.xue@gmail.com> * @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0 * @since 2.0
......
...@@ -8,7 +8,6 @@ namespace yii\widgets; ...@@ -8,7 +8,6 @@ namespace yii\widgets;
use Yii; use Yii;
use yii\base\Component; use yii\base\Component;
use yii\db\ActiveRecord;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
use yii\helpers\Html; use yii\helpers\Html;
use yii\base\Model; use yii\base\Model;
......
...@@ -7,8 +7,6 @@ ...@@ -7,8 +7,6 @@
namespace yiiunit\data\ar; namespace yiiunit\data\ar;
use yii\db\Connection;
/** /**
* ActiveRecord is ... * ActiveRecord is ...
* *
......
...@@ -13,7 +13,6 @@ function time() ...@@ -13,7 +13,6 @@ function time()
namespace yiiunit\framework\caching; namespace yiiunit\framework\caching;
use yii\helpers\StringHelper;
use yiiunit\TestCase; use yiiunit\TestCase;
use yii\caching\Cache; use yii\caching\Cache;
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
namespace yiiunit\framework\caching; namespace yiiunit\framework\caching;
use yii\caching\MemCache; use yii\caching\MemCache;
use yii\caching\RedisCache; use yii\caching\RedisCache;
use yiiunit\TestCase;
/** /**
* Class for testing redis cache backend * Class for testing redis cache backend
......
<?php <?php
namespace yiiunit\framework\caching; namespace yiiunit\framework\caching;
use yii\caching\Cache;
use yii\caching\ZendDataCache; use yii\caching\ZendDataCache;
/** /**
......
<?php <?php
namespace yiiunit\framework\db; namespace yiiunit\framework\db;
use yii\db\Query;
use yii\db\ActiveQuery; use yii\db\ActiveQuery;
use yiiunit\data\ar\ActiveRecord; use yiiunit\data\ar\ActiveRecord;
use yiiunit\data\ar\Customer; use yiiunit\data\ar\Customer;
......
...@@ -2,9 +2,6 @@ ...@@ -2,9 +2,6 @@
namespace yiiunit\framework\db; namespace yiiunit\framework\db;
use yii\db\Connection;
use yii\db\Command;
use yii\db\Query;
use yii\db\DataReader; use yii\db\DataReader;
/** /**
......
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
namespace yiiunit\framework\db; namespace yiiunit\framework\db;
use yii\db\Connection;
use yii\db\Command;
use yii\db\Query; use yii\db\Query;
use yii\db\DataReader;
/** /**
* @group db * @group db
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
namespace yiiunit\framework\db\cubrid; namespace yiiunit\framework\db\cubrid;
use yii\base\NotSupportedException;
use yii\db\sqlite\Schema; use yii\db\sqlite\Schema;
use yiiunit\framework\db\QueryBuilderTest; use yiiunit\framework\db\QueryBuilderTest;
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
namespace yiiunit\framework\i18n; namespace yiiunit\framework\i18n;
use yii\i18n\GettextMessageSource;
use yiiunit\TestCase; use yiiunit\TestCase;
/** /**
......
...@@ -9,7 +9,6 @@ namespace yiiunit\framework\i18n; ...@@ -9,7 +9,6 @@ namespace yiiunit\framework\i18n;
use yii\base\Model; use yii\base\Model;
use yii\i18n\I18N; use yii\i18n\I18N;
use yii\i18n\MessageFormatter;
use yii\i18n\PhpMessageSource; use yii\i18n\PhpMessageSource;
use yiiunit\TestCase; use yiiunit\TestCase;
......
...@@ -10,7 +10,6 @@ use yiiunit\data\validators\models\FakedValidationModel; ...@@ -10,7 +10,6 @@ use yiiunit\data\validators\models\FakedValidationModel;
use yiiunit\data\validators\models\ValidatorTestMainModel; use yiiunit\data\validators\models\ValidatorTestMainModel;
use yiiunit\data\validators\models\ValidatorTestRefModel; use yiiunit\data\validators\models\ValidatorTestRefModel;
use yiiunit\framework\db\DatabaseTestCase; use yiiunit\framework\db\DatabaseTestCase;
use yiiunit\TestCase;
class UniqueValidatorTest extends DatabaseTestCase class UniqueValidatorTest extends DatabaseTestCase
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment