Skip to content

Commit

Permalink
Update InitialConfigBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
sanmai committed Oct 26, 2020
1 parent 6019c2e commit 763d842
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ public function build(string $version): string
return $path;
}

private function buildPath(): string
{
return $this->tmpDir . '/phpunitConfiguration.initial.infection.xml';
}

private function addCoverageNodes(string $version, SafeDOMXPath $xPath): void
{
if (version_compare($version, '10', '>=')) {
Expand All @@ -133,11 +138,6 @@ private function addCoverageNodes(string $version, SafeDOMXPath $xPath): void
$this->configManipulator->addLegacyCoverageWhitelistNodesUnlessTheyExist($xPath, $this->srcDirs);
}

private function buildPath(): string
{
return $this->tmpDir . '/phpunitConfiguration.initial.infection.xml';
}

private function addRandomTestsOrderAttributesIfNotSet(string $version, SafeDOMXPath $xPath): void
{
if (version_compare($version, '7.2', '<')) {
Expand Down

0 comments on commit 763d842

Please sign in to comment.