-
Notifications
You must be signed in to change notification settings - Fork 121
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
Support for PHP 7.1 nullable type #300
Comments
Fixed with 0.10.0 |
@theseer I'm seeing this same output with v0.10.0 - am I missing something or is this a more specific edge case?
The class it refers to is abstract and the constructor has the following:
|
Hmpf. Should be fixed with 0.10.1 |
PHP 7.1 introduced a nullable type ?Foo, for argument and return values, to designate a value which can be either fo the type Foo, either null.
PHP-Parser handles this token through the PhpParser\Node\NullableType class.
When I run phpdox on a codebase using this, I got this output (timestamps are from Ant output):
[phpdox] [25.12.2016 - 03:00:59] The following file(s) had errors during processing and were excluded:
[phpdox] [25.12.2016 - 03:00:59] - /app/notifications-center/app/Phabricator/ProjectsMap.php (Object of class PhpParser\Node\NullableType could not be
converted to string)
So, documentation generation works but excludes the class.
To reproduce this, a minimal test case could be:
The text was updated successfully, but these errors were encountered: