Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Oct 22, 2025

I already annotated when I added these attribute related exclusions that they weren't targeted enough and ran the risk of blanket ignoring more than we should.

I've now decided to remove these as the excludes are too risky, meaning that end-users may end up missing legitimate PHP cross-version compatibility issues because of it.

This highlights that more needs to change in how attributes are detected and flagged in PHPCompatibility itself. Once that improvement is made, these tests should be re-enabled and more targeted excludes should be added.

Also see #74, which I have opened as a follow-up to this PR.

I already annotated when I added these attribute related exclusions that they weren't targeted enough and ran the risk of blanket ignoring more than we should.

I've now decided to remove these as the excludes are too risky, meaning that end-users may end up missing legitimate PHP cross-version compatibility issues because of it.

This highlights that more needs to change in how attributes are detected and flagged in PHPCompatibility itself. Once that improvement is made, these tests should be re-enabled and more targeted excludes should be added.

Also see 74, which I have opened as a follow-up to this PR.
@jrfnl jrfnl added this to the 2.0.0-alpha1 milestone Oct 22, 2025
@jrfnl jrfnl added the bug label Oct 22, 2025
@jrfnl jrfnl merged commit e64d0c0 into master Oct 22, 2025
6 checks passed
@jrfnl jrfnl deleted the feature/ruleset-prevent-ignoring-too-much branch October 22, 2025 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant