theseer / phpdox

Documentation generator for PHP Code using standard technology (SRC, DOCBLOCK, XML and XSLT)
http://phpdox.de
Other
600 stars 121 forks source link

Install phpdox 0.11.2 issue #345

Closed medbak closed 5 years ago

medbak commented 5 years ago

When trying to install phpdox via composer : "composer require theseer/phpdox", I got this error message:

Using version ^0.11.2 for theseer/phpdox ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

Installation failed, reverting ./composer.json to its original content.

Even, if I use "theseer/phpdox":"*" inside the composer, the installed phpdox version is '0.9.0'

and when i tried to run phpdox using this command "vendor/bin/phpdox", i got this message : phpDox 0.8.2-dev - Copyright (C) 2010 - 2018 by Arne Blankerts

[13.11.2018 - 08:07:01] Using config file './phpdox.xml' [13.11.2018 - 08:07:01] Registered collector backend 'parser' [13.11.2018 - 08:07:01] Registered enricher 'build' [13.11.2018 - 08:07:01] Registered enricher 'git' [13.11.2018 - 08:07:01] Registered enricher 'checkstyle' [13.11.2018 - 08:07:01] Registered enricher 'phpcs' [13.11.2018 - 08:07:01] Registered enricher 'pmd' [13.11.2018 - 08:07:01] Registered enricher 'phpunit' [13.11.2018 - 08:07:01] Registered enricher 'phploc' [13.11.2018 - 08:07:01] Registered output engine 'xml' [13.11.2018 - 08:07:01] Registered output engine 'html'

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: 7.2.10-0ubuntu0.18.04.1 (Linux) PHPDox Version: 0.8.2-dev ErrorException: E_WARNING Location: /home//Bureau/**/vendor/theseer/phpdox/src/shared/FileInfoCollection.php (Line 67)

count(): Parameter must be an array or an object that implements Countable

0 /home/*/Bureau/**/vendor/theseer/phpdox/src/shared/FileInfoCollection.php(67): count()

1 /home/*/Bureau/**/vendor/theseer/phpdox/src/shared/FileInfoCollection.php(53): TheSeer\phpDox\FileInfoCollection->count()

2 /home/*/Bureau/***/vendor/theseer/phpdox/src/bootstrap/Bootstrap.php(56): TheSeer\phpDox\FileInfoCollection->valid()

3 /home/**/Bureau/***/vendor/theseer/phpdox/src/CLI.php(130): TheSeer\phpDox\Bootstrap->load()

4 /home/**/Bureau/***/vendor/theseer/phpdox/phpdox(67): TheSeer\phpDox\CLI->run()

theseer commented 5 years ago

Duplicate of #328.

See https://github.com/theseer/phpdox/issues/328#issuecomment-372602708 for details.

medbak commented 5 years ago

Ok, I will see it. Thanks.