Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
ee2af266
Commit
ee2af266
authored
Oct 24, 2013
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unneeded use statements
parent
c127171e
Show whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
0 additions
and
35 deletions
+0
-35
BaseYii.php
framework/yii/BaseYii.php
+0
-1
Theme.php
framework/yii/base/Theme.php
+0
-1
Widget.php
framework/yii/bootstrap/Widget.php
+0
-1
Generator.php
framework/yii/gii/generators/crud/Generator.php
+0
-1
view.php
framework/yii/gii/views/default/view.php
+0
-1
files.php
framework/yii/gii/views/default/view/files.php
+0
-1
results.php
framework/yii/gii/views/default/view/results.php
+0
-4
ActionColumn.php
framework/yii/grid/ActionColumn.php
+0
-2
GridView.php
framework/yii/grid/GridView.php
+0
-2
I18N.php
framework/yii/i18n/I18N.php
+0
-1
YiiAsset.php
framework/yii/web/YiiAsset.php
+0
-3
ActiveField.php
framework/yii/widgets/ActiveField.php
+0
-1
ActiveRecord.php
tests/unit/data/ar/ActiveRecord.php
+0
-2
CacheTestCase.php
tests/unit/framework/caching/CacheTestCase.php
+0
-1
RedisCacheTest.php
tests/unit/framework/caching/RedisCacheTest.php
+0
-1
ZendDataCacheTest.php
tests/unit/framework/caching/ZendDataCacheTest.php
+0
-1
ActiveRecordTest.php
tests/unit/framework/db/ActiveRecordTest.php
+0
-1
CommandTest.php
tests/unit/framework/db/CommandTest.php
+0
-3
QueryTest.php
tests/unit/framework/db/QueryTest.php
+0
-3
CubridQueryBuilderTest.php
tests/unit/framework/db/cubrid/CubridQueryBuilderTest.php
+0
-1
GettextMessageSourceTest.php
tests/unit/framework/i18n/GettextMessageSourceTest.php
+0
-1
I18NTest.php
tests/unit/framework/i18n/I18NTest.php
+0
-1
UniqueValidatorTest.php
tests/unit/framework/validators/UniqueValidatorTest.php
+0
-1
No files found.
framework/yii/BaseYii.php
View file @
ee2af266
...
@@ -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
;
...
...
framework/yii/base/Theme.php
View file @
ee2af266
...
@@ -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
;
/**
/**
...
...
framework/yii/bootstrap/Widget.php
View file @
ee2af266
...
@@ -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
;
/**
/**
...
...
framework/yii/gii/generators/crud/Generator.php
View file @
ee2af266
...
@@ -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
;
...
...
framework/yii/gii/views/default/view.php
View file @
ee2af266
<?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
;
...
...
framework/yii/gii/views/default/view/files.php
View file @
ee2af266
<?php
<?php
use
yii\gii\Generator
;
use
yii\helpers\Html
;
use
yii\helpers\Html
;
use
yii\gii\CodeFile
;
use
yii\gii\CodeFile
;
...
...
framework/yii/gii/views/default/view/results.php
View file @
ee2af266
<?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
...
...
framework/yii/grid/ActionColumn.php
View file @
ee2af266
...
@@ -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>
...
...
framework/yii/grid/GridView.php
View file @
ee2af266
...
@@ -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
;
...
...
framework/yii/i18n/I18N.php
View file @
ee2af266
...
@@ -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).
...
...
framework/yii/web/YiiAsset.php
View file @
ee2af266
...
@@ -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
...
...
framework/yii/widgets/ActiveField.php
View file @
ee2af266
...
@@ -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
;
...
...
tests/unit/data/ar/ActiveRecord.php
View file @
ee2af266
...
@@ -7,8 +7,6 @@
...
@@ -7,8 +7,6 @@
namespace
yiiunit\data\ar
;
namespace
yiiunit\data\ar
;
use
yii\db\Connection
;
/**
/**
* ActiveRecord is ...
* ActiveRecord is ...
*
*
...
...
tests/unit/framework/caching/CacheTestCase.php
View file @
ee2af266
...
@@ -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
;
...
...
tests/unit/framework/caching/RedisCacheTest.php
View file @
ee2af266
...
@@ -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
...
...
tests/unit/framework/caching/ZendDataCacheTest.php
View file @
ee2af266
<?php
<?php
namespace
yiiunit\framework\caching
;
namespace
yiiunit\framework\caching
;
use
yii\caching\Cache
;
use
yii\caching\ZendDataCache
;
use
yii\caching\ZendDataCache
;
/**
/**
...
...
tests/unit/framework/db/ActiveRecordTest.php
View file @
ee2af266
<?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
;
...
...
tests/unit/framework/db/CommandTest.php
View file @
ee2af266
...
@@ -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
;
/**
/**
...
...
tests/unit/framework/db/QueryTest.php
View file @
ee2af266
...
@@ -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
...
...
tests/unit/framework/db/cubrid/CubridQueryBuilderTest.php
View file @
ee2af266
...
@@ -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
;
...
...
tests/unit/framework/i18n/GettextMessageSourceTest.php
View file @
ee2af266
...
@@ -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
;
/**
/**
...
...
tests/unit/framework/i18n/I18NTest.php
View file @
ee2af266
...
@@ -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
;
...
...
tests/unit/framework/validators/UniqueValidatorTest.php
View file @
ee2af266
...
@@ -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
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment