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

Method @throws not working with throw $e; #7

Open
ofbeaton opened this issue Jul 27, 2015 · 1 comment
Open

Method @throws not working with throw $e; #7

ofbeaton opened this issue Jul 27, 2015 · 1 comment

Comments

@ofbeaton
Copy link
Owner

Squiz.Commenting.FunctionCommentThrowTag does not work for re-throws like throw $e. It should detect the caught exception type.

We should report this upstream and see if they will fix it, otherwise do it here.

@ofbeaton
Copy link
Owner Author

squizlabs/PHP_CodeSniffer#650

reported upstream.

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

1 participant