Skip to content

Commit faf1a6a

Browse files
authored
chore: update to PHP 8.3 (#371)
* chore: update Docker image to PHP 8.3 * chore: update PHP extensions for PHP 8.3 * chore: enable APCu in CLI * chore: explicitly enable APCu
1 parent de40b26 commit faf1a6a

File tree

4 files changed

+753
-1251
lines changed

4 files changed

+753
-1251
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM php:8.2-fpm-alpine
1+
FROM php:8.3-fpm-alpine
22
WORKDIR /app
33

44
RUN apk --update upgrade \
55
&& apk add --no-cache autoconf automake make gcc g++ git bash icu-dev libzip-dev rabbitmq-c rabbitmq-c-dev linux-headers
66

7-
RUN pecl install apcu-5.1.22 && pecl install amqp-2.1.0 && pecl install xdebug-3.2.2
7+
RUN pecl install apcu-5.1.23 && pecl install amqp-2.1.1 && pecl install xdebug-3.3.0
88

99
RUN docker-php-ext-install -j$(nproc) \
1010
bcmath \

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "project",
55
"description": "An example project applying Domain-Driven Design, Hexagonal Architecture and CQRS in a Monorepository",
66
"require": {
7-
"php": "^8.2",
7+
"php": "^8.3",
88

99
"ext-amqp": "*",
1010
"ext-apcu": "*",
@@ -33,7 +33,7 @@
3333
"elasticsearch/elasticsearch": "^7",
3434
"monolog/monolog": "^3",
3535

36-
"endclothing/prometheus_client_php": "^1"
36+
"promphp/prometheus_client_php": "^2.7.2"
3737
},
3838
"require-dev": {
3939
"ext-xdebug": "*",
@@ -54,7 +54,7 @@
5454

5555
"symplify/easy-coding-standard": "^12.0",
5656
"vimeo/psalm": "^5.15",
57-
"rector/rector": "^0.18.4",
57+
"rector/rector": "^0.18.12",
5858
"psalm/plugin-mockery": "^1.1",
5959
"psalm/plugin-symfony": "^5.0",
6060
"psalm/plugin-phpunit": "^0.18.4",

0 commit comments

Comments
 (0)