Skip to content

Commit 8af5873

Browse files
committed
Update to PHP 8.5
1 parent 967f9a1 commit 8af5873

File tree

4 files changed

+9
-88
lines changed

4 files changed

+9
-88
lines changed

api/composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "The German Arch Linux Feed Aggregator",
55
"license": "GPL-3.0-or-later",
66
"require": {
7-
"php": "^8.4",
7+
"php": "^8.5",
88
"ext-apcu": "^5.1",
99
"ext-ctype": "*",
1010
"ext-curl": "*",
@@ -90,7 +90,8 @@
9090
"symfony/polyfill-php81": "*",
9191
"symfony/polyfill-php82": "*",
9292
"symfony/polyfill-php83": "*",
93-
"symfony/polyfill-php84": "*"
93+
"symfony/polyfill-php84": "*",
94+
"symfony/polyfill-php85": "*"
9495
},
9596
"scripts": {
9697
"auto-scripts": {

api/composer.lock

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

docker/php/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM php:8.4-fpm-alpine
1+
FROM php:8.5-fpm-alpine
22

33
RUN mv "$PHP_INI_DIR/php.ini-development" "$PHP_INI_DIR/php.ini"
44

55
RUN apk add --no-cache git
66

77
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/
88
RUN install-php-extensions opcache apcu intl pdo_mysql
9-
RUN IPE_DONT_ENABLE=1 install-php-extensions xdebug-stable
9+
RUN IPE_DONT_ENABLE=1 install-php-extensions pcov
1010

1111
COPY --from=composer /usr/bin/composer /usr/bin/composer

justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ test-db-migrations *args: start-db
136136
{{PHP-DB-RUN}} vendor/bin/phpunit -c phpunit-db.xml --testsuite 'Doctrine Migrations Test' {{args}}
137137

138138
test-coverage:
139-
{{PHP-RUN}} php -d zend_extension=xdebug -d xdebug.mode=coverage -d memory_limit=-1 vendor/bin/phpunit --coverage-html var/coverage/phpunit
139+
{{PHP-RUN}} php -d extension=pcov -d memory_limit=-1 vendor/bin/phpunit --coverage-html var/coverage/phpunit
140140

141141
test-db-coverage: start-db
142-
{{PHP-RUN}} php -d zend_extension=xdebug -d xdebug.mode=coverage -d memory_limit=-1 vendor/bin/phpunit --coverage-html var/coverage -c phpunit-db.xml
142+
{{PHP-RUN}} php -d extension=pcov -d memory_limit=-1 vendor/bin/phpunit --coverage-html var/coverage -c phpunit-db.xml
143143

144144
test-security: (composer "audit")
145145
{{NODE-RUN}} pnpm audit --prod

0 commit comments

Comments
 (0)