-
Notifications
You must be signed in to change notification settings - Fork 370
@throws is not parsed for PhanUnreferencedUseNormal #1555
Copy link
Copy link
Closed
Labels
enhancementThis improves the quality of Phan's analysis of a codebaseThis improves the quality of Phan's analysis of a codebase
Description
The snippet below will throw an PhanUnreferencedUseNormal exception, while it is being used in a valid function doc comment:
/**
* @throws AuthenticationException if the authentication fails
*/
protected function attemptAuthentication(Request $request)
{
try {
} catch (OidcException $e) {
throw new OidcAuthenticationException("Request validation failed", NULL, $e);
}
}src/Oidc/Security/Firewall/OidcListener.php:15 PhanUnreferencedUseNormal Possibly zero references to use statement for classlike/namespace AuthenticationException (\Symfony\Component\Security\Core\Exception\AuthenticationException)
Is probably related to #90.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementThis improves the quality of Phan's analysis of a codebaseThis improves the quality of Phan's analysis of a codebase