Skip to content

Mark all data providers in test suite as static#163

Merged
Seldaek merged 1 commit intocomposer:mainfrom
aadmathijssen:feature/mark-data-providers-as-static
Aug 21, 2024
Merged

Mark all data providers in test suite as static#163
Seldaek merged 1 commit intocomposer:mainfrom
aadmathijssen:feature/mark-data-providers-as-static

Conversation

@aadmathijssen
Copy link
Copy Markdown
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
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