doctrine/DoctrineModule — pull request #400 by bgotink (2014-03-23 17:20:46+00:00)
Title: let zf2 console return exit status

Creating and returning a ConsoleModel with its error level set results in ZF2 exiting with the given exit code. Without this, `php public/index.php ` always exits with status 0, aka success.