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

Parameter must be an array or an object that implements Countable #369

Closed WLANRouterKing closed 5 years ago

WLANRouterKing commented 5 years ago

PHP Version: 7.2.19-0ubuntu0.18.04.2 (Linux) PHPDox Version: 0.8.0 ErrorException: E_WARNING Location: phar:///usr/local/bin/phpdox/phpdox/shared/FileInfoCollection.php (Line 67)

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

0 phar:///usr/local/bin/phpdox/phpdox/shared/FileInfoCollection.php(67): count()

1 phar:///usr/local/bin/phpdox/phpdox/shared/FileInfoCollection.php(53): TheSeer\phpDox\FileInfoCollection->count()

2 phar:///usr/local/bin/phpdox/phpdox/bootstrap/Bootstrap.php(56): TheSeer\phpDox\FileInfoCollection->valid()

3 phar:///usr/local/bin/phpdox/phpdox/CLI.php(129): TheSeer\phpDox\Bootstrap->load()

4 /usr/local/bin/phpdox(449): TheSeer\phpDox\CLI->run()

theseer commented 5 years ago

Duplicate of already fixed #315.

Please upgrade, 0.8.0 is really old and outdated.