From 91dffddf3b6d604127574ac2bc56a778dd6641d6 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Tue, 10 Mar 2026 17:10:39 +1300 Subject: [PATCH] Format --- composer.lock | 16 ++++++++-------- src/Appwrite/Platform/Installer/Server.php | 2 +- .../Platform/Modules/Installer/ModuleTest.php | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/composer.lock b/composer.lock index 86093899d0..e497c59338 100644 --- a/composer.lock +++ b/composer.lock @@ -5489,16 +5489,16 @@ }, { "name": "brianium/paratest", - "version": "v7.19.1", + "version": "v7.19.2", "source": { "type": "git", "url": "https://github.com/paratestphp/paratest.git", - "reference": "95b03194f4cdf5c83175ceead673e21cb66465e7" + "reference": "66e4f7910cecf67736bccf2b8bd53a2e3eb98bd9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paratestphp/paratest/zipball/95b03194f4cdf5c83175ceead673e21cb66465e7", - "reference": "95b03194f4cdf5c83175ceead673e21cb66465e7", + "url": "https://api.github.com/repos/paratestphp/paratest/zipball/66e4f7910cecf67736bccf2b8bd53a2e3eb98bd9", + "reference": "66e4f7910cecf67736bccf2b8bd53a2e3eb98bd9", "shasum": "" }, "require": { @@ -5514,7 +5514,7 @@ "phpunit/php-timer": "^8 || ^9", "phpunit/phpunit": "^12.5.14 || ^13.0.5", "sebastian/environment": "^8.0.3 || ^9", - "symfony/console": "^7.4.4 || ^8.0.4", + "symfony/console": "^7.4.7 || ^8.0.7", "symfony/process": "^7.4.5 || ^8.0.5" }, "require-dev": { @@ -5526,7 +5526,7 @@ "phpstan/phpstan-deprecation-rules": "^2.0.4", "phpstan/phpstan-phpunit": "^2.0.16", "phpstan/phpstan-strict-rules": "^2.0.10", - "symfony/filesystem": "^7.4.0 || ^8.0.1" + "symfony/filesystem": "^7.4.6 || ^8.0.6" }, "bin": [ "bin/paratest", @@ -5566,7 +5566,7 @@ ], "support": { "issues": "https://github.com/paratestphp/paratest/issues", - "source": "https://github.com/paratestphp/paratest/tree/v7.19.1" + "source": "https://github.com/paratestphp/paratest/tree/v7.19.2" }, "funding": [ { @@ -5578,7 +5578,7 @@ "type": "paypal" } ], - "time": "2026-02-25T14:53:45+00:00" + "time": "2026-03-09T14:33:17+00:00" }, { "name": "czproject/git-php", diff --git a/src/Appwrite/Platform/Installer/Server.php b/src/Appwrite/Platform/Installer/Server.php index bca0e55d36..5c07b416a7 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 2fc4c5a633..88078e4c95 100644 --- a/tests/unit/Platform/Modules/Installer/ModuleTest.php +++ b/tests/unit/Platform/Modules/Installer/ModuleTest.php @@ -138,7 +138,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