-
Notifications
You must be signed in to change notification settings - Fork 122
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
HTML report missing // odd phpdox version #209
Comments
Version 0.6.6 is really old. You should at least be using 0.7.0 or, probably better right now, even dev-master. There will be an 0.8.0. soon. Can you please verify if the problem you reported still exists in dev-master? Regarding the version reported: That is a known bug of the version resolving when installed via composer and will (probably) be fixed for 0.8.0. |
I gave it a quick run with 0.7.0 - the problem still exists there. next I did this: $ cd /home/zyanklee/Projekte
$ git clone [email protected]:theseer/phpdox.git
$ cd phpdox
$ composer install
$ cd ../project-1
$ ../phpdox/phpdox
phpDox 0.7.0-100-g0a4f331 - Copyright (C) 2010 - 2015 by Arne Blankerts
[20.03.2015 - 16:04:59] Using config file './phpdox.xml'
[20.03.2015 - 16:04:59] Registered collector backend 'parser'
[20.03.2015 - 16:04:59] Registered enricher 'build'
[20.03.2015 - 16:04:59] Registered enricher 'git'
[20.03.2015 - 16:04:59] Registered enricher 'checkstyle'
[20.03.2015 - 16:04:59] Registered enricher 'phpcs'
[20.03.2015 - 16:04:59] Registered enricher 'pmd'
[20.03.2015 - 16:04:59] Registered enricher 'phpunit'
[20.03.2015 - 16:04:59] Registered enricher 'phploc'
[20.03.2015 - 16:04:59] Registered output engine 'xml'
[20.03.2015 - 16:04:59] Registered output engine 'html'
[20.03.2015 - 16:04:59] Starting to process project 'project-1'
[20.03.2015 - 16:04:59] Configuration change detected - cleaning cache
[20.03.2015 - 16:04:59] Starting collector
[20.03.2015 - 16:04:59] Scanning directory '/home/zyanklee/Projekte/project-1/src' for files to process
.................................................. [50]
.................................................. [100]
.................................................. [150]
.................................................. [200]
.................................................. [250]
.................................................. [300]
.................................................. [350]
......... [359]
[20.03.2015 - 16:05:03] Saving results to directory '/home/zyanklee/Projekte/project-1/build/api/xml'
[20.03.2015 - 16:05:05] Resolving inheritance
.................................................. [50]
..........................
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.5.9-1ubuntu4.7 (Linux)
PHPDox Version: 0.7.0-100-g0a4f331
ErrorException: E_ERROR
Location: /home/zyanklee/Projekte/phpdox/src/collector/project/AbstractUnitObject.php (Line 346)
Call to a member function setAttribute() on a non-object
No stacktrace available |
ahh, and our phpdox.xml: <?xml version="1.0" encoding="utf-8" ?>
<phpdox xmlns="http://xml.phpdox.net/config">
<project name="project-1" source="${basedir}/src" workdir="${basedir}/build/api/xml">
<collector backend="parser"/>
<generator output="${basedir}/build/api">
<enrich base="${basedir}/build/logs">
<source type="build" />
<source type="git">
<history enabled="true" limit="15" />
</source>
<source type="checkstyle" />
<source type="pmd" />
<source type="phploc" />
<source type="phpunit">
<coverage path="" />
</source>
</enrich>
<build engine="html" output="html"/>
</generator>
</project>
</phpdox> |
While phpDox still crashes - which of course it shouldn't - the crash happens at a completely different locaiton and for a different reason. The new crash though is a duplicate of the reopened #190. |
If you still need support with your configuration, please drop me a mail. |
encountered an error while building our project with gitlab-ci. some oddities noticed:
which SHOULD read something like 0.6.6.* - at least thats what composer told us:
phpdox error:
The text was updated successfully, but these errors were encountered: