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
The crash happens because - for a yet to be determined reason - phpDox tries to add an Implementor to a class. That can technically not happen as a class can never be "implemented" by another.
I'll look into that. Can you potentially provide me with a sample code to trigger this?
I am getting this error when I execute by the first time.
But if I execute again it works ok.
$ phpdox -f build/phpdox.xml
phpDox 0.8.1.1 - Copyright (C) 2010 - 2015 by Arne Blankerts
[07.08.2015 - 00:11:49] Using config file 'build/phpdox.xml'
[07.08.2015 - 00:11:49] Registered collector backend 'parser'
[07.08.2015 - 00:11:49] Registered enricher 'build'
[07.08.2015 - 00:11:49] Registered enricher 'git'
[07.08.2015 - 00:11:49] Registered enricher 'checkstyle'
[07.08.2015 - 00:11:49] Registered enricher 'phpcs'
[07.08.2015 - 00:11:49] Registered enricher 'pmd'
[07.08.2015 - 00:11:49] Registered enricher 'phpunit'
[07.08.2015 - 00:11:49] Registered enricher 'phploc'
[07.08.2015 - 00:11:49] Registered output engine 'xml'
[07.08.2015 - 00:11:49] Registered output engine 'html'
[07.08.2015 - 00:11:49] Starting to process project 'Box'
[07.08.2015 - 00:11:49] Starting collector
[07.08.2015 - 00:11:49] Scanning directory 'src' for files to process
.................................................. [50]
.................................................. [100]
................................ [132]
[07.08.2015 - 00:11:55] Saving results to directory '/home/leandroluvisotto/Box/build/phpdox/xml'
[07.08.2015 - 00:11:58] Resolving inheritance
.................................................. [50]
.................................................. [100]
.................
Oups... phpDox encountered a problem and has terminated!
It most likely means you've found a bug, so please file a report for this
and paste the following details and the stacktrace (if given) along:
PHP Version: 5.3.10-1ubuntu3.19 (Linux)
PHPDox Version: 0.8.1.1
ErrorException: E_ERROR
Location: phar:///usr/local/bin/phpdox/phpdox/collector/InheritanceResolver.php (Line 215)
Call to undefined method TheSeer\phpDox\Collector\ClassObject::addImplementor()
No stacktrace available
The text was updated successfully, but these errors were encountered: