From 9bee79fb76db93a1a6a898f209d3811997cbd67a Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Tue, 28 Apr 2026 16:32:41 +0100 Subject: [PATCH] chore: rename Adapter::getContainer() call to getContext() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream removed Adapter::getContainer() in favor of a single public reader Adapter::getContext(): Container that returns the container for the current execution context (per-request inside a request, global outside one). Migration is a one-line rename. The only call site was the installer's bootstrap, which runs at boot and therefore receives the global container — same semantics as before. Co-Authored-By: Claude Opus 4.7 (1M context) --- composer.lock | 8 ++++---- src/Appwrite/Platform/Installer/Server.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.lock b/composer.lock index 109ac91de6..630a26c36d 100644 --- a/composer.lock +++ b/composer.lock @@ -4275,12 +4275,12 @@ "source": { "type": "git", "url": "https://github.com/utopia-php/http.git", - "reference": "2e2c19aef535b1f9241bb5c9e1bf9811a11ec3d2" + "reference": "e26b1a995f01b136ec88f6f2fd34811188b627cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/http/zipball/2e2c19aef535b1f9241bb5c9e1bf9811a11ec3d2", - "reference": "2e2c19aef535b1f9241bb5c9e1bf9811a11ec3d2", + "url": "https://api.github.com/repos/utopia-php/http/zipball/e26b1a995f01b136ec88f6f2fd34811188b627cc", + "reference": "e26b1a995f01b136ec88f6f2fd34811188b627cc", "shasum": "" }, "require": { @@ -4323,7 +4323,7 @@ "issues": "https://github.com/utopia-php/http/issues", "source": "https://github.com/utopia-php/http/tree/fix/concurrency-shared-state" }, - "time": "2026-04-28T15:13:55+00:00" + "time": "2026-04-28T15:24:50+00:00" }, { "name": "utopia-php/image", diff --git a/src/Appwrite/Platform/Installer/Server.php b/src/Appwrite/Platform/Installer/Server.php index 38d61b7d24..ed5758ab2a 100644 --- a/src/Appwrite/Platform/Installer/Server.php +++ b/src/Appwrite/Platform/Installer/Server.php @@ -154,7 +154,7 @@ class Server $nativeServer = $adapter->getNativeServer(); - $container = $adapter->getContainer(); + $container = $adapter->getContext(); $container->set('installerState', fn () => $state); $container->set('installerConfig', fn () => $config); $container->set('installerPaths', fn () => $paths);