diff --git a/framework/base/Request.php b/framework/base/Request.php index b76886ed4a..eb9f805f6d 100644 --- a/framework/base/Request.php +++ b/framework/base/Request.php @@ -6,6 +6,7 @@ */ namespace yii\base; + use Yii; /** diff --git a/framework/caching/FileDependency.php b/framework/caching/FileDependency.php index 11afde36e5..200cdde9bb 100644 --- a/framework/caching/FileDependency.php +++ b/framework/caching/FileDependency.php @@ -6,6 +6,7 @@ */ namespace yii\caching; + use yii\base\InvalidConfigException; /** diff --git a/framework/caching/GroupDependency.php b/framework/caching/GroupDependency.php index 1cf7869f27..bcac858f27 100644 --- a/framework/caching/GroupDependency.php +++ b/framework/caching/GroupDependency.php @@ -6,6 +6,7 @@ */ namespace yii\caching; + use yii\base\InvalidConfigException; /** diff --git a/framework/validators/PunycodeAsset.php b/framework/validators/PunycodeAsset.php index c0c1e2b541..5f6a4110cd 100644 --- a/framework/validators/PunycodeAsset.php +++ b/framework/validators/PunycodeAsset.php @@ -6,6 +6,7 @@ */ namespace yii\validators; + use yii\web\AssetBundle; /** diff --git a/framework/validators/ValidationAsset.php b/framework/validators/ValidationAsset.php index 14d7ad0e95..e9bb79d305 100644 --- a/framework/validators/ValidationAsset.php +++ b/framework/validators/ValidationAsset.php @@ -6,6 +6,7 @@ */ namespace yii\validators; + use yii\web\AssetBundle; /** diff --git a/framework/widgets/ActiveFormAsset.php b/framework/widgets/ActiveFormAsset.php index 5acb5e1902..94b00e5143 100644 --- a/framework/widgets/ActiveFormAsset.php +++ b/framework/widgets/ActiveFormAsset.php @@ -6,6 +6,7 @@ */ namespace yii\widgets; + use yii\web\AssetBundle; /**