Skip to content
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

[PHP 8.4] Add ext-intl constant types #4238

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

alexandre-daubois
Copy link
Contributor

Part of #3872

Comment on lines +178 to +183
<row>
<entry>8.4.0</entry>
<entry>
The class constants are now typed.
</entry>
</row>
Copy link
Member

Choose a reason for hiding this comment

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

Were the class constant types already documented?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They were already documented but without the types. However, the classes stubs are already up to date so everything's fine on this side

Comment on lines 796 to 797
<constant>NumberFormatter::PADDING_POSITION</constant>
<type>int</type> attribute.
Copy link
Member

Choose a reason for hiding this comment

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

This is incorrect

Copy link
Contributor Author

@alexandre-daubois alexandre-daubois Dec 4, 2024

Choose a reason for hiding this comment

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

I went a bit too far with the regex replacement 😄 It's fixed now

Comment on lines 705 to 706
<constant>NumberFormatter::ROUNDING_MODE</constant>
<type>int</type> attribute.
Copy link
Member

Choose a reason for hiding this comment

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

Ditto

Comment on lines 4022 to 4025
<term>
<constant>IntlChar::UNICODE_VERSION</constant>
<type>string</type>
</term>
Copy link
Member

Choose a reason for hiding this comment

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

Indent is wrong

@Girgias Girgias merged commit 1f68eec into php:master Dec 4, 2024
2 checks passed
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.

2 participants