@@ -2,12 +2,12 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\widgets\navigation\models; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\backgroundtasks\traits\SearchModelTrait; |
| 6 | 7 | use app\behaviors\Tree; |
| 7 | 8 | use app\properties\HasProperties; |
| 8 | 9 | use app\traits\FindById; |
| 9 | 10 | use app\traits\GetImages; |
| 10 | -use Yii; |
|
| 11 | 11 | use yii\data\ActiveDataProvider; |
| 12 | 12 | |
| 13 | 13 | /** |
@@ -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,11 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\models; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\properties\AbstractModel; |
| 6 | 7 | use app\properties\HasProperties; |
| 7 | -use Yii; |
|
| 8 | 8 | use yii\data\ActiveDataProvider; |
| 9 | -use yii\helpers\ArrayHelper; |
|
| 10 | 9 | |
| 11 | 10 | /** |
| 12 | 11 | * This is the model class for table "submission". |
@@ -2,12 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\image\models; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 5 | 6 | use app\behaviors\ImageExist; |
| 6 | 7 | use app\models\Object; |
| 7 | -use app\modules\image\widgets\ImageDropzone; |
|
| 8 | 8 | use app\traits\FindById; |
| 9 | 9 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
| 10 | -use Yii; |
|
| 11 | 10 | use yii\base\Exception; |
| 12 | 11 | use yii\caching\TagDependency; |
| 13 | 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; |
@@ -2,13 +2,13 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\installer\components; |
| 4 | 4 | |
| 5 | +use Yii; |
|
| 6 | +use app\modules\config\helpers\ConfigurationUpdater; |
|
| 7 | +use app\modules\config\models\Configurable; |
|
| 5 | 8 | use app\modules\installer\models\AdminUser; |
| 6 | 9 | use app\modules\installer\models\FinalStep; |
| 7 | -use Yii; |
|
| 8 | 10 | use yii\helpers\ArrayHelper; |
| 9 | 11 | use yii\helpers\VarDumper; |
| 10 | -use app\modules\config\helpers\ConfigurationUpdater; |
|
| 11 | -use app\modules\config\models\Configurable; |
|
| 12 | 12 | |
| 13 | 13 | class InstallerHelper |
| 14 | 14 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace app\widgets\options; |
| 4 | 4 | |
| 5 | 5 | use app\models\Property; |
| 6 | -use Yii; |
|
| 7 | 6 | use yii\base\Widget; |
| 8 | 7 | use yii\helpers\ArrayHelper; |
| 9 | 8 | use yii\helpers\Json; |