From eac408ec0bdede4d3ff7f5c6c3944de64e5f797c Mon Sep 17 00:00:00 2001 From: AIZAWA Hina Date: Thu, 4 Jan 2024 16:18:23 +0900 Subject: [PATCH] style --- models/UserIcon.php | 1 + models/api/v3/PostBattleForm.php | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/models/UserIcon.php b/models/UserIcon.php index c04f599e1..8b03682b8 100644 --- a/models/UserIcon.php +++ b/models/UserIcon.php @@ -34,6 +34,7 @@ use function sprintf; use function substr; use function unlink; +use function vsprintf; use const PNG_ALL_FILTERS; diff --git a/models/api/v3/PostBattleForm.php b/models/api/v3/PostBattleForm.php index ef5e67da4..8a3de8de4 100644 --- a/models/api/v3/PostBattleForm.php +++ b/models/api/v3/PostBattleForm.php @@ -52,7 +52,6 @@ use yii\base\InvalidConfigException; use yii\base\Model; use yii\db\ActiveRecord; -use yii\helpers\FileHelper; use yii\helpers\Json; use yii\web\UploadedFile; @@ -60,15 +59,12 @@ use function asort; use function base64_encode; use function count; -use function dirname; use function file_get_contents; -use function file_put_contents; use function floor; use function hash_hmac; use function in_array; use function is_array; use function is_int; -use function is_object; use function is_string; use function json_decode; use function rtrim;