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] Add metadata about currencies' validity dates#61556

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
nicolas-grekas merged 2 commits intosymfony:6.4fromnicolas-grekas:intl-currencies
Aug 29, 2025

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?6.4
Bug fix?no
New feature?no
Deprecations?no
Issues-
LicenseMIT

This backports intl data from#61431 to 6.4
This also syncs the ICU compilation scripts with 7.4.
This allows generating ICU data once on 6.4 and not have to care about running that again on higher branches.

@nicolas-grekasnicolas-grekas changed the title[Intl] Add metadata about currencies' validtity dates[Intl] Add metadata about currencies' validity datesAug 29, 2025
@nicolas-grekas
Copy link
MemberAuthor

Thank you@Crovitche-1623.

@nicolas-grekasnicolas-grekas merged commit8a54b6e intosymfony:6.4Aug 29, 2025
8 of 12 checks passed
@nicolas-grekasnicolas-grekas deleted the intl-currencies branchSeptember 1, 2025 09:57
Comment on lines +240 to +242
if ($unsigned64 >= (1 <<63)) {
$unsigned64 -= (1 <<64);
}
Copy link
Member

Choose a reason for hiding this comment

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

The psalmjob fails since this commit due to a bug:vimeo/psalm#11209

Crovitche-1623 reacted with confused emoji
Copy link
Member

Choose a reason for hiding this comment

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

This condition is not necessary and the fix is not working. It can be removed:#61681

Crovitche-1623 reacted with thumbs up emoji
nicolas-grekas added a commit that referenced this pull requestSep 8, 2025
…tor::icuPairToDate` (GromNaN)This PR was merged into the 6.4 branch.Discussion----------[Intl] Remove incorrect condition in `CurrencyDataGenerator::icuPairToDate`| Q             | A| ------------- | ---| Branch?       | 6.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Issues        |Fix#61556 (comment)| License       | MITRemove a useless condition that breaks psalm analysis.- `1 << 63 === PHP_INT_MIN` we cannot have a lower int value- `1 << 64 === 0` so the removing this value doesn't change anythingFix psalm crash due to bugvimeo/psalm#11209When `PHP_INT_MIN - 1`, the value is converted to a float that breaks the type system of psalmhttps://github.com/vimeo/psalm/blob/279f3eab037923d3f9d3ea3de1a16b425653e30c/src/Psalm/Internal/Type/SimpleAssertionReconciler.php#L2073Dealing with timestamp `>= (1 << 62)/1000` will be necessary when we read [year 146140482](https://3v4l.org/AAKNt).Commits-------7779ac1 [Intl] Remove incorrect condition in CurrencyDataGenerator::icuPairToDate
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@GromNaNGromNaNGromNaN left review comments

Assignees

No one assigned

Projects

None yet

Milestone

6.4

Development

Successfully merging this pull request may close these issues.

4 participants

@nicolas-grekas@GromNaN@carsonbot@Crovitche-1623

[8]ページ先頭

©2009-2025 Movatter.jp