{"action":"closed","issue":{"url":"https://api.github.com/repos/sebastianbergmann/php-code-coverage/issues/352","labels_url":"https://api.github.com/repos/sebastianbergmann/php-code-coverage/issues/352/labels{/name}","comments_url":"https://api.github.com/repos/sebastianbergmann/php-code-coverage/issues/352/comments","events_url":"https://api.github.com/repos/sebastianbergmann/php-code-coverage/issues/352/events","html_url":"https://github.com/sebastianbergmann/php-code-coverage/issues/352","id":89519110,"number":352,"title":"PHP Warning:  Division by zero","user":{"login":"geramy92","id":2132554,"avatar_url":"https://avatars.githubusercontent.com/u/2132554?v=3","gravatar_id":"","url":"https://api.github.com/users/geramy92","html_url":"https://github.com/geramy92","followers_url":"https://api.github.com/users/geramy92/followers","following_url":"https://api.github.com/users/geramy92/following{/other_user}","gists_url":"https://api.github.com/users/geramy92/gists{/gist_id}","starred_url":"https://api.github.com/users/geramy92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geramy92/subscriptions","organizations_url":"https://api.github.com/users/geramy92/orgs","repos_url":"https://api.github.com/users/geramy92/repos","events_url":"https://api.github.com/users/geramy92/events{/privacy}","received_events_url":"https://api.github.com/users/geramy92/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-19T09:44:20Z","updated_at":"2015-06-19T11:45:40Z","closed_at":"2015-06-19T11:45:40Z","body":"Hello,\r\nafter 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):\r\n\r\n    [phpunit] PHPUnit 4.7.3 by Sebastian Bergmann and contributors.\r\n    [phpunit] \r\n    [phpunit] Runtime:\tPHP 5.6.9-0+deb8u1 with Xdebug 3.0.0-dev\r\n    [phpunit] Configuration:\t/var/lib/jenkins/workspace/UserSpeak/build/phpunit.xml\r\n    [phpunit] Warning:\tDeprecated configuration setting \"strict\" used\r\n    [phpunit] \r\n    [phpunit] .\r\n    [phpunit] \r\n    [phpunit] Time: 133 ms, Memory: 16.50Mb\r\n    [phpunit] \r\n    [phpunit] OK (1 test, 1 assertion)\r\n    [phpunit] \r\n    [phpunit] Generating code coverage report in Clover XML format ... done\r\n    [phpunit] \r\n    [phpunit] Generating Crap4J report XML file ... done\r\n    [phpunit] \r\n    [phpunit] Generating code coverage report in HTML format ... done\r\n    [phpunit] \r\n    [phpunit] Generating code coverage report in PHPUnit XML format ... done\r\n    [phpunit] PHP Warning:  Division by zero in phar:///usr/local/bin/phpunit/php-code-coverage/CodeCoverage/Report/Crap4j.php on line 103\r\n    [phpunit] PHP Stack trace:\r\n    [phpunit] PHP   1. {main}() /usr/local/bin/phpunit:0\r\n    [phpunit] PHP   2. PHPUnit_TextUI_Command::main() /usr/local/bin/phpunit:537\r\n    [phpunit] PHP   3. PHPUnit_TextUI_Command->run() phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.php:103\r\n    [phpunit] PHP   4. PHPUnit_TextUI_TestRunner->doRun() phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.php:151\r\n    [phpunit] PHP   5. PHP_CodeCoverage_Report_Crap4j->process() phar:///usr/local/bin/phpunit/phpunit/TextUI/TestRunner.php:460\r\n\r\nCan you fix it, or is something wrong with my installation?"}}