Skip to content

tree-wide: Remove stacktraces from tests testing throwing clones #18748

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

TimWolla
Copy link
Member

@TimWolla TimWolla commented Jun 3, 2025

This is in preparation for the possible future transformation of clone into a function call, but also meaningful on its own, since the purpose of the tests is not to test the stack trace generation, but rather that an exception was thrown. It also cleans up some unreachable code in the tests.


This change was spun out of #18747.

This is in preparation for the possible future transformation of `clone` into a
function call, but also meaningful on its own, since the purpose of the tests
is not to test the stack trace generation, but rather that an exception was
thrown. It also cleans up some unreachable code in the tests.
@TimWolla TimWolla merged commit 4c5a6b0 into php:master Jun 3, 2025
9 checks passed
@TimWolla TimWolla deleted the clone-error-stacktrace branch June 3, 2025 19:46
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.

5 participants