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

[FP] Attribute triggers false "This closure can be declared as static" #1962

Open
tminich opened this issue Nov 6, 2024 · 0 comments
Open

Comments

@tminich
Copy link

tminich commented Nov 6, 2024

Subject Details
Plugin Php Inspections (EA Extended) 5.1.0
Language level PHP 8.3

Current behaviour

Using an attribute in front of a static closure triggers the inspection as if it wasn't declared static.
Screenshot 2024-11-06 152033

Expected behaviour

No warning shown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant