Skip to content

Commit f73166d

Browse files
committed
Run tests on PHP 8.4
1 parent 0d73dd5 commit f73166d

4 files changed

Lines changed: 7 additions & 8 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.PHONY: all build lint lint-fix test test-integration test-unit test-static repl generate-fixtures process-reports compile clean help
22

33
IMAGE?=latest
4-
PHP=docker-compose run --rm php
4+
PHP=docker compose run --rm php
55

66
all: test
77

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
"require-dev": {
4040
"phpunit/phpunit": "^9.5.20",
4141
"squizlabs/php_codesniffer": "3.*",
42-
"phpstan/phpstan": "^1.5.6",
43-
"psy/psysh": "^0.11.2"
42+
"phpstan/phpstan": "^1.12.11",
43+
"psy/psysh": "^0.12.4"
4444
},
4545
"scripts": {
4646
"test": [

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3'
2-
31
services:
42
php:
53
build: ./docker/${IMAGE:-latest}

docker/latest/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.1-cli
1+
FROM php:8.4-cli
22

33
RUN apt-get update && apt-get install -y \
44
bash \
@@ -9,12 +9,13 @@ RUN apt-get update && apt-get install -y \
99

1010
RUN docker-php-ext-install zip
1111

12-
RUN pecl install xdebug
12+
RUN pecl install xdebug-3.4.0beta1
1313

1414
RUN docker-php-ext-enable xdebug
1515

16-
COPY --from=composer /usr/bin/composer /usr/bin/composer
16+
COPY --from=composer:2.8 /usr/bin/composer /usr/bin/composer
1717

1818
ENV COMPOSER_ALLOW_SUPERUSER 1
19+
ENV COMPOSER_ROOT_VERSION dev-master
1920

2021
WORKDIR /app

0 commit comments

Comments
 (0)