Skip to content

Commit

Permalink
Rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jan 26, 2020
1 parent b6fcd82 commit e02ce5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/TextUI/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public function run(array $argv, bool $exit = true): int
unset($this->arguments['test'], $this->arguments['testFile']);

try {
$result = $runner->doRun($suite, $this->arguments, $exit);
$result = $runner->run($suite, $this->arguments, $exit);
} catch (Exception $e) {
print $e->getMessage() . \PHP_EOL;
}
Expand Down
2 changes: 1 addition & 1 deletion src/TextUI/TestRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function __construct(TestSuiteLoader $loader = null, CodeCoverageFilter $
* @throws \PHPUnit\Runner\Exception
* @throws Exception
*/
public function doRun(Test $suite, array $arguments = [], bool $exit = true): TestResult
public function run(Test $suite, array $arguments = [], bool $exit = true): TestResult
{
if (isset($arguments['configuration'])) {
$GLOBALS['__PHPUNIT_CONFIGURATION_FILE'] = $arguments['configuration'];
Expand Down

0 comments on commit e02ce5b

Please sign in to comment.