Skip to content

Commit 139ff58

Browse files
committed
Bump minimum PHP version to 8.3
1 parent c778c4a commit 139ff58

File tree

7 files changed

+39
-107
lines changed

7 files changed

+39
-107
lines changed

.github/workflows/lint.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
coverage: none
2626
extensions: intl
27-
php-version: 8.2
27+
php-version: 8.3
2828
tools: composer:v2
2929

3030
- name: Set Composer cache directory
@@ -88,7 +88,7 @@ jobs:
8888
with:
8989
coverage: none
9090
extensions: intl
91-
php-version: 8.2
91+
php-version: 8.3
9292
tools: composer:v2
9393

9494
- name: Set Composer cache directory
@@ -122,7 +122,7 @@ jobs:
122122
with:
123123
coverage: none
124124
extensions: intl
125-
php-version: 8.2
125+
php-version: 8.3
126126
tools: composer:v2
127127

128128
- name: Set Composer cache directory

.github/workflows/tests-docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
coverage: none
3838
extensions: intl, mbstring, zip
39-
php-version: 8.2
39+
php-version: 8.3
4040
tools: composer:v2
4141

4242
- name: Add PHPUnit matcher

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
strategy:
3232
matrix:
33-
php-version: ["8.2", "8.3", "8.4"]
33+
php-version: ["8.3", "8.4"]
3434

3535
steps:
3636
- name: Checkout code
@@ -106,7 +106,7 @@ jobs:
106106
with:
107107
coverage: none
108108
extensions: intl
109-
php-version: 8.2
109+
php-version: 8.3
110110
tools: composer:v2
111111

112112
- name: Set Composer cache directory

Dockerfile

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -46,35 +46,36 @@ RUN set -e; \
4646
curl \
4747
git \
4848
openssl \
49-
php82 \
50-
php82-ctype \
51-
php82-curl \
52-
php82-dom \
53-
php82-fileinfo \
54-
php82-fpm \
55-
php82-iconv \
56-
php82-intl \
57-
php82-mbstring \
58-
php82-openssl \
59-
php82-pdo \
60-
php82-pdo_pgsql \
61-
php82-phar \
62-
php82-session \
63-
php82-simplexml \
64-
php82-tokenizer \
65-
php82-xml \
49+
php83 \
50+
php83-ctype \
51+
php83-curl \
52+
php83-dom \
53+
php83-fileinfo \
54+
php83-fpm \
55+
php83-iconv \
56+
php83-intl \
57+
php83-mbstring \
58+
php83-openssl \
59+
php83-pdo \
60+
php83-pdo_pgsql \
61+
php83-phar \
62+
php83-session \
63+
php83-simplexml \
64+
php83-tokenizer \
65+
php83-xml \
6666
postgresql \
6767
supervisor; \
68-
ln -s /usr/sbin/php-fpm82 /usr/sbin/php-fpm; \
68+
ln -s /usr/bin/php83 /usr/bin/php; \
69+
ln -s /usr/sbin/php-fpm83 /usr/sbin/php-fpm; \
6970
mkdir -p /run/postgresql /srv/config /srv/data; \
7071
chown -R dirigent:dirigent /run /srv; \
7172
chmod +x /srv/entrypoint.sh /srv/init.sh;
7273

7374
COPY --from=composer_build /usr/bin/composer /usr/bin/composer
7475

7576
COPY docker/Caddyfile /etc/caddy/
76-
COPY docker/php.ini /etc/php82/conf.d/
77-
COPY docker/php-fpm.conf /etc/php82/
77+
COPY docker/php.ini /etc/php83/conf.d/
78+
COPY docker/php-fpm.conf /etc/php83/
7879
COPY docker/supervisord.conf /etc/
7980
COPY docker/process /srv/process/
8081
COPY docker/scripts /srv/scripts/

composer.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"minimum-stability": "stable",
88
"prefer-stable": true,
99
"require": {
10-
"php": ">=8.2",
10+
"php": ">=8.3",
1111
"ext-ctype": "*",
1212
"ext-curl": "*",
1313
"ext-iconv": "*",
@@ -78,7 +78,8 @@
7878
"symfony/polyfill-php74": "*",
7979
"symfony/polyfill-php80": "*",
8080
"symfony/polyfill-php81": "*",
81-
"symfony/polyfill-php82": "*"
81+
"symfony/polyfill-php82": "*",
82+
"symfony/polyfill-php83": "*"
8283
},
8384
"autoload": {
8485
"psr-4": {
@@ -108,6 +109,9 @@
108109
"symfony/flex": true,
109110
"symfony/runtime": true
110111
},
112+
"platform": {
113+
"php": "8.3.0"
114+
},
111115
"sort-packages": true
112116
},
113117
"extra": {

composer.lock

Lines changed: 5 additions & 78 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/installation/source.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Running the project from source code is not guaranteed to work on every system.
1818
To install Dirigent on your system from source you need to following packages:
1919

2020
- Git
21-
- PHP 8.2 or higher
21+
- PHP 8.3 or higher
2222
- Composer 2
2323
- Web server (like Nginx or Caddy)
2424
- PHP-FPM

0 commit comments

Comments
 (0)