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.
Overview
Poly-fill-me-up
Before
We have only the 7.3 polyfill
After
symfony/polyfill-php74 for using the PHP 7.4 functions,
symfony/polyfill-php80 for using the PHP 8.0 functions,
symfony/polyfill-php81 for using the PHP 8.1 functions,
symfony/polyfill-php82 for using the PHP 8.2 functions,
Technical Details
https://github.com/symfony/polyfill/blob/main/README.md
Comments
@totten @seamuslee001 @demeritcowboy I feel like the polyfill we have has been great in terms of reducing risk of breakage across versions & allowing us to use some nice upcoming functions - I vote we pull in the rest of the current php-versions
I also probably think we should pull in more
intl
ones since it would have helped KonaDave with his brickmoney this week - but left out of scope