Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.test
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Comment thread
greptile-apps[bot] marked this conversation as resolved.
},
"require-dev": {
"phpunit/phpunit": "12.*",
Expand Down Expand Up @@ -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": {
Expand Down
25 changes: 10 additions & 15 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading