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

[BUG] count(): Parameter must be an array or an object that implements Countable #315

Closed
renepardon opened this issue Nov 17, 2017 · 0 comments
Labels

Comments

@renepardon
Copy link

Within my ANT task I receive the following error:

phpdox:
   [phpdox] phpDox 0.10.1 - Copyright (C) 2010 - 2017 by Arne Blankerts and Contributors
   [phpdox] 
   [phpdox] [17.11.2017 - 10:58:05] Using config file '/Users/<user>/Projects/<projectpath>/phpdox.xml'
   [phpdox] [17.11.2017 - 10:58:05] Registered collector backend 'parser'
   [phpdox] [17.11.2017 - 10:58:05] Registered enricher 'build'
   [phpdox] [17.11.2017 - 10:58:05] Registered enricher 'git'
   [phpdox] [17.11.2017 - 10:58:05] Registered enricher 'checkstyle'
   [phpdox] [17.11.2017 - 10:58:05] Registered enricher 'phpcs'
   [phpdox] [17.11.2017 - 10:58:05] Registered enricher 'pmd'
   [phpdox] [17.11.2017 - 10:58:05] Registered enricher 'phpunit'
   [phpdox] [17.11.2017 - 10:58:05] Registered enricher 'phploc'
   [phpdox] [17.11.2017 - 10:58:05] Registered output engine 'xml'
   [phpdox] [17.11.2017 - 10:58:05] Registered output engine 'html'
   [phpdox] 
   [phpdox] 
   [phpdox] Oups... phpDox encountered a problem and has terminated!
   [phpdox] 
   [phpdox] It most likely means you've found a bug, so please file a report for this
   [phpdox] and paste the following details and the stacktrace (if given) along:
   [phpdox] 
   [phpdox] PHP Version: 7.2.0RC6 (Darwin)
   [phpdox] PHPDox Version: 0.10.1
   [phpdox] ErrorException: E_WARNING 
   [phpdox] Location: phar:///usr/local/bin/phpdox/phpdox/shared/FileInfoCollection.php (Line 67)
   [phpdox] 
   [phpdox] count(): Parameter must be an array or an object that implements Countable
   [phpdox] 
   [phpdox] #0 phar:///usr/local/bin/phpdox/phpdox/shared/FileInfoCollection.php(67): count()
   [phpdox] #1 phar:///usr/local/bin/phpdox/phpdox/shared/FileInfoCollection.php(53): TheSeer\phpDox\FileInfoCollection->count()
   [phpdox] #2 phar:///usr/local/bin/phpdox/phpdox/bootstrap/Bootstrap.php(56): TheSeer\phpDox\FileInfoCollection->valid()
   [phpdox] #3 phar:///usr/local/bin/phpdox/phpdox/CLI.php(130): TheSeer\phpDox\Bootstrap->load()
   [phpdox] #4 /usr/local/bin/phpdox(466): TheSeer\phpDox\CLI->run()
   [phpdox] 
   [phpdox] 
   [phpdox] 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants