-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to PHP 8.3 and PHPUnit 10 #100
Conversation
Hello. Thanks for opening a PR on Exercism 🙂 We ask that all changes to Exercism are discussed on our Community Forum before being opened on GitHub. To enforce this, we automatically close all PRs that are submitted. That doesn't mean your PR is rejected but that we want the initial discussion about it to happen on our forum where a wide range of key contributors across the Exercism ecosystem can weigh in. You can use this link to copy this into a new topic on the forum. If we decide the PR is appropriate, we'll reopen it and continue with it, so please don't delete your local branch. If you're interested in learning more about this auto-responder, please read this blog post. Note: If this PR has been pre-approved, please link back to this PR on the forum thread and a maintainer or staff member will reopen it. |
@@ -1,4 +1,4 @@ | |||
FROM php:8.2.7-cli-alpine3.18 AS build | |||
FROM php:8.3.3-cli-alpine3.18 AS build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would even opt for using php:8.3-cli-alpine3.18
instead so that we would not need to maintain on ever minor PHP update. Used full version as it was like that already.
As we just found out: Use |
@mk-mxp can you reopen this PR? Or does someone else need to do it? |
I can re-open, as I just found out. But I do not have any idea of the inner workings or what might be issues with upgrading. |
Thanks. Will try to figure that out. Found that the ds php extension needed an update. |
It looks like there is a change in PHPUnit configuration needed to produce jUnit XML output in the temp directory. Or the output changed, so that there is more work for translating it to JSON for Exercism. |
Where did you see this? So I know what to look for. This was unknown to me. But I'm also a little on deep water here, as I don't know where and how the images are used exactly. |
I scanned through the logs of the checks in the box below. Do you have rights enough to read those? There is warnings about missing files:
And there is differences in JSON output like this for test
|
As far as I read it, the error handling of PHP Unit has changed, this chapter does not exist in previous versions of the documentation at least. https://docs.phpunit.de/en/10.5/error-handling.html I haven't figured out what the issue is yet. |
This is part of the Coordination for updating exercism PHP track to PHP 8.3 and PHPUnit 10 exercism/php#652