code conventions

This commit is contained in:
euromark 2012-02-23 14:38:02 +01:00 committed by mark_story
parent ed22c17eba
commit e94d307ee1
36 changed files with 63 additions and 65 deletions

View file

@ -115,9 +115,7 @@ class CakeTestSuiteCommand extends PHPUnit_TextUI_Command {
if ($exit) { if ($exit) {
if (isset($result) && $result->wasSuccessful()) { if (isset($result) && $result->wasSuccessful()) {
exit(PHPUnit_TextUI_TestRunner::SUCCESS_EXIT); exit(PHPUnit_TextUI_TestRunner::SUCCESS_EXIT);
} } elseif (!isset($result) || $result->errorCount() > 0) {
else if (!isset($result) || $result->errorCount() > 0) {
exit(PHPUnit_TextUI_TestRunner::EXCEPTION_EXIT); exit(PHPUnit_TextUI_TestRunner::EXCEPTION_EXIT);
} }