Add PHP 8.3 #15
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: friendica/friendica-docker-ci#15
Loading…
Reference in a new issue
No description provided.
Delete branch "toddy/friendica-docker-ci:stable"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
you might want to add PHP 8.3 for testing.
Regards,
Tobias
@ -0,0 +11,4 @@
DEBIAN_FRONTEND=noninteractive apt-get install -q -y php8.3-gd git curl openssl \
php8.3-cli php8.3-curl php8.3-mysql wget make \
php8.3-redis php8.3-intl php8.3-memcached php8.3-memcache \
php8.3-apcu php8.3-xdebug php8.3-xml php8.3-zip php8.3-dev php8.3-mbstring; \
Why do we install the XDebug extension only to disable it later?
Great question. 🙂
I've just copied the files from PHP 8.2 and adapted them for PHP 8.3, so this slipped through. However, from a quick look at the other Dockerfiles, this is done in every one of them from PHP 7.3 up to PHP 8.2.
If there's no reason to enable the XDebug module, we could remove it from all Dockerfiles. I'm leaving that decision to someone who knows better about the Docker setup for Friendica.
Paging @nupplaPhil for the general setup.
I think I have an idea. In the file .woodpecker/.phpunit.yml, the xdebug module is enabled again if the PHP version equals 7.4.
I guess that is to upload the code coverage only once and not after every other test with different PHP versions pass.
But it would in theory suffice to enable xdebug only in the PHP 7.4 image. However, you'd need to recreate the image if you choose to use another PHP version for uploading the code coverage.
Thank you for the suggestion, however I'm not able to personally act on it. I hope it's useful for @nupplaPhil though.
@toddy is right with his suggestion :) I added xdebug for the code coverage and for "convienence", I added it at every container. Still we don't "really" need it, but it doesnt't hurt since they are "just" CI images and not for production.
I'm merging this PR now to add the new image to our pipeline