Skip to content
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

Install phpdox 0.11.2 issue #345

Closed
medbak opened this issue Nov 13, 2018 · 2 comments
Closed

Install phpdox 0.11.2 issue #345

medbak opened this issue Nov 13, 2018 · 2 comments

Comments

@medbak
Copy link

medbak commented Nov 13, 2018

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
- Conclusion: don't install sebastian/phpcpd 4.1.0
- Conclusion: don't install sebastian/phpcpd 4.0.0
- Installation request for theseer/phpdox ^0.11.2 -> satisfiable by theseer/phpdox[0.11.2].
- Installation request for sebastian/phpcpd ^4.0 -> satisfiable by sebastian/phpcpd[4.0.0, 4.1.0, 4.0.x-dev].
- theseer/phpdox 0.11.2 requires phpunit/php-timer ^1.0 -> satisfiable by phpunit/php-timer[1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.x-dev].
- Can only install one of: phpunit/php-timer[2.0.x-dev, 1.0.3].
- Can only install one of: phpunit/php-timer[2.0.x-dev, 1.0.4].
- Can only install one of: phpunit/php-timer[2.0.x-dev, 1.0.5].
- Can only install one of: phpunit/php-timer[2.0.x-dev, 1.0.6].
- Can only install one of: phpunit/php-timer[2.0.x-dev, 1.0.7].
- Can only install one of: phpunit/php-timer[2.0.x-dev, 1.0.8].
- Can only install one of: phpunit/php-timer[2.0.x-dev, 1.0.9].
- Can only install one of: phpunit/php-timer[2.0.x-dev, 1.0.x-dev].
- sebastian/phpcpd 4.0.x-dev requires phpunit/php-timer ^2.0 -> satisfiable by phpunit/php-timer[2.0.0, 2.0.x-dev].
- Conclusion: don't install phpunit/php-timer 2.0.0

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'

  • Installing theseer/fxsl (1.1.1): Loading from cache
  • Installing theseer/directoryscanner (1.3.2): Loading from cache
  • Installing theseer/phpdox (0.9.0): Loading from cache

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
Copy link
Owner

theseer commented Nov 16, 2018

Duplicate of #328.

See #328 (comment) for details.

@theseer theseer closed this as completed Nov 16, 2018
@medbak
Copy link
Author

medbak commented Nov 19, 2018

Ok, I will see it. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants