From 77b4f8b7a0eb8e13badd399d8dbb08e00efa09a5 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Thu, 2 Apr 2026 08:23:51 +0530 Subject: [PATCH] style: apply formatter --- app/http.php | 1 - src/Appwrite/Platform/Modules/Teams/Http/Memberships/Create.php | 2 +- src/Appwrite/Platform/Workers/Audits.php | 1 - src/Appwrite/Platform/Workers/Deletes.php | 1 - tests/unit/Event/EventTest.php | 1 - 5 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/http.php b/app/http.php index 3eb8284ddf..4532839727 100644 --- a/app/http.php +++ b/app/http.php @@ -33,7 +33,6 @@ use Utopia\Http\Files; use Utopia\Http\Http; use Utopia\Logger\Log; use Utopia\Logger\Log\User; -use Utopia\Pools\Group; use Utopia\Span\Span; use Utopia\System\System; diff --git a/src/Appwrite/Platform/Modules/Teams/Http/Memberships/Create.php b/src/Appwrite/Platform/Modules/Teams/Http/Memberships/Create.php index 4a3dbee5c9..f863729263 100644 --- a/src/Appwrite/Platform/Modules/Teams/Http/Memberships/Create.php +++ b/src/Appwrite/Platform/Modules/Teams/Http/Memberships/Create.php @@ -17,6 +17,7 @@ use Appwrite\Utopia\Database\Documents\User; use Appwrite\Utopia\Response; use libphonenumber\NumberParseException; use libphonenumber\PhoneNumberUtil; +use Throwable; use Utopia\Auth\Proofs\Password; use Utopia\Auth\Proofs\Token; use Utopia\Database\Database; @@ -37,7 +38,6 @@ use Utopia\Platform\Scope\HTTP; use Utopia\System\System; use Utopia\Validator\ArrayList; use Utopia\Validator\Text; -use Throwable; class Create extends Action { diff --git a/src/Appwrite/Platform/Workers/Audits.php b/src/Appwrite/Platform/Workers/Audits.php index 9588c1a9d3..6bcc85bc36 100644 --- a/src/Appwrite/Platform/Workers/Audits.php +++ b/src/Appwrite/Platform/Workers/Audits.php @@ -6,7 +6,6 @@ use Exception; use Throwable; use Utopia\Console; use Utopia\Database\Document; -use Utopia\Database\Exception\Authorization; use Utopia\Database\Exception\Structure; use Utopia\Platform\Action; use Utopia\Queue\Message; diff --git a/src/Appwrite/Platform/Workers/Deletes.php b/src/Appwrite/Platform/Workers/Deletes.php index a4faa64462..c420444112 100644 --- a/src/Appwrite/Platform/Workers/Deletes.php +++ b/src/Appwrite/Platform/Workers/Deletes.php @@ -24,7 +24,6 @@ use Utopia\Database\Exception\Conflict; use Utopia\Database\Exception\Restricted; use Utopia\Database\Exception\Structure; use Utopia\Database\Query; -use Utopia\Database\Validator\Authorization; use Utopia\DSN\DSN; use Utopia\Logger\Log; use Utopia\Platform\Action; diff --git a/tests/unit/Event/EventTest.php b/tests/unit/Event/EventTest.php index fcaf1f734d..d050ce5f64 100644 --- a/tests/unit/Event/EventTest.php +++ b/tests/unit/Event/EventTest.php @@ -5,7 +5,6 @@ namespace Tests\Unit\Event; use Appwrite\Event\Event; use InvalidArgumentException; use PHPUnit\Framework\TestCase; -use Utopia\Queue\Publisher; require_once __DIR__ . '/../../../app/init.php';