Skip to content

test(rector): preserve parent assertion calls - #1045

Merged
ben-challis merged 1 commit into
codex/fix-test-metadata-nonfinite-diagnosticsfrom
codex/test-rector-parent-assertion-call
Jul 30, 2026
Merged

test(rector): preserve parent assertion calls#1045
ben-challis merged 1 commit into
codex/fix-test-metadata-nonfinite-diagnosticsfrom
codex/test-rector-parent-assertion-call

Conversation

@ben-challis

Copy link
Copy Markdown
Owner

Pins the safe migration boundary for PHPUnit classes that make assertions through parent calls. The Rector rule MUST leave the class untouched because only direct parent lifecycle-hook calls are safe to remove with the TestCase parent.

@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@ben-challis
ben-challis merged commit eb3bb48 into codex/fix-test-metadata-nonfinite-diagnostics Jul 30, 2026
16 checks passed
@ben-challis
ben-challis deleted the codex/test-rector-parent-assertion-call branch July 30, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant