Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Oct 22, 2025

The Symfony project has released a polyfill library for PHP 8.4 and what with the release of PHPCompatibility 10.0.0-alpha1, features polyfilled by that library would now be flagged.

This adds a corresponding PHPCompatibility ruleset for this polyfill.

Includes integration test.

Note: while creating this polyfill ruleset, PHPCompatibility found two PHP cross-version compatibility bugs in the actual polyfills ;-) These have both been reported upstream.

Bug reports:

The Symfony project has released a [polyfill library for PHP 8.4](https://github.com/symfony/polyfill-php84) and what with the release of PHPCompatibility 10.0.0-alpha1, features polyfilled by that library would now be flagged.

This adds a corresponding PHPCompatibility ruleset for this polyfill.

Includes integration test.

Note: while creating this polyfill ruleset, PHPCompatibility found two PHP cross-version compatibility bugs in the actual polyfills ;-)
These have both been reported upstream.

Bug reports:
* symfony/polyfill 499#issuecomment-3430423298
* symfony/polyfill 551
@jrfnl jrfnl added this to the 2.0.0-alpha1 milestone Oct 22, 2025
@jrfnl jrfnl merged commit 49b99f7 into master Oct 22, 2025
11 checks passed
@jrfnl jrfnl deleted the feature/new-php84-polyfill-ruleset branch October 22, 2025 04:53
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