Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Intl] deprecate polyfills in favor of symfony/polyfill-intl-icu#38974

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?5.x
Bug fix?no
New feature?no
Deprecations?yes
TicketsFix#37758
LicenseMIT
Doc PR-

Followssymfony/polyfill#310
/cc@stof

derrabus reacted with rocket emoji
@nicolas-grekasnicolas-grekasforce-pushed theintl-no-polyfill branch 2 times, most recently from9c80039 to1421dcfCompareNovember 3, 2020 16:53
@nicolas-grekasnicolas-grekasforce-pushed theintl-no-polyfill branch 2 times, most recently from350de91 to2dad6d7CompareNovember 3, 2020 17:10
@nicolas-grekasnicolas-grekas changed the title[Intl] deprecate polyfill classes in favor of symfony/polyfill-intl-icu[Intl] deprecate polyfills in favor of symfony/polyfill-intl-icuNov 3, 2020
}

/**
* @requires extension intl
Copy link
Member

Choose a reason for hiding this comment

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

why ? the polyfill should be enough as they work in the en locale.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

that's the contracts, we don't want to add the polyfill to it.

Copy link
Member

Choose a reason for hiding this comment

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

then maybe change that to a check on the class existence (@requires class NumberFormatter) so that it accepts both the polyfill or the extension ?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

We already have this@requires in the very next test case.
And we don't care to make this testable with the polyfill - that wouldn't provide anything more AFAIK.

xabbuh added a commit to symfony/symfony-docs that referenced this pull requestApr 9, 2021
This PR was squashed before being merged into the 5.3-dev branch.Discussion----------[Intl] Remove documentation about deprecated codeThese classes was deprecated insymfony/symfony#38974. They belong to `symfony/polyfill-intl-icu`.This PR willfix#14532Commits-------9a69cac [Intl] Remove documentation about deprecated code
@fabpotfabpot mentioned this pull requestApr 18, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof approved these changes

@derrabusderrabusderrabus approved these changes

@xabbuhxabbuhAwaiting requested review from xabbuh

@ycerutoycerutoAwaiting requested review from yceruto

+1 more reviewer

@noniagriconomienoniagriconomienoniagriconomie left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

[RFC] Split the Intl polyfill from the Intl CLDR features

5 participants

@nicolas-grekas@stof@derrabus@noniagriconomie@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp