-
Notifications
You must be signed in to change notification settings - Fork 265
PHPLIB-1709: Test with PHP 8.5 #1781
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
Conversation
3776dce
to
f9fa589
Compare
f9fa589
to
4fa2df4
Compare
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.
Pull Request Overview
This PR adds support for testing with PHP 8.5 by updating the CI configuration to include PHP 8.5 in the test matrix and enabling platform requirement ignoring for dependencies that may not yet support this version.
- Added PHP 8.5 to the test matrix in the GitHub Actions workflow
- Introduced a new input parameter to conditionally ignore platform requirements for PHP 8.5
- Updated the Composer installation step to skip platform requirements when testing with PHP 8.5
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
.github/workflows/tests.yml | Added PHP 8.5 to test matrix and enabled platform requirement ignoring |
.github/actions/setup/action.yml | Added ignore-platform-req input and updated composer options |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
uses: ramsey/composer-install@3.0.0 | ||
with: | ||
composer-options: "--no-suggest" | ||
composer-options: "--no-suggest ${{ inputs.ignore-platform-req == 'true' && '--ignore-platform-req=php+' || '' }}" |
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.
Do you need to keep this now that the driver version 2.1.2 supports PHP 8.5?
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.
This is needed because psalm does not support PHP 8.5 yet.
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.
LGTM. The PR description should be updated.
PHPLIB-1709
Adds tests for PHP 8.5 to the CI pipeline.