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] Wrong Senseless proxy function warning when the method contains additional PHP attributes #1964

Open
Crovitche-1623 opened this issue Nov 19, 2024 · 1 comment

Comments

@Crovitche-1623
Copy link

Subject Details
Plugin Php Inspections (EA Extended), latest version
Language level PHP 8.2

Current behaviour

I have the following warning however the method is not the same as it contains an additional PHP attribute. I would like the plugin to detect if it contains additional attribute and therefore not warn about anything.

image image

Expected behaviour

No warning at all if the method contains additional PHP attributes

Environment details

PhpStorm on Mac M3

Current workaround found

Use the @noinspection SenselessProxyMethodInspection comment in phpdocs but it's quite ugly

@Crovitche-1623 Crovitche-1623 changed the title Wrong Senseless proxy function warning when the method contains additional PHP attributes bug: Wrong Senseless proxy function warning when the method contains additional PHP attributes Nov 19, 2024
@Crovitche-1623 Crovitche-1623 changed the title bug: Wrong Senseless proxy function warning when the method contains additional PHP attributes [FP] Wrong Senseless proxy function warning when the method contains additional PHP attributes Nov 20, 2024
@Crovitche-1623
Copy link
Author

#1947 is related because in the past people would use annotations instead of attributes. It's the same problem using different annotations mecanism.

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