disable docblock_missing_param Report #2545
Replies: 5 comments 1 reply
-
|
No, it's not currently possible but it's on the imaginary TODO list 🙂
|
Beta Was this translation helpful? Give feedback.
-
|
Is this still not possible? This pops up everytime I have a function param typed as "array". Sure, I'd rather specify "array[int]", but we obviously can't, and I'd rather not add a docblock for every instance. I am a team of one, I don't need to worry about standards for other people. |
Beta Was this translation helpful? Give feedback.
-
|
yes you can now disable them: the codes are provided via. LSP... |
Beta Was this translation helpful? Give feedback.
-
|
Provided where? In my editor on the offending line I get something like My best punt from that is that if that's the info you're referring to, I'd have to guess that the relevant code is "method_is_missing_param", but adding this line:
to my If the LSP is providing a code elsewhere, I've no idea where - nothing useful in Thanks Dan, I appreciate your help. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you. (Which I see now you said, I'm not good at reading and implemented the keymap to test for myself before I got that far 😁) |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. Please tell me, is it possible to somehow disable specific diagnostic alerts? https://phpactor.readthedocs.io/en/master/reference/diagnostic.html
For example, through settings https://phpactor.readthedocs.io/en/master/reference/configuration.html.
I'm especially interested in "docblock_missing_param".
My IDE nvim
Beta Was this translation helpful? Give feedback.
All reactions