We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@param
from time to time someone forgets to add a type in the @param phpdoc, like e.g.
https://phpstan.org/r/0e573fd0-fbc5-44a7-9faa-286030f46ada
could/should we make phpstan error, that the type is missing?
The text was updated successfully, but these errors were encountered:
This is not a bug. We already have a type - DateTimeImmutable. Previous this was a parse error but is allowed after phpstan/phpdoc-parser#127 (discussion phpstan/phpdoc-parser#77).
DateTimeImmutable
You can write a custom rule easily because it's a separate AST node.
Sorry, something went wrong.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
Feature request
from time to time someone forgets to add a type in the
@param
phpdoc, like e.g.https://phpstan.org/r/0e573fd0-fbc5-44a7-9faa-286030f46ada
could/should we make phpstan error, that the type is missing?
The text was updated successfully, but these errors were encountered: