diff --git a/includes/AIReviewJob.php b/includes/AIReviewJob.php index 0c97040..eb7b734 100644 --- a/includes/AIReviewJob.php +++ b/includes/AIReviewJob.php @@ -3,9 +3,8 @@ namespace Isekai\AIReview; use Job; use MediaWiki\MediaWikiServices; -use Title; -use User; -use RequestContext; +use MediaWiki\Title\Title; +use MediaWiki\Context\RequestContext; use ModerationViewableEntry; class AIReviewJob extends Job { diff --git a/includes/AliyunAIReview.php b/includes/AliyunAIReview.php index a645c06..ec598b9 100644 --- a/includes/AliyunAIReview.php +++ b/includes/AliyunAIReview.php @@ -3,7 +3,6 @@ namespace Isekai\AIReview; use AlibabaCloud\Client\AlibabaCloud; use AlibabaCloud\Green\Green; -use Exception; class AliyunAIReview { private const MAX_LENGTH = 10000; diff --git a/includes/Hooks.php b/includes/Hooks.php index 4bdac33..0e5a8fd 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -1,9 +1,8 @@