phpunit
phpunit copied to clipboard
Introduce UnorderedParameterSets and ConsecutiveParameterSets rules for improved invocation parameter matching in MockObject #6407
Introduce two new parameter matching rules for the MockObject framework:
- UnorderedParameterSets: validates parameters across multiple invocations without requiring a specific order.
- ConsecutiveParameterSets: validates parameters for consecutive method invocations in a defined sequence.
These rules extend the flexibility of argument verification and integrate with the existing Rule API and invocation matching logic.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 95.98%. Comparing base (ff7b7fb) to head (6e701f7).
:warning: Report is 16 commits behind head on main.
:white_check_mark: All tests successful. No failed tests found.
Additional details and impacted files
@@ Coverage Diff @@
## main #6416 +/- ##
============================================
+ Coverage 95.96% 95.98% +0.01%
- Complexity 7282 7307 +25
============================================
Files 789 792 +3
Lines 22395 22473 +78
============================================
+ Hits 21492 21570 +78
Misses 903 903
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.