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

Add support for PHP 8.4 #52

Merged
merged 1 commit into from
Nov 17, 2024
Merged

Conversation

acelaya
Copy link
Contributor

@acelaya acelaya commented Nov 17, 2024

Q A
Documentation no
Bugfix no
BC Break no
New Feature yes
RFC no
QA no

Description

This PR brings support for PHP 8.4 to this library.

@acelaya
Copy link
Contributor Author

acelaya commented Nov 17, 2024

The workflow is red in PHP 8.4 with lowest dependencies, due to some deprecation warnings that make tests fail.

The only way I have found to fix this is removing failOnDeprecation="true" from the PHPUnit configuration, which I have also noticed not all laminas projects set.

Do you think this is an acceptable approach? Otherwise I can continue poking with different dependency combinations to see if some pass with all PHP versions.

@samsonasik
Copy link
Member

@acelaya you may can try upgrade to latest phpunit "^10.5.38"

@acelaya
Copy link
Contributor Author

acelaya commented Nov 17, 2024

@acelaya you may can try upgrade to latest phpunit "^10.5.38"

Oh yeah, that works! I was almost sure I had tried that at one point 😅

@acelaya acelaya force-pushed the php-8.4-support branch 2 times, most recently from 29c98bb to 26a71e9 Compare November 17, 2024 09:50
@samsonasik samsonasik added this to the 1.17.0 milestone Nov 17, 2024
Signed-off-by: Alejandro Celaya <[email protected]>
@samsonasik samsonasik merged commit 63ef272 into laminas:1.17.x Nov 17, 2024
17 checks passed
@samsonasik
Copy link
Member

Thank you @acelaya

@acelaya acelaya deleted the php-8.4-support branch November 17, 2024 10:19
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.

2 participants