Skip to content

Commit cc7d58a

Browse files
committed
Bump minimum PHP version to 8.5
1 parent 442e7eb commit cc7d58a

9 files changed

Lines changed: 39 additions & 38 deletions

File tree

.github/workflows/database.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Install PHP with extensions
3232
uses: shivammathur/setup-php@v2
3333
with:
34-
php-version: 8.3
34+
php-version: 8.5
3535
tools: composer:v2
3636

3737
- name: Set Composer cache directory
@@ -229,7 +229,7 @@ jobs:
229229
if: steps.check.outputs.has_changes == 'true'
230230
uses: shivammathur/setup-php@v2
231231
with:
232-
php-version: 8.3
232+
php-version: 8.5
233233
tools: composer:v2
234234

235235
- name: Set Composer cache directory

.github/workflows/linting-dependencies.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install PHP with extensions
2626
uses: shivammathur/setup-php@v2
2727
with:
28-
php-version: 8.3
28+
php-version: 8.5
2929
tools: composer:v2
3030

3131
- name: Set Composer cache directory

.github/workflows/linting.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install PHP with extensions
2020
uses: shivammathur/setup-php@v2
2121
with:
22-
php-version: 8.3
22+
php-version: 8.5
2323
tools: composer:v2
2424

2525
- name: Set Composer cache directory
@@ -75,7 +75,7 @@ jobs:
7575
- name: Install PHP with extensions
7676
uses: shivammathur/setup-php@v2
7777
with:
78-
php-version: 8.3
78+
php-version: 8.5
7979
tools: composer:v2
8080

8181
- name: Set Composer cache directory
@@ -107,7 +107,7 @@ jobs:
107107
- name: Install PHP with extensions
108108
uses: shivammathur/setup-php@v2
109109
with:
110-
php-version: 8.3
110+
php-version: 8.5
111111
tools: composer:v2
112112

113113
- name: Set Composer cache directory
@@ -139,7 +139,7 @@ jobs:
139139
- name: Install PHP with extensions
140140
uses: shivammathur/setup-php@v2
141141
with:
142-
php-version: 8.3
142+
php-version: 8.5
143143
tools: composer:v2
144144

145145
- name: Set Composer cache directory

.github/workflows/tests-images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Install PHP with extensions
3333
uses: shivammathur/setup-php@v2
3434
with:
35-
php-version: 8.3
35+
php-version: 8.5
3636
tools: composer:v2
3737

3838
- name: Set Composer cache directory

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
POSTGRES_USER: dirigent
2727
strategy:
2828
matrix:
29-
php-version: ["8.3", "8.4", "8.5"]
29+
php-version: ["8.5"]
3030

3131
steps:
3232
- name: Checkout code

ARCHITECTURE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Technology stack
44

55
- **Languages & frameworks**:
6-
- PHP 8.3+
6+
- PHP 8.5+
77
- Symfony 7.3
88
- PostgreSQL 16.x (via Doctrine ORM 3.x)
99
- TypeScript

Dockerfile

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN set -e; \
2626
npm install; \
2727
npm run production;
2828

29-
FROM alpine:3.19
29+
FROM alpine:3.23
3030

3131
LABEL org.opencontainers.image.source=https://github.com/codedmonkey/dirigent
3232
LABEL org.opencontainers.image.description="Dirigent PHP Package Registry"
@@ -46,37 +46,37 @@ RUN set -e; \
4646
curl \
4747
git \
4848
openssl \
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-sodium \
65-
php83-tokenizer \
66-
php83-xml \
49+
php85 \
50+
php85-ctype \
51+
php85-curl \
52+
php85-dom \
53+
php85-fileinfo \
54+
php85-fpm \
55+
php85-iconv \
56+
php85-intl \
57+
php85-mbstring \
58+
php85-openssl \
59+
php85-pdo \
60+
php85-pdo_pgsql \
61+
php85-phar \
62+
php85-session \
63+
php85-simplexml \
64+
php85-sodium \
65+
php85-tokenizer \
66+
php85-xml \
6767
postgresql \
6868
supervisor; \
69-
ln -s /usr/bin/php83 /usr/bin/php; \
70-
ln -s /usr/sbin/php-fpm83 /usr/sbin/php-fpm; \
69+
ln -s /usr/bin/php85 /usr/bin/php; \
70+
ln -s /usr/sbin/php-fpm85 /usr/sbin/php-fpm; \
7171
mkdir -p /run/postgresql /srv/config /srv/data; \
7272
chown -R dirigent:dirigent /run /srv; \
7373
chmod +x /srv/entrypoint.sh /srv/init.sh;
7474

7575
COPY --from=composer_build /usr/bin/composer /usr/bin/composer
7676

7777
COPY docker/Caddyfile /etc/caddy/
78-
COPY docker/php.ini /etc/php83/conf.d/
79-
COPY docker/php-fpm.conf /etc/php83/
78+
COPY docker/php.ini /etc/php85/conf.d/
79+
COPY docker/php-fpm.conf /etc/php85/
8080
COPY docker/supervisord.conf /etc/
8181
COPY docker/process /srv/process/
8282
COPY docker/scripts /srv/scripts/

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"minimum-stability": "stable",
77
"prefer-stable": true,
88
"require": {
9-
"php": ">=8.3",
9+
"php": ">=8.5",
1010
"ext-ctype": "*",
1111
"ext-curl": "*",
1212
"ext-iconv": "*",
@@ -39,7 +39,6 @@
3939
"symfony/mailer": "^7.3.10",
4040
"symfony/mime": "^7.3.11",
4141
"symfony/monolog-bundle": "^3.11.1",
42-
"symfony/polyfill-php85": "^1.33",
4342
"symfony/process": "^7.3.11",
4443
"symfony/property-access": "^7.3.10",
4544
"symfony/property-info": "^7.3.11",
@@ -86,7 +85,9 @@
8685
"symfony/polyfill-php80": "*",
8786
"symfony/polyfill-php81": "*",
8887
"symfony/polyfill-php82": "*",
89-
"symfony/polyfill-php83": "*"
88+
"symfony/polyfill-php83": "*",
89+
"symfony/polyfill-php84": "*",
90+
"symfony/polyfill-php85": "*"
9091
},
9192
"autoload": {
9293
"psr-4": {
@@ -179,7 +180,7 @@
179180
},
180181
"bump-after-update": true,
181182
"platform": {
182-
"php": "8.3.0"
183+
"php": "8.5.0"
183184
},
184185
"sort-packages": true
185186
},

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 the source code is not guaranteed to work on every syst
1818
To install Dirigent on your system from source you need to have the following packages installed on your system:
1919

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

0 commit comments

Comments
 (0)