| @@ -2,8 +2,8 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace app\backend\widgets; | 
| 4 | 4 | |
| 5 | -use app\modules\shop\models\Category; | |
| 6 | 5 | use Yii; | 
| 6 | +use app\modules\shop\models\Category; | |
| 7 | 7 | use yii\helpers\ArrayHelper; | 
| 8 | 8 | use yii\helpers\Json; | 
| 9 | 9 | use yii\helpers\Url; | 
| @@ -2,8 +2,8 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace app\backend\widgets; | 
| 4 | 4 | |
| 5 | -use yii\base\Widget; | |
| 6 | 5 | use app\backend\models\Notification as NotificationModel; | 
| 6 | +use yii\base\Widget; | |
| 7 | 7 | |
| 8 | 8 | class Notification extends Widget | 
| 9 | 9 |  { | 
| @@ -2,14 +2,14 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace app\backend\widgets; | 
| 4 | 4 | |
| 5 | -use devgroup\TagDependencyHelper\ActiveRecordHelper; | |
| 6 | 5 | use Yii; | 
| 7 | 6 | use app; | 
| 7 | +use app\modules\shop\models\Warehouse; | |
| 8 | +use app\modules\shop\models\WarehouseProduct; | |
| 9 | +use devgroup\TagDependencyHelper\ActiveRecordHelper; | |
| 8 | 10 | use yii\base\InvalidConfigException; | 
| 9 | 11 | use yii\base\Widget; | 
| 10 | 12 | use yii\caching\TagDependency; | 
| 11 | -use app\modules\shop\models\WarehouseProduct; | |
| 12 | -use app\modules\shop\models\Warehouse; | |
| 13 | 13 | |
| 14 | 14 | |
| 15 | 15 | /** | 
| @@ -2,12 +2,12 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace app\behaviors; | 
| 4 | 4 | |
| 5 | -use app\modules\image\models\Image; | |
| 5 | +use Yii; | |
| 6 | 6 | use app\models\Object; | 
| 7 | 7 | use app\models\ObjectPropertyGroup; | 
| 8 | 8 | use app\models\ObjectStaticValues; | 
| 9 | 9 | use app\models\ViewObject; | 
| 10 | -use Yii; | |
| 10 | +use app\modules\image\models\Image; | |
| 11 | 11 | use yii\base\Behavior; | 
| 12 | 12 | use yii\db\ActiveRecord; | 
| 13 | 13 | use yii\db\Exception; | 
| @@ -2,12 +2,12 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace app\commands; | 
| 4 | 4 | |
| 5 | -use app\modules\core\models\Extensions; | |
| 6 | 5 | use Yii; | 
| 6 | +use app\modules\core\models\Extensions; | |
| 7 | 7 | use yii\console\Controller; | 
| 8 | 8 | use yii\helpers\ArrayHelper; | 
| 9 | -use yii\helpers\Json; | |
| 10 | 9 | use yii\helpers\Console; | 
| 10 | +use yii\helpers\Json; | |
| 11 | 11 | |
| 12 | 12 | class ExtensionController extends Controller | 
| 13 | 13 |  { | 
| @@ -2,8 +2,8 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace app\components; | 
| 4 | 4 | |
| 5 | -use kartik\icons\Icon; | |
| 6 | 5 | use Yii; | 
| 6 | +use kartik\icons\Icon; | |
| 7 | 7 | use yii\helpers\Html; | 
| 8 | 8 | |
| 9 | 9 | class ActionColumn extends \yii\grid\ActionColumn | 
| @@ -2,12 +2,12 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace app\components; | 
| 4 | 4 | |
| 5 | +use Symfony\Component\Process\Process; | |
| 6 | +use Yii; | |
| 5 | 7 | use app; | 
| 6 | -use app\modules\config\models\Configurable; | |
| 7 | 8 | use app\modules\config\helpers\ConfigurationUpdater; | 
| 9 | +use app\modules\config\models\Configurable; | |
| 8 | 10 | use devgroup\TagDependencyHelper\ActiveRecordHelper; | 
| 9 | -use Symfony\Component\Process\Process; | |
| 10 | -use Yii; | |
| 11 | 11 | |
| 12 | 12 | /** | 
| 13 | 13 | * Class ExtensionModule is the base module that must use all DotPlant2 extensions | 
| @@ -2,13 +2,13 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace app\components; | 
| 4 | 4 | |
| 5 | +use Imagine\Image\ManipulatorInterface; | |
| 5 | 6 | use Yii; | 
| 6 | 7 | use yii\base\Exception; | 
| 7 | 8 | use yii\base\Model; | 
| 8 | 9 | use yii\caching\TagDependency; | 
| 9 | 10 | use yii\db\ActiveRecord; | 
| 10 | 11 | use yii\helpers\ArrayHelper; | 
| 11 | -use Imagine\Image\ManipulatorInterface; | |
| 12 | 12 | |
| 13 | 13 | /** | 
| 14 | 14 | * Universal helper for common use cases | 
| @@ -2,14 +2,14 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace app\components; | 
| 4 | 4 | |
| 5 | -use app\modules\shop\models\Category; | |
| 5 | +use Yii; | |
| 6 | 6 | use app\models\Object; | 
| 7 | 7 | use app\models\PrefilteredPages; | 
| 8 | 8 | use app\models\Route; | 
| 9 | +use app\modules\shop\models\Category; | |
| 9 | 10 | use app\properties\url\StaticPart; | 
| 10 | 11 | use app\properties\url\UrlPart; | 
| 11 | 12 | use devgroup\TagDependencyHelper\ActiveRecordHelper; | 
| 12 | -use Yii; | |
| 13 | 13 | use yii\caching\TagDependency; | 
| 14 | 14 | use yii\db\ActiveRecord; | 
| 15 | 15 | use yii\helpers\ArrayHelper; |