Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer: fix the version retrieved for the PHP 7.2 polyfill & fix CI #50

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jan 16, 2025

Symfony dropped support for PHP < 7.2 in the Symfony polyfills 1.31 series. This means that the 1.31 version of the PHP 7.2 polyfill no longer contains any code/polyfills as the minimum supported PHP version has become PHP 72, so the maximum allowed version of the symfony/polyfill-php72 package - for our purposes (testing) - needs to be fixed to v 1.30. This is a similar change as was previously applied for the older polyfills via PR #21.

As for the Symfony polyfills for PHP 7.3 and higher: these now have a PHP 7.2 minimum supported PHP version, so CI needs to be adjusted to allow for PHP 7.2 syntaxes being used in those packages. It also means we need a separate build to safeguard PHP 7.1 compatibility at v 1.30 of the Polyfills (before the version drop of PHP < 7.2). This is a similar change as was previously applied after the Symfony PHP < 7.1 version drop via PR #24.

Symfony dropped support for PHP < 7.2 in the Symfony polyfills 1.31 series.
This means that the `1.31` version of the PHP 7.2 polyfill no longer contains any code/polyfills as the minimum supported PHP version has become PHP 72, so the maximum allowed version of the `symfony/polyfill-php72` package - for our purposes (testing) - needs to be fixed to v `1.30`.
This is a similar change as was previously applied for the older polyfills via PR 21.

As for the Symfony polyfills for PHP 7.3 and higher: these now have a PHP 7.2 minimum supported PHP version, so CI needs to be adjusted to allow for PHP 7.2 syntaxes being used in those packages.
It also means we need a separate build to safeguard PHP 7.1 compatibility at v 1.30 of the Polyfills (before the version drop of PHP < 7.2).
This is a similar change as was previously applied after the Symfony PHP < 7.1 version drop via PR 24.
@jrfnl jrfnl added this to the 1.2.2 milestone Jan 16, 2025
@jrfnl jrfnl merged commit 2539b84 into master Jan 16, 2025
9 of 11 checks passed
@jrfnl jrfnl deleted the feature/fix-ci branch January 16, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant