Skip to content

Commit

Permalink
chore: update to PHP 8.3 (#371)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
JavierCane authored Dec 4, 2023
1 parent de40b26 commit faf1a6a
Show file tree
Hide file tree
Showing 4 changed files with 753 additions and 1,251 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM php:8.2-fpm-alpine
FROM php:8.3-fpm-alpine
WORKDIR /app

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

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

RUN docker-php-ext-install -j$(nproc) \
bcmath \
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "project",
"description": "An example project applying Domain-Driven Design, Hexagonal Architecture and CQRS in a Monorepository",
"require": {
"php": "^8.2",
"php": "^8.3",

"ext-amqp": "*",
"ext-apcu": "*",
Expand Down Expand Up @@ -33,7 +33,7 @@
"elasticsearch/elasticsearch": "^7",
"monolog/monolog": "^3",

"endclothing/prometheus_client_php": "^1"
"promphp/prometheus_client_php": "^2.7.2"
},
"require-dev": {
"ext-xdebug": "*",
Expand All @@ -54,7 +54,7 @@

"symplify/easy-coding-standard": "^12.0",
"vimeo/psalm": "^5.15",
"rector/rector": "^0.18.4",
"rector/rector": "^0.18.12",
"psalm/plugin-mockery": "^1.1",
"psalm/plugin-symfony": "^5.0",
"psalm/plugin-phpunit": "^0.18.4",
Expand Down
Loading

0 comments on commit faf1a6a

Please sign in to comment.