mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
code conventions
This commit is contained in:
parent
ed22c17eba
commit
e94d307ee1
36 changed files with 63 additions and 65 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue