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
dd26d39d
Commit
dd26d39d
authored
Feb 07, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused namespace imports
parent
6ed98485
Hide whitespace changes
Inline
Side-by-side
Showing
36 changed files
with
0 additions
and
52 deletions
+0
-52
LoginForm.php
apps/advanced/common/models/LoginForm.php
+0
-1
Context.php
extensions/apidoc/models/Context.php
+0
-1
FunctionDoc.php
extensions/apidoc/models/FunctionDoc.php
+0
-1
TypeDoc.php
extensions/apidoc/models/TypeDoc.php
+0
-1
Renderer.php
extensions/apidoc/templates/bootstrap/Renderer.php
+0
-1
AssetBundle.php
extensions/apidoc/templates/bootstrap/assets/AssetBundle.php
+0
-1
guide.php
extensions/apidoc/templates/bootstrap/layouts/guide.php
+0
-1
main.php
extensions/apidoc/templates/bootstrap/layouts/main.php
+0
-3
Renderer.php
extensions/apidoc/templates/offline/Renderer.php
+0
-4
AssetBundle.php
extensions/apidoc/templates/offline/assets/AssetBundle.php
+0
-1
Renderer.php
extensions/apidoc/templates/online/Renderer.php
+0
-2
Module.php
extensions/debug/Module.php
+0
-1
ActiveRecord.php
extensions/mongodb/ActiveRecord.php
+0
-2
Session.php
extensions/mongodb/Session.php
+0
-2
Connection.php
extensions/redis/Connection.php
+0
-1
IndexSchema.php
extensions/sphinx/IndexSchema.php
+0
-1
ActiveQueryTrait.php
framework/db/ActiveQueryTrait.php
+0
-1
BaseStringHelper.php
framework/helpers/BaseStringHelper.php
+0
-2
Customer.php
tests/unit/data/ar/Customer.php
+0
-1
Customer.php
tests/unit/data/ar/mongodb/Customer.php
+0
-2
ActiveRecord.php
tests/unit/data/ar/redis/ActiveRecord.php
+0
-2
Customer.php
tests/unit/data/ar/redis/Customer.php
+0
-1
ArticleIndex.php
tests/unit/data/ar/sphinx/ArticleIndex.php
+0
-2
BaseOAuthTest.php
tests/unit/extensions/authclient/BaseOAuthTest.php
+0
-1
CollectionTest.php
tests/unit/extensions/authclient/CollectionTest.php
+0
-1
ActiveRecordTest.php
tests/unit/extensions/elasticsearch/ActiveRecordTest.php
+0
-2
ActiveRecordTest.php
tests/unit/extensions/redis/ActiveRecordTest.php
+0
-1
RedisConnectionTest.php
tests/unit/extensions/redis/RedisConnectionTest.php
+0
-2
ExternalActiveRelationTest.php
tests/unit/extensions/sphinx/ExternalActiveRelationTest.php
+0
-1
SchemaTest.php
tests/unit/extensions/sphinx/SchemaTest.php
+0
-1
ActiveRecordTest.php
tests/unit/framework/db/ActiveRecordTest.php
+0
-1
QueryBuilderTest.php
tests/unit/framework/db/QueryBuilderTest.php
+0
-1
CubridActiveRecordTest.php
tests/unit/framework/db/cubrid/CubridActiveRecordTest.php
+0
-1
SqliteActiveRecordTest.php
tests/unit/framework/db/sqlite/SqliteActiveRecordTest.php
+0
-1
LoggerTest.php
tests/unit/framework/log/LoggerTest.php
+0
-2
TargetTest.php
tests/unit/framework/log/TargetTest.php
+0
-2
No files found.
apps/advanced/common/models/LoginForm.php
View file @
dd26d39d
<?php
namespace
common\models
;
use
common\models\User
;
use
yii\base\Model
;
use
Yii
;
...
...
extensions/apidoc/models/Context.php
View file @
dd26d39d
...
...
@@ -9,7 +9,6 @@ namespace yii\apidoc\models;
use
phpDocumentor\Reflection\FileReflector
;
use
yii\base\Component
;
use
yii\base\Exception
;
/**
*
...
...
extensions/apidoc/models/FunctionDoc.php
View file @
dd26d39d
...
...
@@ -11,7 +11,6 @@ use phpDocumentor\Reflection\DocBlock\Tag\ParamTag;
use
phpDocumentor\Reflection\DocBlock\Tag\PropertyTag
;
use
phpDocumentor\Reflection\DocBlock\Tag\ReturnTag
;
use
phpDocumentor\Reflection\DocBlock\Tag\ThrowsTag
;
use
yii\base\Exception
;
/**
* Represents API documentation information for a `function`.
...
...
extensions/apidoc/models/TypeDoc.php
View file @
dd26d39d
...
...
@@ -8,7 +8,6 @@
namespace
yii\apidoc\models
;
use
phpDocumentor\Reflection\DocBlock\Tag\AuthorTag
;
use
yii\base\Exception
;
use
yii\helpers\StringHelper
;
/**
...
...
extensions/apidoc/templates/bootstrap/Renderer.php
View file @
dd26d39d
...
...
@@ -11,7 +11,6 @@ use yii\apidoc\models\Context;
use
yii\console\Controller
;
use
Yii
;
use
yii\helpers\Console
;
use
yii\helpers\FileHelper
;
/**
*
...
...
extensions/apidoc/templates/bootstrap/assets/AssetBundle.php
View file @
dd26d39d
...
...
@@ -6,7 +6,6 @@
*/
namespace
yii\apidoc\templates\bootstrap\assets
;
use
yii\web\JqueryAsset
;
use
yii\web\View
;
/**
...
...
extensions/apidoc/templates/bootstrap/layouts/guide.php
View file @
dd26d39d
<?php
use
yii\apidoc\templates\bootstrap\SideNavWidget
;
use
yii\helpers\StringHelper
;
/**
* @var yii\web\View $this
...
...
extensions/apidoc/templates/bootstrap/layouts/main.php
View file @
dd26d39d
<?php
use
yii\apidoc\templates\bootstrap\SideNavWidget
;
use
yii\bootstrap\Nav
;
use
yii\bootstrap\NavBar
;
use
yii\helpers\Html
;
use
yii\helpers\StringHelper
;
use
yii\widgets\Menu
;
/**
* @var yii\web\View $this
...
...
extensions/apidoc/templates/offline/Renderer.php
View file @
dd26d39d
...
...
@@ -6,11 +6,7 @@
*/
namespace
yii\apidoc\templates\offline
;
use
yii\apidoc\models\Context
;
use
yii\console\Controller
;
use
Yii
;
use
yii\helpers\Console
;
use
yii\helpers\FileHelper
;
/**
*
...
...
extensions/apidoc/templates/offline/assets/AssetBundle.php
View file @
dd26d39d
...
...
@@ -6,7 +6,6 @@
*/
namespace
yii\apidoc\templates\offline\assets
;
use
yii\web\JqueryAsset
;
use
yii\web\View
;
/**
...
...
extensions/apidoc/templates/online/Renderer.php
View file @
dd26d39d
...
...
@@ -11,8 +11,6 @@ use yii\apidoc\models\TypeDoc;
use
yii\console\Controller
;
use
Yii
;
use
yii\helpers\Console
;
use
yii\helpers\FileHelper
;
use
yii\helpers\StringHelper
;
/**
*
...
...
extensions/debug/Module.php
View file @
dd26d39d
...
...
@@ -11,7 +11,6 @@ use Yii;
use
yii\base\Application
;
use
yii\web\View
;
use
yii\web\ForbiddenHttpException
;
use
yii\helpers\ArrayHelper
;
/**
* The Yii Debug Module provides the debug toolbar and debugger
...
...
extensions/mongodb/ActiveRecord.php
View file @
dd26d39d
...
...
@@ -8,9 +8,7 @@
namespace
yii\mongodb
;
use
yii\base\InvalidConfigException
;
use
yii\base\InvalidParamException
;
use
yii\db\BaseActiveRecord
;
use
yii\base\UnknownMethodException
;
use
yii\db\StaleObjectException
;
use
yii\helpers\Inflector
;
use
yii\helpers\StringHelper
;
...
...
extensions/mongodb/Session.php
View file @
dd26d39d
...
...
@@ -8,8 +8,6 @@
namespace
yii\mongodb
;
use
Yii
;
use
yii\mongodb\Connection
;
use
yii\mongodb\Query
;
use
yii\base\InvalidConfigException
;
/**
...
...
extensions/redis/Connection.php
View file @
dd26d39d
...
...
@@ -8,7 +8,6 @@
namespace
yii\redis
;
use
yii\base\Component
;
use
yii\base\InvalidConfigException
;
use
yii\db\Exception
;
use
yii\helpers\Inflector
;
...
...
extensions/sphinx/IndexSchema.php
View file @
dd26d39d
...
...
@@ -8,7 +8,6 @@
namespace
yii\sphinx
;
use
yii\base\Object
;
use
yii\base\InvalidParamException
;
/**
* IndexSchema represents the metadata of a Sphinx index.
...
...
framework/db/ActiveQueryTrait.php
View file @
dd26d39d
...
...
@@ -6,7 +6,6 @@
*/
namespace
yii\db
;
use
yii\base\InvalidCallException
;
/**
* ActiveQueryTrait implements the common methods and properties for active record query classes.
...
...
framework/helpers/BaseStringHelper.php
View file @
dd26d39d
...
...
@@ -7,8 +7,6 @@
namespace
yii\helpers
;
use
yii\base\InvalidParamException
;
/**
* BaseStringHelper provides concrete implementation for [[StringHelper]].
*
...
...
tests/unit/data/ar/Customer.php
View file @
dd26d39d
<?php
namespace
yiiunit\data\ar
;
use
yii\db\ActiveQuery
;
use
yiiunit\framework\db\ActiveRecordTest
;
/**
...
...
tests/unit/data/ar/mongodb/Customer.php
View file @
dd26d39d
...
...
@@ -2,8 +2,6 @@
namespace
yiiunit\data\ar\mongodb
;
use
yii\mongodb\ActiveQuery
;
class
Customer
extends
ActiveRecord
{
public
static
function
collectionName
()
...
...
tests/unit/data/ar/redis/ActiveRecord.php
View file @
dd26d39d
...
...
@@ -7,8 +7,6 @@
namespace
yiiunit\data\ar\redis
;
use
yii\redis\Connection
;
/**
* ActiveRecord is ...
*
...
...
tests/unit/data/ar/redis/Customer.php
View file @
dd26d39d
...
...
@@ -2,7 +2,6 @@
namespace
yiiunit\data\ar\redis
;
use
yii\redis\ActiveQuery
;
use
yiiunit\extensions\redis\ActiveRecordTest
;
class
Customer
extends
ActiveRecord
...
...
tests/unit/data/ar/sphinx/ArticleIndex.php
View file @
dd26d39d
<?php
namespace
yiiunit\data\ar\sphinx
;
use
yii\sphinx\ActiveQuery
;
class
ArticleIndex
extends
ActiveRecord
{
public
$custom_column
;
...
...
tests/unit/extensions/authclient/BaseOAuthTest.php
View file @
dd26d39d
...
...
@@ -4,7 +4,6 @@ namespace yiiunit\extensions\authclient;
use
yii\authclient\signature\PlainText
;
use
yii\authclient\OAuthToken
;
use
yiiunit\extensions\authclient\TestCase
;
use
yii\authclient\BaseOAuth
;
class
BaseOAuthTest
extends
TestCase
...
...
tests/unit/extensions/authclient/CollectionTest.php
View file @
dd26d39d
...
...
@@ -4,7 +4,6 @@ namespace yiiunit\extensions\authclient;
use
yii\authclient\Collection
;
use
yii\authclient\BaseClient
;
use
yiiunit\extensions\authclient\TestCase
;
class
CollectionTest
extends
TestCase
{
...
...
tests/unit/extensions/elasticsearch/ActiveRecordTest.php
View file @
dd26d39d
...
...
@@ -3,10 +3,8 @@
namespace
yiiunit\extensions\elasticsearch
;
use
yii\base\Event
;
use
yii\base\Exception
;
use
yii\db\BaseActiveRecord
;
use
yii\elasticsearch\Connection
;
use
yii\helpers\Json
;
use
yiiunit\framework\ar\ActiveRecordTestTrait
;
use
yiiunit\data\ar\elasticsearch\ActiveRecord
;
use
yiiunit\data\ar\elasticsearch\Customer
;
...
...
tests/unit/extensions/redis/ActiveRecordTest.php
View file @
dd26d39d
...
...
@@ -2,7 +2,6 @@
namespace
yiiunit\extensions\redis
;
use
yii\redis\ActiveQuery
;
use
yiiunit\data\ar\redis\ActiveRecord
;
use
yiiunit\data\ar\redis\Customer
;
use
yiiunit\data\ar\redis\OrderItem
;
...
...
tests/unit/extensions/redis/RedisConnectionTest.php
View file @
dd26d39d
...
...
@@ -2,8 +2,6 @@
namespace
yiiunit\extensions\redis
;
use
yii\redis\Connection
;
/**
* @group redis
*/
...
...
tests/unit/extensions/sphinx/ExternalActiveRelationTest.php
View file @
dd26d39d
...
...
@@ -6,7 +6,6 @@ use yiiunit\data\ar\sphinx\ActiveRecord;
use
yiiunit\data\ar\ActiveRecord
as
ActiveRecordDb
;
use
yiiunit\data\ar\sphinx\ArticleIndex
;
use
yiiunit\data\ar\sphinx\ArticleDb
;
use
yiiunit\data\ar\sphinx\TagDb
;
/**
* @group sphinx
...
...
tests/unit/extensions/sphinx/SchemaTest.php
View file @
dd26d39d
...
...
@@ -3,7 +3,6 @@
namespace
yiiunit\extensions\sphinx
;
use
yii\caching\FileCache
;
use
yii\sphinx\Schema
;
/**
* @group sphinx
...
...
tests/unit/framework/db/ActiveRecordTest.php
View file @
dd26d39d
<?php
namespace
yiiunit\framework\db
;
use
yii\db\ActiveQuery
;
use
yiiunit\data\ar\ActiveRecord
;
use
yiiunit\data\ar\Customer
;
use
yiiunit\data\ar\NullValues
;
...
...
tests/unit/framework/db/QueryBuilderTest.php
View file @
dd26d39d
...
...
@@ -2,7 +2,6 @@
namespace
yiiunit\framework\db
;
use
yii\db\Query
;
use
yii\db\QueryBuilder
;
use
yii\db\Schema
;
use
yii\db\mysql\QueryBuilder
as
MysqlQueryBuilder
;
...
...
tests/unit/framework/db/cubrid/CubridActiveRecordTest.php
View file @
dd26d39d
<?php
namespace
yiiunit\framework\db\cubrid
;
use
yiiunit\data\ar\Customer
;
use
yiiunit\framework\db\ActiveRecordTest
;
/**
...
...
tests/unit/framework/db/sqlite/SqliteActiveRecordTest.php
View file @
dd26d39d
<?php
namespace
yiiunit\framework\db\sqlite
;
use
yiiunit\data\ar\Customer
;
use
yiiunit\framework\db\ActiveRecordTest
;
/**
...
...
tests/unit/framework/log/LoggerTest.php
View file @
dd26d39d
...
...
@@ -6,8 +6,6 @@
namespace
yiiunit\framework\log
;
use
yii\debug\LogTarget
;
use
yii\log\FileTarget
;
use
yii\log\Logger
;
use
yiiunit\TestCase
;
...
...
tests/unit/framework/log/TargetTest.php
View file @
dd26d39d
...
...
@@ -6,8 +6,6 @@
namespace
yiiunit\framework\log
;
use
yii\debug\LogTarget
;
use
yii\log\FileTarget
;
use
yii\log\Logger
;
use
yii\log\Target
;
use
yiiunit\TestCase
;
...
...
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