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 phpunit v10.x support #1692

Merged
merged 1 commit into from
Aug 4, 2023
Merged

Conversation

remi-san
Copy link
Contributor

@remi-san remi-san commented Aug 3, 2023

Allow to use phpunit v10 to run tests.

Main thing to change was to make the dataProvider functions static.

An abstract test class had to be renamed to xxxTestCase as the Test suffix for an abstract class triggered a warning.

The config file is not in v10 format, but is compatible with both v9 & v10.

I also had to revert a change in the composer.json file to be able to have an installable version (otherwise no symfony/http-client version could be resolved for php8.0)

@frankdejonge frankdejonge merged commit 504889d into thephpleague:3.x Aug 4, 2023
4 checks passed
@frankdejonge
Copy link
Member

Much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants