Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,10 @@ composer require michaelpetri/phpunit-consecutive-arguments
```

See [Tests](tests/ConsecutiveArgumentsTest.php) for more examples

## PHPUnit version notes

- PHPUnit 10–12: [`withConsecutive()` was removed](https://github.com/sebastianbergmann/phpunit/issues/5063), so this library provides a drop-in replacement (see the [PHPUnit 9.6 deprecations note](https://github.com/sebastianbergmann/phpunit/blob/9.6/DEPRECATIONS.md)).
- PHPUnit 13+: PHPUnit ships a native alternative [`withParameterSetsInOrder()`](https://github.com/sebastianbergmann/phpunit-documentation-english/issues/405), announced in [PHPUnit 13.0](https://phpunit.de/announcements/phpunit-13.html).

If you only target PHPUnit 13 or newer, use the built-in methods. This package stays useful when you need one codebase that runs on both PHPUnit 10–12 and 13+.