CheckLocalizationCommand and PhpUnit command small fixes. Pull

request #174, #160.
This commit is contained in:
Dmitry Khomutov 2018-05-01 19:52:06 +07:00
commit bc63e2348e
No known key found for this signature in database
GPG key ID: EC19426474B37AAC
2 changed files with 29 additions and 22 deletions

View file

@ -179,9 +179,12 @@ class PhpUnitResultJunit extends PhpUnitResult
return $suites;
}
/**
* @param string $description
*/
private function internalProblem($description)
{
throw new \Exception($description);
throw new \RuntimeException($description);
// alternative to error throwing: append to $this->errors
}