Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Sep 7, 2019
1 parent cb87c26 commit f9869c4
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 @@ -45,7 +45,7 @@ class JUnit extends Printer implements TestListener
/**
* @var bool
*/
protected $reportUselessTests = false;
protected $reportRiskyTests = false;

/**
* @var bool
Expand Down Expand Up @@ -104,7 +104,7 @@ class JUnit extends Printer implements TestListener
*
* @throws \PHPUnit\Framework\Exception
*/
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 @@ -114,7 +114,7 @@ public function __construct($out = null, bool $reportUselessTests = false)

parent::__construct($out);

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

/**
Expand Down Expand Up @@ -175,7 +175,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 f9869c4

Please sign in to comment.