Skip to content
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 test suite to improve PHP 8.4+ support #261

Merged
merged 1 commit into from
May 22, 2024

Conversation

SimonFrings
Copy link
Member

This pull request updates hour test suite to improve support with the upcoming PHP 8.4 release. In particular, the new version breaks BC as it changes the stack trace, which we test for in some of our phpt files.

The PHP 8.4 version is currently still in development, hence I didn't add this to our test matrix to avoid any additional PHP 8.4 feature release breaking something. I explained more about this in #260. I can assure that I have tested this with PHP 8.4 and all tests run successfully with my suggested change.

Builds on top of #248, #258, #259, #260 and others

@SimonFrings SimonFrings added this to the v3.2.0 milestone May 22, 2024
@SimonFrings
Copy link
Member Author

To be honest, I'm nor quite sure if this is the best way to go about this. I looked for ways to test against all PHP versions in the same phpt file, but didn't really find anything. I've noticed that there are already some phpt files specifically testing against PHP 7 and PHP 8 in separate files, so I chose this solution for now. Happy about your input on this.

@SimonFrings
Copy link
Member Author

Seems like there's no need for additional files afterall, thanks @clue for taking a look at this with me 👍

Copy link
Member

@clue clue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SimonFrings Thanks for the update, changes LGTM now! :shipit:

@WyriHaximus WyriHaximus merged commit 93d0c05 into reactphp:3.x May 22, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants