diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 329c033..1c9c806 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,7 +17,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.4' + php-version: '8.5' extensions: swoole, redis tools: composer:v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 6b49fac..38b8f94 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -17,7 +17,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.4' + php-version: '8.5' extensions: swoole, redis, sockets, ffi tools: composer:v2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0a19f77..ac14706 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.4' + php-version: '8.5' extensions: swoole, redis, sockets, pcov tools: composer:v2 @@ -53,7 +53,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.4' + php-version: '8.5' extensions: swoole, redis, sockets, pcov tools: composer:v2 diff --git a/Dockerfile b/Dockerfile index a7e0e9a..7ae690a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ # runtime image loads via src/Sockmap/Loader.php. We use clang in a # throwaway image so the runtime doesn't carry the LLVM toolchain. # -# Stage 2 (runtime): slim PHP 8.4 Alpine image with swoole + ffi + libbpf +# Stage 2 (runtime): slim PHP 8.5 Alpine image with swoole + ffi + libbpf # + libjemalloc installed. The sockmap BPF object from stage 1 is # copied in at /opt/proxy/relay.bpf.o and referenced by TCP_SOCKMAP_BPF_OBJECT. # @@ -80,7 +80,7 @@ RUN clang -O2 -g -target bpf \ ls -la relay.bpf.o # ------------- stage 2: runtime ------------- -FROM php:8.4.18-cli-alpine3.23 +FROM php:8.5-cli-alpine3.23 RUN apk update && apk upgrade && apk add --no-cache \ autoconf \ diff --git a/Dockerfile.test b/Dockerfile.test index 227e8cb..f724791 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -1,4 +1,4 @@ -FROM php:8.4-cli-alpine AS test +FROM php:8.5-cli-alpine AS test RUN apk add --no-cache \ autoconf \ diff --git a/README.md b/README.md index 5117326..ec64522 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ C load generators at `benchmarks/tcpbench.c` and `benchmarks/httpbench/`. ## Requirements -- PHP >= 8.4 +- PHP >= 8.5 - ext-swoole >= 6.0 - ext-redis diff --git a/composer.json b/composer.json index b8bef3e..dcc9872 100644 --- a/composer.json +++ b/composer.json @@ -10,11 +10,11 @@ } ], "require": { - "php": ">=8.4", + "php": ">=8.5", "ext-redis": "*", "ext-swoole": ">=6.0", "utopia-php/console": "*", - "utopia-php/validators": "*" + "utopia-php/validators": "^0.6" }, "require-dev": { "phpunit/phpunit": "12.*", @@ -45,7 +45,7 @@ "check": "phpstan analyse --level=max --memory-limit=2G src tests" }, "config": { - "php": "8.4", + "php": "8.5", "optimize-autoloader": true, "sort-packages": true, "allow-plugins": { diff --git a/composer.lock b/composer.lock index 0a32f41..1f1c8c7 100644 --- a/composer.lock +++ b/composer.lock @@ -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": "99280271f19e528293e79946fe10614f", + "content-hash": "fb3633da57057dab5e56dc1e5fdabfed", "packages": [ { "name": "utopia-php/console", @@ -56,25 +56,20 @@ }, { "name": "utopia-php/validators", - "version": "0.2.0", + "version": "0.6.0", "source": { "type": "git", "url": "https://github.com/utopia-php/validators.git", - "reference": "30b6030a5b100fc1dff34506e5053759594b2a20" + "reference": "7afdde56a7a635f0cb3d8a5e22ebbef40baf31dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/validators/zipball/30b6030a5b100fc1dff34506e5053759594b2a20", - "reference": "30b6030a5b100fc1dff34506e5053759594b2a20", + "url": "https://api.github.com/repos/utopia-php/validators/zipball/7afdde56a7a635f0cb3d8a5e22ebbef40baf31dc", + "reference": "7afdde56a7a635f0cb3d8a5e22ebbef40baf31dc", "shasum": "" }, "require": { - "php": ">=8.0" - }, - "require-dev": { - "laravel/pint": "1.*", - "phpstan/phpstan": "2.*", - "phpunit/phpunit": "11.*" + "php": ">=8.5" }, "type": "library", "autoload": { @@ -95,9 +90,9 @@ ], "support": { "issues": "https://github.com/utopia-php/validators/issues", - "source": "https://github.com/utopia-php/validators/tree/0.2.0" + "source": "https://github.com/utopia-php/validators/tree/0.6.0" }, - "time": "2026-01-13T09:16:51+00:00" + "time": "2026-08-27T04:46:08+00:00" } ], "packages-dev": [ @@ -1900,10 +1895,10 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": ">=8.4", + "php": ">=8.5", "ext-redis": "*", "ext-swoole": ">=6.0" }, "platform-dev": {}, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.9.0" }