$ ./bin/phpcov.phar -vvv merge --html ./coverage/ -- ./.temp/coverage/
phpcov 4.0.0 by Sebastian Bergmann.
Generating code coverage report in HTML format ...
[InvalidArgumentException]
Template file could not be loaded.
Exception trace:
() at phar:///XXX/phpunit/bin/phpcov.phar/phpunit/php-text-template/src/Template.php:70
Text_Template->setFile() at phar:///XXX/phpunit/bin/phpcov.phar/phpunit/php-text-template/src/Template.php:46
Text_Template->__construct() at phar:///XXX/phpunit/bin/phpcov.phar/phpunit/php-code-coverage/src/Report/Html/Renderer/Directory.php:27
SebastianBergmann\CodeCoverage\Report\Html\Directory->render() at phar:///XXX/phpunit/bin/phpcov.phar/phpunit/php-code-coverage/src/Report/Html/Facade.php:97
SebastianBergmann\CodeCoverage\Report\Html\Facade->process() at phar:///XXX/phpunit/bin/phpcov.phar/src/BaseCommand.php:124
SebastianBergmann\PHPCOV\BaseCommand->handleReports() at phar:///XXX/phpunit/bin/phpcov.phar/src/MergeCommand.php:107
SebastianBergmann\PHPCOV\MergeCommand->execute() at phar:///XXX/phpunit/bin/phpcov.phar/symfony/console/Command/Command.php:262
Symfony\Component\Console\Command\Command->run() at phar:///XXX/phpunit/bin/phpcov.phar/symfony/console/Application.php:826
Symfony\Component\Console\Application->doRunCommand() at phar:///XXX/phpunit/bin/phpcov.phar/symfony/console/Application.php:189
Symfony\Component\Console\Application->doRun() at phar:///XXX/phpunit/bin/phpcov.phar/src/Application.php:57
SebastianBergmann\PHPCOV\Application->doRun() at phar:///XXX/phpunit/bin/phpcov.phar/symfony/console/Application.php:120
Symfony\Component\Console\Application->run() at /XXX/phpunit/bin/phpcov.phar:618
I've unsuccessfully tried running with absolute paths, and the following alternative syntaxes:
Hello,
Using the phpcov.phar downloaded from https://phar.phpunit.de/phpcov.phar, I got the following issue:
$ ./bin/phpcov.phar -vvv merge --html ./coverage/ -- ./.temp/coverage/ phpcov 4.0.0 by Sebastian Bergmann.
Generating code coverage report in HTML format ...
[InvalidArgumentException] Template file could not be loaded.
Exception trace: () at phar:///XXX/phpunit/bin/phpcov.phar/phpunit/php-text-template/src/Template.php:70 Text_Template->setFile() at phar:///XXX/phpunit/bin/phpcov.phar/phpunit/php-text-template/src/Template.php:46 Text_Template->__construct() at phar:///XXX/phpunit/bin/phpcov.phar/phpunit/php-code-coverage/src/Report/Html/Renderer/Directory.php:27 SebastianBergmann\CodeCoverage\Report\Html\Directory->render() at phar:///XXX/phpunit/bin/phpcov.phar/phpunit/php-code-coverage/src/Report/Html/Facade.php:97 SebastianBergmann\CodeCoverage\Report\Html\Facade->process() at phar:///XXX/phpunit/bin/phpcov.phar/src/BaseCommand.php:124 SebastianBergmann\PHPCOV\BaseCommand->handleReports() at phar:///XXX/phpunit/bin/phpcov.phar/src/MergeCommand.php:107 SebastianBergmann\PHPCOV\MergeCommand->execute() at phar:///XXX/phpunit/bin/phpcov.phar/symfony/console/Command/Command.php:262 Symfony\Component\Console\Command\Command->run() at phar:///XXX/phpunit/bin/phpcov.phar/symfony/console/Application.php:826 Symfony\Component\Console\Application->doRunCommand() at phar:///XXX/phpunit/bin/phpcov.phar/symfony/console/Application.php:189 Symfony\Component\Console\Application->doRun() at phar:///XXX/phpunit/bin/phpcov.phar/src/Application.php:57 SebastianBergmann\PHPCOV\Application->doRun() at phar:///XXX/phpunit/bin/phpcov.phar/symfony/console/Application.php:120 Symfony\Component\Console\Application->run() at /XXX/phpunit/bin/phpcov.phar:618
I've unsuccessfully tried running with absolute paths, and the following alternative syntaxes:
$ ./bin/phpcov.phar -vvv merge --html=./coverage/ -- ./.temp/coverage/ $ ./bin/phpcov.phar -vvv merge --html=./coverage/ ./.temp/coverage/
Environment: $ php -v PHP 7.1.3 (cli) (built: Apr 11 2017 13:08:01) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies with Xdebug v2.5.1, Copyright (c) 2002-2017, by Derick Rethans with Zend OPcache v7.1.3, Copyright (c) 1999-2017, by Zend Technologies