Merge pull request #83 from utopia-php/chore/php-8.4

chore!: require PHP 8.4
This commit is contained in:
Luke B. Silver authored and GitHub committed 2026-07-31 16:07:11 +01:00
commit f2a2eb0368
4 files changed
+6 -50

No files matched your search

+3 -3
View File
@@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['8.3', '8.4', '8.5']
php: ['8.4', '8.5']
steps:
- name: Checkout repository
uses: actions/checkout@v3
@@ -47,7 +47,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['8.3', '8.4', '8.5']
php: ['8.4', '8.5']
steps:
- name: Checkout repository
uses: actions/checkout@v3
@@ -78,7 +78,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['8.3', '8.4', '8.5']
php: ['8.4', '8.5']
adapter:
- { name: Memory, suite: memory, services: '', wait: 0 }
- { name: None, suite: none, services: '', wait: 0 }
-44
View File
@@ -1,44 +0,0 @@
FROM composer:2.7 as step0
ARG TESTING=false
ENV TESTING=$TESTING
WORKDIR /usr/local/src/
COPY composer.lock /usr/local/src/
COPY composer.json /usr/local/src/
RUN composer update --ignore-platform-reqs --optimize-autoloader \
--no-plugins --no-scripts --prefer-dist
FROM appwrite/utopia-base:php-8.3-2.0.0 as final
ENV PHP_MEMCACHED_VERSION=v3.4.0
LABEL maintainer="team@appwrite.io"
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN \
apk update \
&& apk add --no-cache make automake autoconf g++ gcc zlib-dev libmemcached-dev docker-cli \
&& rm -rf /var/cache/apk/*
RUN \
# Memcached Extension
git clone --branch $PHP_MEMCACHED_VERSION https://github.com/php-memcached-dev/php-memcached.git && \
cd php-memcached && \
phpize && \
./configure && \
make && make install && \
cd ..
RUN echo extension=memcached.so >> /usr/local/etc/php/conf.d/memcached.ini
WORKDIR /usr/src/code
COPY ./ /usr/src/code
COPY --from=step0 /usr/local/src/vendor /usr/src/code/vendor
CMD [ "tail", "-f", "/dev/null" ]
+1 -1
View File
@@ -17,7 +17,7 @@
"psr-4": {"Utopia\\Tests\\": "tests/Cache"}
},
"require": {
"php": ">=8.3",
"php": ">=8.4",
"ext-json": "*",
"ext-memcached": "*",
"ext-redis": "*",
Generated
+2 -2
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "f62bb19e0009779e8eee3e73f4f36efb",
"content-hash": "e61c8e22817afb02fe0f5586be47f36d",
"packages": [
{
"name": "brick/math",
@@ -5516,7 +5516,7 @@
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
"php": ">=8.3",
"php": ">=8.4",
"ext-json": "*",
"ext-memcached": "*",
"ext-redis": "*"