Skip to content

Conversation

@jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Jul 28, 2025

A warning is now emitted when a data provider provides data sets that have more values than the test method consumes using arguments

While not problematic for PHPUnit Polyfills 1.x - 3.x, this will fail tests for 4.x (without this change).

Ref: https://github.com/sebastianbergmann/phpunit/blob/12.2/ChangeLog-12.2.md#changed-1

> A warning is now emitted when a data provider provides data sets that have more values than the test method consumes using arguments

While not problematic for PHPUnit Polyfills 1.x - 3.x, this will fail tests for 4.x (without this change).

Ref: https://github.com/sebastianbergmann/phpunit/blob/12.2/ChangeLog-12.2.md#changed-1
@jrfnl jrfnl added this to the 1.x Next milestone Jul 28, 2025
@coveralls
Copy link

Coverage Status

coverage: 96.408%. remained the same
when pulling da773e5 on feature/update-xtestcasetest
into d77542d on 1.x.

@jrfnl jrfnl merged commit 4313f03 into 1.x Jul 28, 2025
170 of 171 checks passed
@jrfnl jrfnl deleted the feature/update-xtestcasetest branch July 28, 2025 20:50
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