diff --git a/application/common/components/MfaBackendManager.php b/application/common/components/MfaBackendManager.php index ebbad15b..e1b317a7 100644 --- a/application/common/components/MfaBackendManager.php +++ b/application/common/components/MfaBackendManager.php @@ -2,7 +2,6 @@ namespace common\components; -use common\components\Emailer; use common\models\EmailLog; use common\models\Mfa; use common\models\MfaBackupcode; @@ -10,7 +9,6 @@ use yii\base\Component; use yii\web\BadRequestHttpException; use yii\web\ForbiddenHttpException; -use yii\web\NotFoundHttpException; use yii\web\ServerErrorHttpException; class MfaBackendManager extends Component implements MfaBackendInterface diff --git a/application/common/models/Invite.php b/application/common/models/Invite.php index 185368de..107867b7 100644 --- a/application/common/models/Invite.php +++ b/application/common/models/Invite.php @@ -2,7 +2,6 @@ namespace common\models; -use Closure; use common\helpers\MySqlDateTime; use Ramsey\Uuid\Uuid; use Yii; diff --git a/application/common/models/Method.php b/application/common/models/Method.php index 5748115c..dcfb3371 100644 --- a/application/common/models/Method.php +++ b/application/common/models/Method.php @@ -2,7 +2,6 @@ namespace common\models; -use common\components\Emailer; use common\exceptions\InvalidCodeException; use common\helpers\MySqlDateTime; use common\helpers\Utils; diff --git a/application/common/models/MfaBackupcode.php b/application/common/models/MfaBackupcode.php index 04913d4b..405188f0 100644 --- a/application/common/models/MfaBackupcode.php +++ b/application/common/models/MfaBackupcode.php @@ -3,7 +3,6 @@ namespace common\models; use common\helpers\MySqlDateTime; -use common\components\Emailer; use yii\helpers\ArrayHelper; use yii\web\ServerErrorHttpException; diff --git a/application/common/models/MfaWebauthn.php b/application/common/models/MfaWebauthn.php index 29e46e11..e52f73f0 100644 --- a/application/common/models/MfaWebauthn.php +++ b/application/common/models/MfaWebauthn.php @@ -3,11 +3,8 @@ namespace common\models; use common\helpers\MySqlDateTime; -use common\components\Emailer; -use yii\base\BaseObject; use yii\helpers\ArrayHelper; use yii\web\BadRequestHttpException; -use yii\web\NotFoundHttpException; use yii\web\ServerErrorHttpException; /** diff --git a/application/common/models/User.php b/application/common/models/User.php index dfdae13e..de6b07ff 100644 --- a/application/common/models/User.php +++ b/application/common/models/User.php @@ -4,7 +4,6 @@ use Br33f\Ga4\MeasurementProtocol\Dto\Event\BaseEvent; use Closure; -use common\components\Emailer; use common\components\HIBP; use common\components\Sheets; use common\helpers\MySqlDateTime; @@ -13,7 +12,6 @@ use Ramsey\Uuid\Uuid; use Sil\EmailService\Client\EmailServiceClientException; use Sil\PhpArrayDotNotation\DotNotation; -use TheIconic\Tracking\GoogleAnalytics\Analytics; use Yii; use yii\behaviors\AttributeBehavior; use yii\data\ActiveDataProvider; diff --git a/application/console/controllers/CronController.php b/application/console/controllers/CronController.php index 02e1d85f..27e5919e 100644 --- a/application/console/controllers/CronController.php +++ b/application/console/controllers/CronController.php @@ -8,10 +8,8 @@ use common\models\Method; use common\models\Mfa; use common\models\User; -use common\components\Emailer; use yii\console\Controller; use Br33f\Ga4\MeasurementProtocol\Dto\Event\BaseEvent; -use TheIconic\Tracking\GoogleAnalytics\Analytics; class CronController extends Controller { diff --git a/application/frontend/controllers/SiteController.php b/application/frontend/controllers/SiteController.php index d6fc3455..f759cd48 100644 --- a/application/frontend/controllers/SiteController.php +++ b/application/frontend/controllers/SiteController.php @@ -4,7 +4,6 @@ use Exception; use frontend\components\BaseRestController; -use GuzzleHttp\Command\Exception\CommandException as GuzzleCommandException; use Yii; use yii\web\NotFoundHttpException; use yii\web\ServerErrorHttpException as Http500;