Skip to content

Commit

Permalink
Eliminate local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jan 15, 2019
1 parent d197ab3 commit 3328623
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TextUI/TestRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,8 @@ public function doRun(Test $suite, array $arguments = [], bool $exit = true): Te
}

if (isset($arguments['xdebugFilterFile'], $filterConfiguration)) {
$filterScriptGenerator = new XdebugFilterScriptGenerator;
$script = $filterScriptGenerator->generate($filterConfiguration['whitelist']);
$script = (new XdebugFilterScriptGenerator)->generate($filterConfiguration['whitelist']);

\file_put_contents($arguments['xdebugFilterFile'], $script);

$this->write("\n");
Expand Down

0 comments on commit 3328623

Please sign in to comment.