@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace app\extensions\DefaultTheme\models; |
4 | 4 | |
5 | -use app\traits\IdentityMap; |
|
6 | 5 | use Yii; |
6 | +use app\traits\IdentityMap; |
|
7 | 7 | use yii\caching\TagDependency; |
8 | 8 | use yii\data\ActiveDataProvider; |
9 | 9 | use \devgroup\TagDependencyHelper\ActiveRecordHelper; |
@@ -2,11 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace app\extensions\DefaultTheme\widgets\Footer; |
4 | 4 | |
5 | -use Yii; |
|
6 | -use app\extensions\DefaultTheme\assets\BootstrapHoverDropdown; |
|
7 | 5 | use app\extensions\DefaultTheme\components\BaseWidget; |
8 | -use app\modules\shop\models\Order; |
|
9 | -use yii\helpers\ArrayHelper; |
|
10 | 6 | |
11 | 7 | class Widget extends BaseWidget |
12 | 8 | { |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\config\backend; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app; |
6 | -use app\modules\config\models\Configurable; |
|
7 | 7 | use app\modules\config\helpers\ConfigurationUpdater; |
8 | +use app\modules\config\models\Configurable; |
|
8 | 9 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
9 | -use Yii; |
|
10 | 10 | use yii\caching\TagDependency; |
11 | 11 | use yii\filters\AccessControl; |
12 | 12 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace app\modules\config\models; |
4 | 4 | |
5 | 5 | use Yii; |
6 | -use yii\base\Exception; |
|
7 | 6 | use yii\base\InvalidConfigException; |
8 | 7 | use yii\helpers\Html; |
9 | 8 |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\core\controllers; |
4 | 4 | |
5 | -use app\backend\components\BackendController; |
|
6 | 5 | use Yii; |
6 | +use app\backend\components\BackendController; |
|
7 | 7 | use app\modules\core\models\ContentBlockGroup; |
8 | 8 | use yii\data\ActiveDataProvider; |
9 | -use yii\web\NotFoundHttpException; |
|
10 | 9 | use yii\filters\VerbFilter; |
10 | +use yii\web\NotFoundHttpException; |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * ContentBlockGroupController implements the CRUD actions for ContentBlockGroup model. |
@@ -3,10 +3,10 @@ |
||
3 | 3 | namespace app\modules\core\helpers; |
4 | 4 | |
5 | 5 | |
6 | +use Symfony\Component\Process\Exception\ProcessFailedException; |
|
7 | +use Symfony\Component\Process\Exception\ProcessTimedOutException; |
|
6 | 8 | use Symfony\Component\Process\Process; |
7 | 9 | use Symfony\Component\Process\ProcessBuilder; |
8 | -use Symfony\Component\Process\Exception\ProcessTimedOutException; |
|
9 | -use Symfony\Component\Process\Exception\ProcessFailedException; |
|
10 | 10 | use Yii; |
11 | 11 | use yii\base\Component; |
12 | 12 |
@@ -2,12 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\image\models; |
4 | 4 | |
5 | -use app\behaviors\ImageExist; |
|
6 | 5 | use Imagine\Image\Box; |
7 | 6 | use Imagine\Image\ImageInterface; |
8 | 7 | use League\Flysystem\Filesystem; |
9 | -use League\Flysystem\Util; |
|
10 | 8 | use Yii; |
9 | +use app\behaviors\ImageExist; |
|
11 | 10 | use yii\helpers\ArrayHelper; |
12 | 11 | use yii\imagine\Image as Imagine; |
13 | 12 | use yii\web\BadRequestHttpException; |
@@ -3,11 +3,10 @@ |
||
3 | 3 | use app\backend\widgets\BackendWidget; |
4 | 4 | use app\modules\image\models\Watermark; |
5 | 5 | use app\widgets\Alert; |
6 | +use kartik\icons\Icon; |
|
6 | 7 | use kartik\widgets\ActiveForm; |
7 | 8 | use kartik\widgets\FileInput; |
8 | 9 | use yii\helpers\Html; |
9 | -use kartik\icons\Icon; |
|
10 | -use yii\helpers\Url; |
|
11 | 10 | |
12 | 11 | /** |
13 | 12 | * @var yii\web\View $this |
@@ -10,8 +10,6 @@ |
||
10 | 10 | |
11 | 11 | use app\modules\image\models\Image; |
12 | 12 | use kartik\helpers\Html; |
13 | -use yii\helpers\ArrayHelper; |
|
14 | -use yii\helpers\Url; |
|
15 | 13 | |
16 | 14 | foreach ($images as $image) { |
17 | 15 | $image_src = $image->file; |