We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93b0b9a commit 39b2992Copy full SHA for 39b2992
src/Symfony/Cmf/Component/Testing/Phpunit/DatabaseTestListener.php
@@ -22,7 +22,7 @@ public function __construct($processBuilder = null)
22
if (false !== $phpExecutable) {
23
$this->processBuilder->setPrefix(array($phpExecutable, __DIR__.'/../../../../../../bin/console'));
24
} else {
25
- // todo throw an exception, log error?
+ throw new \RuntimeException('No PHP executable found on the current system.');
26
}
27
28
$this->processBuilder = $processBuilder;
0 commit comments