Support for PHPUnit 11#47
Merged
jakzal merged 2 commits intojakzal:mainfrom May 20, 2024
aaajeetee:main
Merged
Conversation
Contributor
Author
|
@jakzal can you perhaps give an indication when this PR will be reviewed or merged? Would be very nice to use this package with the newest PHPUnit version 😁 |
Owner
|
Thank you @aaajeetee 🍺 |
Owner
|
Unfortunately, I had to roll back as the build failed on creating a working phar. Can you resubmit, please? The extension is stable, so if necessary it's perfectly fine to drop PHPUnit 10. PHPUnit 10 users can still use past releases, while we can move forward. |
Merged
Owner
|
Ok, I got it working and brought back your changes. Thank you for your contribution @aaajeetee! Released as v3.3.0. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I like this package very much and helps me setting up my test cases a lot better, so thanks for the work so far!
This package is bound to PHPUnit version 10 though, so I updated the composer dependency to also allow version 11.
I ran the tests and they succeeded (with PHPUnit version 11). I did also encounter some deprecated PHPUnit warnings, so I fixed them as well.
I am not sure if other code needs to be updated, but by the looks of it, and checking the PHPUnit documentation, I think the code is PHPUnit 11 compatible.
The deprecation warnings I got, that are now fixed: