You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
class A {}
class B {
function foo (?A a) {}
}
The text was updated successfully, but these errors were encountered:
@theseer I'm seeing this same output with v0.10.0 - am I missing something or is this a more specific edge case?
phpDox 0.10.0 ...
[exec] [01.07.2017 - 06:11:26] The following file(s) had errors during processing and were excluded:
[exec] [01.07.2017 - 06:11:26] - .../File.php (Object of class PhpParser\Node\NullableType could not be converted to string)
The class it refers to is abstract and the constructor has the following:
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: