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

Mark all data providers in test suite as static #163

Merged

Conversation

aadmathijssen
Copy link
Contributor

Reasons:

  • consistency: some data providers were already static, now all of them are static
  • performance: the class does not need to be instantiated anymore to execute the data provider
  • future-proof: non-static data providers are deprecated in PHPUnit 10

Cherry-picked from PR #162.

Reasons:
- consistency: some data providers were already static, now all of them are static
- performance: the class does not need to be instantiated anymore to execute the data provider
- future-proof: non-static data providers are deprecated in PHPUnit 10
@aadmathijssen aadmathijssen changed the title Mark all data providers as static Mark all data providers in test suite as static Aug 21, 2024
@Seldaek Seldaek merged commit 9569a83 into composer:main Aug 21, 2024
15 checks passed
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