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

Please consider documenting inspection 'You probably dont want to inject a "CLASS" here' #2387

Open
jgxvx opened this issue Jul 9, 2024 · 1 comment

Comments

@jgxvx
Copy link

jgxvx commented Jul 9, 2024

It is not comprehensible why this inspection is triggered for certain arguments. It sporadically shows up when passing Doctrine entities to constructors of other classes.

The inspection is mentioned on the plugin homepage, but no further explanation is given. I am unable to find the inspection inside PhpStorm under Settings -> Editor -> Inspections.

Screenshot from 2024-07-09 15-56-56

@brysn
Copy link

brysn commented Jul 19, 2024

+1 Is there a way to turn these inspections off? It's flagging things that don't need to be flagged.

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

2 participants