[Intl] Remove incorrect condition in CurrencyDataGenerator::icuPairToDate
#61681
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Remove a useless condition that breaks psalm analysis.
1 << 63 === PHP_INT_MINwe cannot have a lower int value1 << 64 === 0so the removing this value doesn't change anythingFix psalm crash due to bug vimeo/psalm#11209
When
PHP_INT_MIN - 1, the value is converted to a float that breaks the type system of psalm https://github.com/vimeo/psalm/blob/279f3eab037923d3f9d3ea3de1a16b425653e30c/src/Psalm/Internal/Type/SimpleAssertionReconciler.php#L2073Dealing with timestamp
>= (1 << 62)/1000will be necessary when we reach year 146140482.