sebastianbergmann / phpcov

TextUI frontend for php-code-coverage
BSD 3-Clause "New" or "Revised" License
227 stars 58 forks source link

Field width too long #135

Open gimler opened 1 year ago

gimler commented 1 year ago
Q A
php-code-coverage version 9.2.29
PHP version 8.0.30
Driver PCOV
PCOV version (if used) 8.2.1
Installation Method Phar
Usage Method PHPUnit
PHPUnit version (if used) 9.5.26

PHP 8.0.30 (cli) (built: Aug 9 2023 06:56:50) ( NTS ) Copyright (c) The PHP Group Zend Engine v4.0.30, Copyright (c) Zend Technologies with Zend OPcache v8.0.30, Copyright (c), by Zend Technologies

The same setup works for the unit cov files ~700MB.

But with the functional coverage files ~2.3GB. I getting this error with php and also with phpdbg

Error

phpdbg -qrr phpcov-8.2.1.phar merge . --php functional.cov
phpcov 8.2.1 by Sebastian Bergmann.

Generating code coverage report in PHP format ... 
[PHP Fatal error:  Field width 2251746714 is too long in phar:///code/phpcov-8.2.1.phar/phpunit/php-code-coverage/src/Report/PHP.php on line 30]

similar issue https://github.com/sebastianbergmann/php-code-coverage/issues/971

can i increase a limit?