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

Fix compatibility with PHPUnit 11 #493

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Nov 3, 2024

This PR fixes a couple of compatibility issues with PHPUnit 11:

  • Data provider methods must be static.
  • The mock builder does not have a setMethods() method anymore.
  • Abstract test classes must not use the suffix Test.

Note: The tests are still run with PHPUnit 8.5 and 9.6 though. The PR merely enables us to use PHPUnit 11 in the future.

@derrabus derrabus requested a review from xabbuh November 3, 2024 16:01
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.

1 participant