Skip to content

(Re-)enable attribute class polyfill related tests #74

@jrfnl

Description

@jrfnl

The Symfony PHP 8.2, 8.4 and 8.5 polyfills all contain attribute class polyfills.

At this moment, it is not possible to modularly enough ignore notices about these attribute classes. This is annoying for users, on the other hand, if we would ignore the current error codes, the user may need see PHPCompatibility notices about other attributes, which also carries a risk.

All in all, the attribute detection and handling in PHPCompatibility itself needs to be improved before we can start ignoring usage of these polyfilled attributes.

I've opened an issue upstream about this: PHPCompatibility/PHPCompatibility#1935
Once that issue has been addressed, the tests + rulesets in this package will need to be re-enabled/updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions