Skip to content

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Aug 4, 2025

PHP 8.0 introduced the T_ATTRIBUTE token, which wasn't accounted for yet in this ruleset.

Detection for T_ATTRIBUTE is already in PHPCompatibility 10.0.

As PHPCS polyfills the token, we should allow for it to be used in external PHPCS standards.

PHP 8.0 introduced the `T_ATTRIBUTE` token, which wasn't accounted for yet in this ruleset.

Detection for `T_ATTRIBUTE` is already in PHPCompatibility 10.0.

As PHPCS polyfills the token, we should allow for it to be used in external PHPCS standards.
@jrfnl jrfnl added this to the 1.2.0 milestone Aug 4, 2025
@jrfnl jrfnl merged commit f9e606e into main Aug 4, 2025
3 checks passed
@jrfnl jrfnl deleted the feature/ruleset-allow-for-php-80-t-attribute branch August 4, 2025 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant