Skip to content

Commit 39b2992

Browse files
committed
Added exception
1 parent 93b0b9a commit 39b2992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Cmf/Component/Testing/Phpunit/DatabaseTestListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function __construct($processBuilder = null)
2222
if (false !== $phpExecutable) {
2323
$this->processBuilder->setPrefix(array($phpExecutable, __DIR__.'/../../../../../../bin/console'));
2424
} else {
25-
// todo throw an exception, log error?
25+
throw new \RuntimeException('No PHP executable found on the current system.');
2626
}
2727
} else {
2828
$this->processBuilder = $processBuilder;

0 commit comments

Comments
 (0)