Skip to content

Commit bd105cf

Browse files
committed
ci(dockerfile): bump PHP to 8.4 to match utopia-php/client requirement
utopia-php/client uses PHP 8.4's "method-call on new expression" syntax (e.g. `new Request($method, $uri)->withUri(...)`). PHP 8.3 parses this as `unexpected token "->" expecting ";"` — the Tests job was failing with 129 ParseErrors across the suite as a result. Bumps the final stage image to php:8.4-cli-alpine. composer.json already declares >=8.4 since the lib swap.
1 parent 0e92bd0 commit bd105cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ COPY composer.json /src/
88
RUN composer install --ignore-platform-reqs --optimize-autoloader \
99
--no-plugins --no-scripts --prefer-dist
1010

11-
FROM php:8.3.3-cli-alpine3.19 as final
11+
FROM php:8.4-cli-alpine as final
1212

1313
LABEL maintainer="team@appwrite.io"
1414

0 commit comments

Comments
 (0)