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
03e07f43
Commit
03e07f43
authored
Jun 14, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaned up "use" statements.
parent
1181c1cc
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
3 additions
and
25 deletions
+3
-25
View.php
framework/yii/base/View.php
+0
-1
ActiveQuery.php
framework/yii/db/ActiveQuery.php
+0
-5
ActiveRecord.php
framework/yii/db/ActiveRecord.php
+0
-3
ActiveRelation.php
framework/yii/db/ActiveRelation.php
+0
-2
QueryBuilder.php
framework/yii/db/QueryBuilder.php
+0
-1
FileHelper.php
framework/yii/helpers/base/FileHelper.php
+3
-4
Router.php
framework/yii/logging/Router.php
+0
-1
AccessControl.php
framework/yii/web/AccessControl.php
+0
-1
Application.php
framework/yii/web/Application.php
+0
-1
Controller.php
framework/yii/web/Controller.php
+0
-1
HttpException.php
framework/yii/web/HttpException.php
+0
-1
Request.php
framework/yii/web/Request.php
+0
-1
Response.php
framework/yii/web/Response.php
+0
-1
User.php
framework/yii/web/User.php
+0
-1
VerbFilter.php
framework/yii/web/VerbFilter.php
+0
-1
No files found.
framework/yii/base/View.php
View file @
03e07f43
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
namespace
yii\base
;
namespace
yii\base
;
use
Yii
;
use
Yii
;
use
yii\base\Application
;
use
yii\helpers\FileHelper
;
use
yii\helpers\FileHelper
;
use
yii\helpers\Html
;
use
yii\helpers\Html
;
use
yii\widgets\Block
;
use
yii\widgets\Block
;
...
...
framework/yii/db/ActiveQuery.php
View file @
03e07f43
...
@@ -8,11 +8,6 @@
...
@@ -8,11 +8,6 @@
namespace
yii\db
;
namespace
yii\db
;
use
yii\db\Connection
;
use
yii\db\Command
;
use
yii\db\QueryBuilder
;
use
yii\db\Expression
;
/**
/**
* ActiveQuery represents a DB query associated with an Active Record class.
* ActiveQuery represents a DB query associated with an Active Record class.
*
*
...
...
framework/yii/db/ActiveRecord.php
View file @
03e07f43
...
@@ -14,9 +14,6 @@ use yii\base\InvalidParamException;
...
@@ -14,9 +14,6 @@ use yii\base\InvalidParamException;
use
yii\base\ModelEvent
;
use
yii\base\ModelEvent
;
use
yii\base\UnknownMethodException
;
use
yii\base\UnknownMethodException
;
use
yii\base\InvalidCallException
;
use
yii\base\InvalidCallException
;
use
yii\db\Connection
;
use
yii\db\TableSchema
;
use
yii\db\Expression
;
use
yii\helpers\StringHelper
;
use
yii\helpers\StringHelper
;
use
yii\helpers\Inflector
;
use
yii\helpers\Inflector
;
...
...
framework/yii/db/ActiveRelation.php
View file @
03e07f43
...
@@ -8,8 +8,6 @@
...
@@ -8,8 +8,6 @@
namespace
yii\db
;
namespace
yii\db
;
use
yii\db\Connection
;
use
yii\db\Command
;
use
yii\base\InvalidConfigException
;
use
yii\base\InvalidConfigException
;
/**
/**
...
...
framework/yii/db/QueryBuilder.php
View file @
03e07f43
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
namespace
yii\db
;
namespace
yii\db
;
use
yii\db\Exception
;
use
yii\base\NotSupportedException
;
use
yii\base\NotSupportedException
;
/**
/**
...
...
framework/yii/helpers/base/FileHelper.php
View file @
03e07f43
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
namespace
yii\helpers\base
;
namespace
yii\helpers\base
;
use
Yii
;
use
Yii
;
use
yii\helpers\StringHelper
;
/**
/**
* Filesystem helper
* Filesystem helper
...
@@ -255,17 +254,17 @@ class FileHelper
...
@@ -255,17 +254,17 @@ class FileHelper
return
false
;
return
false
;
}
}
$path
=
str_replace
(
'\\'
,
'/'
,
$path
);
$path
=
str_replace
(
'\\'
,
'/'
,
$path
);
$n
=
StringHelper
::
strlen
(
$path
);
$n
=
\yii\helpers\
StringHelper
::
strlen
(
$path
);
if
(
!
empty
(
$options
[
'except'
]))
{
if
(
!
empty
(
$options
[
'except'
]))
{
foreach
(
$options
[
'except'
]
as
$name
)
{
foreach
(
$options
[
'except'
]
as
$name
)
{
if
(
StringHelper
::
substr
(
$path
,
-
StringHelper
::
strlen
(
$name
),
$n
)
===
$name
)
{
if
(
\yii\helpers\StringHelper
::
substr
(
$path
,
-
\yii\helpers\
StringHelper
::
strlen
(
$name
),
$n
)
===
$name
)
{
return
false
;
return
false
;
}
}
}
}
}
}
if
(
!
empty
(
$options
[
'only'
]))
{
if
(
!
empty
(
$options
[
'only'
]))
{
foreach
(
$options
[
'only'
]
as
$name
)
{
foreach
(
$options
[
'only'
]
as
$name
)
{
if
(
StringHelper
::
substr
(
$path
,
-
StringHelper
::
strlen
(
$name
),
$n
)
!==
$name
)
{
if
(
\yii\helpers\StringHelper
::
substr
(
$path
,
-
\yii\helpers\
StringHelper
::
strlen
(
$name
),
$n
)
!==
$name
)
{
return
false
;
return
false
;
}
}
}
}
...
...
framework/yii/logging/Router.php
View file @
03e07f43
...
@@ -9,7 +9,6 @@ namespace yii\logging;
...
@@ -9,7 +9,6 @@ namespace yii\logging;
use
Yii
;
use
Yii
;
use
yii\base\Component
;
use
yii\base\Component
;
use
yii\base\Application
;
/**
/**
* Router manages [[Target|log targets]] that record log messages in different media.
* Router manages [[Target|log targets]] that record log messages in different media.
...
...
framework/yii/web/AccessControl.php
View file @
03e07f43
...
@@ -10,7 +10,6 @@ namespace yii\web;
...
@@ -10,7 +10,6 @@ namespace yii\web;
use
Yii
;
use
Yii
;
use
yii\base\Action
;
use
yii\base\Action
;
use
yii\base\ActionFilter
;
use
yii\base\ActionFilter
;
use
yii\web\HttpException
;
/**
/**
* AccessControl provides simple access control based on a set of rules.
* AccessControl provides simple access control based on a set of rules.
...
...
framework/yii/web/Application.php
View file @
03e07f43
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
namespace
yii\web
;
namespace
yii\web
;
use
Yii
;
use
Yii
;
use
yii\web\HttpException
;
use
yii\base\InvalidRouteException
;
use
yii\base\InvalidRouteException
;
/**
/**
...
...
framework/yii/web/Controller.php
View file @
03e07f43
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
namespace
yii\web
;
namespace
yii\web
;
use
Yii
;
use
Yii
;
use
yii\web\HttpException
;
use
yii\base\InlineAction
;
use
yii\base\InlineAction
;
/**
/**
...
...
framework/yii/web/HttpException.php
View file @
03e07f43
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
namespace
yii\web
;
namespace
yii\web
;
use
yii\base\UserException
;
use
yii\base\UserException
;
use
yii\web\Response
;
/**
/**
* HttpException represents an exception caused by an improper request of the end-user.
* HttpException represents an exception caused by an improper request of the end-user.
...
...
framework/yii/web/Request.php
View file @
03e07f43
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
namespace
yii\web
;
namespace
yii\web
;
use
Yii
;
use
Yii
;
use
yii\web\HttpException
;
use
yii\base\InvalidConfigException
;
use
yii\base\InvalidConfigException
;
use
yii\helpers\SecurityHelper
;
use
yii\helpers\SecurityHelper
;
...
...
framework/yii/web/Response.php
View file @
03e07f43
...
@@ -9,7 +9,6 @@ namespace yii\web;
...
@@ -9,7 +9,6 @@ namespace yii\web;
use
Yii
;
use
Yii
;
use
yii\base\InvalidConfigException
;
use
yii\base\InvalidConfigException
;
use
yii\web\HttpException
;
use
yii\base\InvalidParamException
;
use
yii\base\InvalidParamException
;
use
yii\helpers\FileHelper
;
use
yii\helpers\FileHelper
;
use
yii\helpers\Html
;
use
yii\helpers\Html
;
...
...
framework/yii/web/User.php
View file @
03e07f43
...
@@ -9,7 +9,6 @@ namespace yii\web;
...
@@ -9,7 +9,6 @@ namespace yii\web;
use
Yii
;
use
Yii
;
use
yii\base\Component
;
use
yii\base\Component
;
use
yii\web\HttpException
;
use
yii\base\InvalidConfigException
;
use
yii\base\InvalidConfigException
;
/**
/**
...
...
framework/yii/web/VerbFilter.php
View file @
03e07f43
...
@@ -10,7 +10,6 @@ namespace yii\web;
...
@@ -10,7 +10,6 @@ namespace yii\web;
use
Yii
;
use
Yii
;
use
yii\base\ActionEvent
;
use
yii\base\ActionEvent
;
use
yii\base\Behavior
;
use
yii\base\Behavior
;
use
yii\web\HttpException
;
/**
/**
* VerbFilter is an action filter that filters by HTTP request methods.
* VerbFilter is an action filter that filters by HTTP request methods.
...
...
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