From 94c511f39a362ea82b400f78db554f51d6f40400 Mon Sep 17 00:00:00 2001 From: Darshan Date: Thu, 5 Mar 2026 14:03:30 +0530 Subject: [PATCH] lint. --- src/Appwrite/Platform/Installer/Server.php | 2 +- tests/unit/Platform/Modules/Installer/ModuleTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Appwrite/Platform/Installer/Server.php b/src/Appwrite/Platform/Installer/Server.php index 42dff846e5..5a16ca7570 100644 --- a/src/Appwrite/Platform/Installer/Server.php +++ b/src/Appwrite/Platform/Installer/Server.php @@ -153,7 +153,7 @@ class Server ->inject('response') ->action($errorHandler->action(...)); - $adapter = new class($host, $port, ['worker_num' => 1]) extends SwooleAdapter { + $adapter = new class ($host, $port, ['worker_num' => 1]) extends SwooleAdapter { public function getNativeServer(): SwooleServer { return $this->server; diff --git a/tests/unit/Platform/Modules/Installer/ModuleTest.php b/tests/unit/Platform/Modules/Installer/ModuleTest.php index 4246ab1848..6c1bfbeb10 100644 --- a/tests/unit/Platform/Modules/Installer/ModuleTest.php +++ b/tests/unit/Platform/Modules/Installer/ModuleTest.php @@ -2,8 +2,8 @@ namespace Tests\Unit\Platform\Modules\Installer; -use Appwrite\Platform\Installer\Http\Installer\Complete; use Appwrite\Platform\Installer\Http\Installer\Cleanup; +use Appwrite\Platform\Installer\Http\Installer\Complete; use Appwrite\Platform\Installer\Http\Installer\Error; use Appwrite\Platform\Installer\Http\Installer\Install; use Appwrite\Platform\Installer\Http\Installer\Shutdown; @@ -151,7 +151,7 @@ class ModuleTest extends TestCase */ public function testRouteRegistration(): void { - $platform = new class(new Module()) extends Platform {}; + $platform = new class (new Module()) extends Platform {}; $platform->init(Service::TYPE_HTTP); // If we get here without exceptions, route registration succeeded