-
Notifications
You must be signed in to change notification settings - Fork 121
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
Count() bug #417
Comments
Same here: [23.05.2023 - 23:07:00] Using config file './phpdox.xml' Oups... phpDox encountered a problem and has terminated! It most likely means you've found a bug, so please file a report for this PHP Version: 7.4.3-4ubuntu2.18 (Linux) count(): Parameter must be an array or an object that implements Countable #0 phar:///usr/local/bin/phpdox/phpdox/shared/FileInfoCollection.php(67): count() |
Outdated version of phpDox used. This has been fixed since 2018. |
running locally on mac os 12.0.1 return this bug
phpDox 0.8.0 - Copyright (C) 2010 - 2021 by Arne Blankerts
[28.12.2021 - 20:10:40] Using config file './phpdox.xml'
[28.12.2021 - 20:10:40] Registered collector backend 'parser'
[28.12.2021 - 20:10:40] Registered enricher 'build'
[28.12.2021 - 20:10:40] Registered enricher 'git'
[28.12.2021 - 20:10:40] Registered enricher 'checkstyle'
[28.12.2021 - 20:10:40] Registered enricher 'phpcs'
[28.12.2021 - 20:10:40] Registered enricher 'pmd'
[28.12.2021 - 20:10:40] Registered enricher 'phpunit'
[28.12.2021 - 20:10:40] Registered enricher 'phploc'
[28.12.2021 - 20:10:40] Registered output engine 'xml'
[28.12.2021 - 20:10:40] 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.3.29 (Darwin)
PHPDox Version: 0.8.0
ErrorException: E_WARNING
Location: phar:///Users/matti/Dropbox/Programming/subtitler2.1/git/phpdox-0.8.0.phar/phpdox/shared/FileInfoCollection.php (Line 67)
count(): Parameter must be an array or an object that implements Countable
#0 phar:///Users/matti/Dropbox/Programming/subtitler2.1/git/phpdox-0.8.0.phar/phpdox/shared/FileInfoCollection.php(67): count()
#1 phar:///Users/matti/Dropbox/Programming/subtitler2.1/git/phpdox-0.8.0.phar/phpdox/shared/FileInfoCollection.php(53): TheSeer\phpDox\FileInfoCollection->count()
#2 phar:///Users/matti/Dropbox/Programming/subtitler2.1/git/phpdox-0.8.0.phar/phpdox/bootstrap/Bootstrap.php(56): TheSeer\phpDox\FileInfoCollection->valid()
#3 phar:///Users/matti/Dropbox/Programming/subtitler2.1/git/phpdox-0.8.0.phar/phpdox/CLI.php(129): TheSeer\phpDox\Bootstrap->load()
#4 /Users/matti/Dropbox/Programming/subtitler2.1/git/phpdox-0.8.0.phar(449): TheSeer\phpDox\CLI->run()
The text was updated successfully, but these errors were encountered: