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] intl update part 2 #4207

Merged
merged 1 commit into from
Dec 2, 2024
Merged

[PHP 8.4] intl update part 2 #4207

merged 1 commit into from
Dec 2, 2024

Conversation

devnexen
Copy link
Member

No description provided.

@devnexen devnexen added this to the PHP 8.4 milestone Nov 30, 2024
@devnexen devnexen requested a review from Girgias November 30, 2024 10:42
@devnexen
Copy link
Member Author

for #3872

<entry>8.4.0</entry>
<entry>
This had been deprecated in favor of the methods
<methodname>setDate</methodname> and <methodname>setDateTime</methodname>.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<methodname>setDate</methodname> and <methodname>setDateTime</methodname>.
<methodname>IntlCalendar::setDate</methodname> and
<methodname>IntlCalendar::setDateTime</methodname>.

Comment on lines 125 to 126
This had been deprecated in favor of the methods
<methodname>createFromDate</methodname> and <methodname>createFromDateTime</methodname>.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
This had been deprecated in favor of the methods
<methodname>createFromDate</methodname> and <methodname>createFromDateTime</methodname>.
This had been deprecated in favor of the methods
<methodname>IntlGregorianCalendar::createFromDate</methodname> and
<methodname>IntlGregorianCalendar::createFromDateTime</methodname>.

Comment on lines 111 to 113
&reftitle.changelog;
<para>
<informaltable>
Copy link
Member

Choose a reason for hiding this comment

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

Remove wrapping para tag

<constant>NumberFormatter::ROUND_AWAY_FROM_ZERO</constant>
</term>
<listitem>
<simpara><constant>ROUND_UP</constant> alias.</simpara>
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<simpara><constant>ROUND_UP</constant> alias.</simpara>
<simpara>
&Alias; <constant>NumberFormatter::ROUND_UP</constant>.
</simpara>

<constant>NumberFormatter::ROUND_TOWARDS_ZERO</constant>
</term>
<listitem>
<simpara><constant>ROUND_DOWN</constant> alias.</simpara>
Copy link
Member

Choose a reason for hiding this comment

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

Ditto

@Girgias Girgias merged commit d3ee29b into php:master Dec 2, 2024
2 checks passed
@@ -705,6 +726,15 @@
</listitem>
</varlistentry>

<varlistentry xml:id="numberformatter.constants.round-towards-zero">
<term>
<constant>NumberFormatter::ROUND_TOWARDS_ZERO</constant>
Copy link
Member

Choose a reason for hiding this comment

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

There is no ROUND_TOWARDS_ZERO constant: it is ROUND_TOWARD_ZERO in fact.

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.

3 participants