mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #354] [MERGED] ValidateSchemaCommand dont't call exit() in execute() #8071
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/354
Author: @pscheit
Created: 5/22/2012
Status: ✅ Merged
Merged: 5/22/2012
Merged by: @beberlei
Base:
master← Head:master📝 Commits (1)
e9f936cdon't call exit() in execute()📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/Tools/Console/Command/ValidateSchemaCommand.php(+1 -1)📄 Description
calling exit() in the command itself is not needed. Symfony Application calls exit() with the return exit code.
changing this into return makes the validateSchemaCommand usable in other commands as a sub-command
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.