Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Feb 11, 2024

. Calling intlgregcal_create_instance() as well as calling
IntlGregorianCalendar::__construct() with more than 2 arguments is
deprecated. Use either IntlGregorianCalendar::createFromDate() or
IntlGregorianCalendar::createFromDateTime() instead.

Refs:

Related to #1589

…eate_instance() (RFC)

>   . Calling intlgregcal_create_instance() as well as calling
>     IntlGregorianCalendar::__construct() with more than 2 arguments is
>     deprecated. Use either IntlGregorianCalendar::createFromDate() or
>     IntlGregorianCalendar::createFromDateTime() instead.

Refs:
* https://wiki.php.net/rfc/deprecate_functions_with_overloaded_signatures#intlgregoriancalendarconstruct
* php/php-src 12728
* php/php-src@811245d
* https://www.php.net/manual/en/intlcalendar.set.php

Related to 1589
@jrfnl jrfnl added Type: enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels Feb 11, 2024
@jrfnl jrfnl added this to the 10.0.0 milestone Feb 11, 2024
@jrfnl jrfnl requested a review from wimg February 11, 2024 20:37
@wimg wimg enabled auto-merge February 11, 2024 20:39
@wimg wimg merged commit 0969ad4 into develop Feb 11, 2024
@wimg wimg deleted the php-8.4/removedfunctions-intlgregcal-deprecation branch February 11, 2024 20:49
@github-actions github-actions bot removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Feb 11, 2024
@jrfnl jrfnl added the PHP: 8.4 label Nov 4, 2025
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.

3 participants