updated phpunit
This commit is contained in:
+1
-1
@@ -331,7 +331,7 @@ class PHP_CodeCoverage_Report_HTML_Renderer_File extends PHP_CodeCoverage_Report
|
||||
$popoverContent = '';
|
||||
$popoverTitle = '';
|
||||
|
||||
if (!isset($ignoredLines[$i]) && isset($coverageData[$i])) {
|
||||
if (!isset($ignoredLines[$i]) && array_key_exists($i, $coverageData)) {
|
||||
$numTests = count($coverageData[$i]);
|
||||
|
||||
if ($coverageData[$i] === NULL) {
|
||||
|
||||
@@ -135,7 +135,7 @@ abstract class PHP_CodeCoverage_Report_Node implements Countable
|
||||
public function getPath()
|
||||
{
|
||||
if ($this->path === NULL) {
|
||||
if ($this->parent === NULL) {
|
||||
if ($this->parent === NULL || $this->parent->getPath() == NULL) {
|
||||
$this->path = $this->name;
|
||||
} else {
|
||||
$this->path = $this->parent->getPath() . '/' . $this->name;
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
*
|
||||
* @category PHP
|
||||
* @package CodeCoverage
|
||||
@@ -56,7 +56,7 @@
|
||||
*/
|
||||
class PHP_CodeCoverage_Version
|
||||
{
|
||||
const VERSION = '1.2.15';
|
||||
const VERSION = '1.2.16';
|
||||
protected static $version;
|
||||
|
||||
/**
|
||||
@@ -72,7 +72,7 @@ class PHP_CodeCoverage_Version
|
||||
if (is_dir(dirname(dirname(__DIR__)) . '/.git')) {
|
||||
$dir = getcwd();
|
||||
chdir(__DIR__);
|
||||
$version = exec('git describe --tags');
|
||||
$version = @exec('git describe --tags');
|
||||
chdir($dir);
|
||||
|
||||
if ($version) {
|
||||
|
||||
Reference in New Issue
Block a user