-
Notifications
You must be signed in to change notification settings - Fork 246
Add support for phpdocumentor/reflection-docblock v6
#660
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
base: master
Are you sure you want to change the base?
Changes from 5 commits
0a37c84
a74605e
dbdb392
ccb849d
c816336
b895bf6
83bd6c2
4ae6d31
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,7 @@ | |
|
|
||
| use phpDocumentor\Reflection\DocBlock\Tags\Method; | ||
| use phpDocumentor\Reflection\DocBlockFactory; | ||
| use phpDocumentor\Reflection\Exception\CannotCreateTag; | ||
| use phpDocumentor\Reflection\Types\ContextFactory; | ||
|
|
||
| /** | ||
|
|
@@ -50,6 +51,11 @@ public function getTagList(\ReflectionClass $reflectionClass) | |
| return $methods; | ||
| } catch (\InvalidArgumentException $e) { | ||
| return array(); | ||
| } catch (CannotCreateTag $e) { | ||
| // In version 6.0, all deprecated methods have been removed from "ReflectionDocblock". | ||
| // Now, exceptions are thrown when trying to create a tag with a type and in other | ||
| // situations that previously did not throw exceptions. | ||
|
||
| return array(); | ||
| } | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.