From e9f936c0bae14a5b6e8660b5b5f7cb46cdf2c5f4 Mon Sep 17 00:00:00 2001
From: Philipp Scheit
Date: Tue, 22 May 2012 14:25:54 +0300
Subject: [PATCH] don't call exit() in execute()
---
.../ORM/Tools/Console/Command/ValidateSchemaCommand.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Doctrine/ORM/Tools/Console/Command/ValidateSchemaCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/ValidateSchemaCommand.php
index 664d90609..436758909 100644
--- a/lib/Doctrine/ORM/Tools/Console/Command/ValidateSchemaCommand.php
+++ b/lib/Doctrine/ORM/Tools/Console/Command/ValidateSchemaCommand.php
@@ -84,6 +84,6 @@ EOT
$output->write('[Database] OK - The database schema is in sync with the mapping files.' . "\n");
}
- exit($exit);
+ return $exit;
}
}