Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Oct 21, 2025

The Symfony project has released a polyfill library for PHP 8.1 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.

Fixes #34

The Symfony project has released a [polyfill library for PHP 8.1](https://github.com/symfony/polyfill-php81) 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.

Fixes 34
@jrfnl jrfnl added this to the 2.0.0-alpha1 milestone Oct 21, 2025
@jrfnl jrfnl merged commit 5b5d9b4 into master Oct 21, 2025
6 checks passed
@jrfnl jrfnl deleted the feature/new-php81-polyfill-ruleset branch October 21, 2025 23:08
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.

Request to Add polyfill-php81

1 participant