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

fix NumberFormatter::TYPE_CURRENCY being deprecated in PHP 8.3 #3894

Merged
merged 1 commit into from
Oct 20, 2023
Merged

fix NumberFormatter::TYPE_CURRENCY being deprecated in PHP 8.3 #3894

merged 1 commit into from
Oct 20, 2023

Conversation

mbolli
Copy link
Contributor

@mbolli mbolli commented Oct 20, 2023

It was never used anyway (by Twig and by PHP), so removing it should not have any side-effects.

@fabpot
Copy link
Contributor

fabpot commented Oct 20, 2023

Thank you @mbolli.

@fabpot fabpot merged commit e4780e9 into twigphp:3.x Oct 20, 2023
5 of 10 checks passed
@OrestisZag
Copy link

@fabpot Can you please tag this? PHP 8.3 will be released in 2 days. Thanks a lot! 😄

@mbolli mbolli deleted the fix-php83-deprecation branch November 29, 2023 20:04
javiereguiluz added a commit to EasyCorp/EasyAdminBundle that referenced this pull request Dec 28, 2023
…tant (javiereguiluz)

This PR was merged into the 4.x branch.

Discussion
----------

Remove the deprecated NumberFormatter::TYPE_CURRENCY constant

Fixes #6071.

I saw this from Twig project --> twigphp/Twig#3894

Given that they just removed it because it's unused and given that we copied this code from that project, let's just remove it too.

Commits
-------

904f10e Remove the deprecated NumberFormatter::TYPE_CURRENCY constant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants