-
Notifications
You must be signed in to change notification settings - Fork 650
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
Non-existent arguments should probably give an error #3166
Labels
Comments
I found these snippets: https://psalm.dev/r/ca86c581f6<?php
/**
* @param string $x
* @psalm-param string $y
*/
function a(): void {}
|
I've always thought of this as more of a code style issue – if someone created a PR, and made it something that only appeared with |
weirdan
added a commit
to weirdan/psalm
that referenced
this issue
Feb 16, 2023
weirdan
added a commit
to weirdan/psalm
that referenced
this issue
Feb 16, 2023
Original snippet now reports a couple of |
I found these snippets: https://psalm.dev/r/ca86c581f6<?php
/**
* @param string $x
* @psalm-param string $y
*/
function a(): void {}
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Over the time I find a lot of useless
@param
phpdocs in my project. They are for arguments that no longer exist. It would be nice if psalm could point them out.https://psalm.dev/r/ca86c581f6
The text was updated successfully, but these errors were encountered: