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

Emit issues when encountering uncaught throw #15

Closed
muglug opened this issue Dec 13, 2016 · 3 comments
Closed

Emit issues when encountering uncaught throw #15

muglug opened this issue Dec 13, 2016 · 3 comments

Comments

@muglug
Copy link
Collaborator

muglug commented Dec 13, 2016

Both when

  • calling a method that has @throws in its docblock and the callee doesn't also have a matching @throws
  • when a method throws an exception and doesn't have a @throws in the docblock.

cc @nickyr

@muglug
Copy link
Collaborator Author

muglug commented May 29, 2018

I don't think this is useful (but this could be made into a plugin)

@muglug muglug closed this as completed in e3ae1bf Jun 22, 2018
@jaydiablo
Copy link
Contributor

Just a heads up, the release notes for 2.0.5 (https://github.com/vimeo/psalm/releases/tag/2.0.5) state to use the config option checkThrowsDocblock="true" but it's actually checkForThrowsDocblock="true" (e3ae1bf#diff-52926e4f815aeddeeac38218c09784f5R43).

@muglug
Copy link
Collaborator Author

muglug commented Jun 26, 2018

Thanks, fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants