@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\shop\widgets; |
4 | 4 | |
5 | -use yii\helpers\ArrayHelper; |
|
6 | 5 | use Yii; |
6 | +use yii\helpers\ArrayHelper; |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * @property \app\models\Property $property |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\user\actions; |
4 | 4 | |
5 | -use app; |
|
6 | 5 | use Yii; |
6 | +use app; |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * AuthAction extends base yii2 auth action adding error view |
@@ -2,17 +2,16 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\user\controllers; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\backend\components\BackendController; |
6 | 7 | use app\components\SearchModel; |
7 | 8 | use app\modules\user\models\User; |
8 | -use Yii; |
|
9 | 9 | use yii\filters\AccessControl; |
10 | 10 | use yii\filters\VerbFilter; |
11 | 11 | use yii\helpers\ArrayHelper; |
12 | 12 | use yii\helpers\Json; |
13 | -use yii\rbac\Item; |
|
14 | 13 | use yii\helpers\Url; |
15 | - |
|
14 | +use yii\rbac\Item; |
|
16 | 15 | use yii\web\NotFoundHttpException; |
17 | 16 | |
18 | 17 | /** |
@@ -2,13 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\user\models; |
4 | 4 | |
5 | -use app\modules\shop\models\Customer; |
|
6 | -use app\properties\HasProperties; |
|
5 | +use Yii; |
|
7 | 6 | use app\models\PropertyGroup; |
8 | -use app\models\ObjectPropertyGroup; |
|
9 | - |
|
7 | +use app\properties\HasProperties; |
|
10 | 8 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
11 | -use Yii; |
|
12 | 9 | use yii\base\NotSupportedException; |
13 | 10 | use yii\behaviors\TimestampBehavior; |
14 | 11 | use yii\caching\TagDependency; |
@@ -11,8 +11,6 @@ |
||
11 | 11 | * @var $this \app\properties\handlers\Handler |
12 | 12 | * @var $values array |
13 | 13 | */ |
14 | -use vova07\imperavi\Widget as ImperaviWidget; |
|
15 | -use yii\helpers\Url; |
|
16 | 14 | |
17 | 15 | ?> |
18 | 16 | <?=$form->field($model, $property_key.'[0]')->widget( |
@@ -2,13 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace app\properties; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\models\Object; |
6 | 7 | use app\models\ObjectPropertyGroup; |
7 | 8 | use app\models\Property; |
8 | 9 | use app\models\PropertyGroup; |
9 | -use app\models\PropertyStaticValues; |
|
10 | 10 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
11 | -use Yii; |
|
12 | 11 | use yii\base\Widget; |
13 | 12 | use yii\caching\TagDependency; |
14 | 13 | use yii\db\ActiveRecord; |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | -use yii\helpers\Html; |
|
3 | 2 | use app\properties\HasProperties; |
3 | +use yii\helpers\Html; |
|
4 | 4 | ?> |
5 | 5 | <div id="properties-widget-<?=$widget_id?>"> |
6 | 6 | <?php |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace tests\unit\models; |
4 | 4 | |
5 | -use app\modules\user\models\User; |
|
6 | 5 | use Yii; |
6 | +use app\modules\user\models\User; |
|
7 | 7 | use yii\codeception\TestCase; |
8 | 8 | |
9 | 9 | class LoginFormTest extends TestCase |
@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace app\traits; |
4 | 4 | |
5 | -use app\models\Object; |
|
5 | +use Yii; |
|
6 | 6 | use app\models\DynamicContent; |
7 | +use app\models\Object; |
|
7 | 8 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
8 | -use Yii; |
|
9 | 9 | use yii\caching\TagDependency; |
10 | 10 | use yii\helpers\Json; |
11 | 11 |