Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constants/NewMagicClassConstant: bug fix #1683

Merged
merged 1 commit into from
Mar 31, 2024

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Feb 25, 2024

Follow up on #1500 which added a test for the use of ::class within an attribute.

At the time, this was set to be flagged. However, as attributes are interpreted as comments on PHP < 8.0, using ::class within an attribute is not actually problematic.

Fixed now.

Follow up on #1500 which added a test for the use of `::class` within an attribute.

At the time, this was set to be flagged. However, as attributes are interpreted as comments on PHP < 8.0, using `::class` within an attribute is not actually problematic.

Fixed now.
@jrfnl jrfnl added bug PR: quick merge PR only contains relatively simple changes PR: ready for review labels Feb 25, 2024
@jrfnl jrfnl added this to the 10.0.0 milestone Feb 25, 2024
@jrfnl jrfnl requested a review from wimg February 25, 2024 22:30
@wimg wimg merged commit 58b68df into develop Mar 31, 2024
46 checks passed
@wimg wimg deleted the feature/newmagicclassconstant-fix-false-positive branch March 31, 2024 23:52
@github-actions github-actions bot removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Mar 31, 2024
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.

2 participants