Skip to content

Comments

Fix argument count of data providers#7076

Merged
derrabus merged 1 commit intodoctrine:3.10.xfrom
derrabus:improvement/data-providers
Aug 6, 2025
Merged

Fix argument count of data providers#7076
derrabus merged 1 commit intodoctrine:3.10.xfrom
derrabus:improvement/data-providers

Conversation

@derrabus
Copy link
Member

@derrabus derrabus commented Aug 6, 2025

Q A
Type improvement
Fixed issues Preparation for #7075

Summary

In PHPUnit 12, we get a warning if a data provider provides more arguments than a test method consumes. Let's tackle this issue on our lower branches already in order to keep the diff small.

@derrabus derrabus added this to the 3.10.2 milestone Aug 6, 2025
@derrabus derrabus mentioned this pull request Aug 6, 2025
@derrabus derrabus force-pushed the improvement/data-providers branch from 0b4f321 to b12b4e7 Compare August 6, 2025 16:58
@derrabus derrabus requested a review from morozov August 6, 2025 17:02
@derrabus derrabus merged commit 7090efb into doctrine:3.10.x Aug 6, 2025
60 checks passed
@derrabus derrabus deleted the improvement/data-providers branch August 6, 2025 17:47
derrabus added a commit to derrabus/dbal that referenced this pull request Aug 6, 2025
* 3.10.x:
  Fix argument count of data providers (doctrine#7076)
derrabus added a commit that referenced this pull request Aug 6, 2025
* 4.3.x:
  Fix argument count of data providers (#7076)
derrabus added a commit to derrabus/dbal that referenced this pull request Aug 6, 2025
* 4.4.x:
  Fix argument count of data providers (doctrine#7076)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants