Skip to content

ext/intl: Various refactoring #14360

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 4 commits into from
May 30, 2024
Merged

ext/intl: Various refactoring #14360

merged 4 commits into from
May 30, 2024

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented May 29, 2024

Best to review this PR commit by commit.

Girgias added 2 commits May 29, 2024 13:26
Always throw a Error exception as we cannot progress from here
err_msg = intl_error_get_message(BREAKITER_ERROR_P(bio_orig));
zend_throw_exception(NULL, ZSTR_VAL(err_msg), 0);
zend_string_free(err_msg);
zend_throw_error(NULL, "Failed to clone BreakIterator");
Copy link
Member

@devnexen devnexen May 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are the best parts of the refactoring :)

Girgias added 2 commits May 29, 2024 18:15
@Girgias Girgias force-pushed the intl-error-docref branch from 003088a to 665c7fc Compare May 29, 2024 17:15
Copy link
Member

@devnexen devnexen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looked at it enough, looks good would deserve a good entry in UPGRADING perhaps though.

@Girgias Girgias merged commit 33f1cf2 into php:master May 30, 2024
11 checks passed
@Girgias Girgias deleted the intl-error-docref branch May 30, 2024 11:51
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.

2 participants