Skip to content

XTestCaseTest: update for PHPUnit 12.2.0#260

Merged
jrfnl merged 1 commit into
1.xfrom
feature/update-xtestcasetest
Jul 28, 2025
Merged

XTestCaseTest: update for PHPUnit 12.2.0#260
jrfnl merged 1 commit into
1.xfrom
feature/update-xtestcasetest

Conversation

@jrfnl

@jrfnl jrfnl commented Jul 28, 2025

Copy link
Copy Markdown
Collaborator

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
Copy Markdown

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