Skip to content

Commit

Permalink
Merge branch '8.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Sep 7, 2019
2 parents 544dcd7 + c7664d5 commit 77d2c9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Util/Log/JUnit.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ final class JUnit extends Printer implements TestListener
/**
* @var bool
*/
private $reportUselessTests = false;
private $reportRiskyTests = false;

/**
* @var \DOMElement[]
Expand Down Expand Up @@ -90,7 +90,7 @@ final class JUnit extends Printer implements TestListener
/**
* @param null|mixed $out
*/
public function __construct($out = null, bool $reportUselessTests = false)
public function __construct($out = null, bool $reportRiskyTests = false)
{
$this->document = new \DOMDocument('1.0', 'UTF-8');
$this->document->formatOutput = true;
Expand All @@ -100,7 +100,7 @@ public function __construct($out = null, bool $reportUselessTests = false)

parent::__construct($out);

$this->reportUselessTests = $reportUselessTests;
$this->reportRiskyTests = $reportRiskyTests;
}

/**
Expand Down Expand Up @@ -153,7 +153,7 @@ public function addIncompleteTest(Test $test, \Throwable $t, float $time): void
*/
public function addRiskyTest(Test $test, \Throwable $t, float $time): void
{
if (!$this->reportUselessTests || $this->currentTestCase === null) {
if (!$this->reportRiskyTests || $this->currentTestCase === null) {
return;
}

Expand Down

0 comments on commit 77d2c9b

Please sign in to comment.