Commit 7779ac1
committed
[Intl] Remove incorrect condition in CurrencyDataGenerator::icuPairToDate
1 << 63 === PHP_INT_MIN we cannot have a lower int value
1 << 64 === 0 so the removing this value doesn't change anything
Fix psalm crash due to bug vimeo/psalm#11209
When doing 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#L20731 parent bbfcf84 commit 7779ac1
File tree
1 file changed
+0
-5
lines changed- src/Symfony/Component/Intl/Data/Generator
1 file changed
+0
-5
lines changedLines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | 239 | | |
245 | 240 | | |
246 | 241 | | |
| |||
0 commit comments