-
-
Notifications
You must be signed in to change notification settings - Fork 385
Closed
Description
Hello,
after my tests with jenkins i get always the error PHP Warning: Division by zero in phar:///usr/local/bin/phpunit/php-code-coverage/CodeCoverage/Report/Crap4j.php on line 103 (see logs below):
[phpunit] PHPUnit 4.7.3 by Sebastian Bergmann and contributors.
[phpunit]
[phpunit] Runtime: PHP 5.6.9-0+deb8u1 with Xdebug 3.0.0-dev
[phpunit] Configuration: /var/lib/jenkins/workspace/UserSpeak/build/phpunit.xml
[phpunit] Warning: Deprecated configuration setting "strict" used
[phpunit]
[phpunit] .
[phpunit]
[phpunit] Time: 133 ms, Memory: 16.50Mb
[phpunit]
[phpunit] OK (1 test, 1 assertion)
[phpunit]
[phpunit] Generating code coverage report in Clover XML format ... done
[phpunit]
[phpunit] Generating Crap4J report XML file ... done
[phpunit]
[phpunit] Generating code coverage report in HTML format ... done
[phpunit]
[phpunit] Generating code coverage report in PHPUnit XML format ... done
[phpunit] PHP Warning: Division by zero in phar:///usr/local/bin/phpunit/php-code-coverage/CodeCoverage/Report/Crap4j.php on line 103
[phpunit] PHP Stack trace:
[phpunit] PHP 1. {main}() /usr/local/bin/phpunit:0
[phpunit] PHP 2. PHPUnit_TextUI_Command::main() /usr/local/bin/phpunit:537
[phpunit] PHP 3. PHPUnit_TextUI_Command->run() phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.php:103
[phpunit] PHP 4. PHPUnit_TextUI_TestRunner->doRun() phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.php:151
[phpunit] PHP 5. PHP_CodeCoverage_Report_Crap4j->process() phar:///usr/local/bin/phpunit/phpunit/TextUI/TestRunner.php:460
Can you fix it, or is something wrong with my installation?
Metadata
Metadata
Assignees
Labels
No labels