Skip to content

Remove LogicalNot::negate() and Constraint::failureDescriptionInContext() - #6951

Draft
sebastianbergmann wants to merge 1 commit into
mainfrom
issue-6686/remove-logical-not-negate
Draft

Remove LogicalNot::negate() and Constraint::failureDescriptionInContext()#6951
sebastianbergmann wants to merge 1 commit into
mainfrom
issue-6686/remove-logical-not-negate

Conversation

@sebastianbergmann

Copy link
Copy Markdown
Owner

Closes #6686.

@sebastianbergmann sebastianbergmann added this to the PHPUnit 14.0 milestone Sep 3, 2026
@sebastianbergmann sebastianbergmann self-assigned this Sep 3, 2026
@sebastianbergmann sebastianbergmann added type/backward-compatibility Something will be/is intentionally broken feature/assertion Issues related to assertions and expectations labels Sep 3, 2026
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

API Surface Changes

If any of the additions below are not intended as public API, mark them with @internal in the docblock.

Removed API Surface

Methods

@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.48%. Comparing base (41da9e9) to head (171c0d8).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #6951      +/-   ##
============================================
+ Coverage     99.46%   99.48%   +0.01%     
+ Complexity     9581     9569      -12     
============================================
  Files           922      922              
  Lines         29183    29117      -66     
============================================
- Hits          29027    28966      -61     
+ Misses          156      151       -5     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature/assertion Issues related to assertions and expectations type/backward-compatibility Something will be/is intentionally broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace LogicalNot::negate() with dedicated negation methods on Constraint

1 participant