DDC-2770: [GH-833] Generate-Entities-Console-Command: Adding an 'avoid backup' flag #3464

Closed
opened 2026-01-22 14:20:23 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Oct 31, 2013).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of ronanguilloux:

Url: https://github.com/doctrine/doctrine2/pull/833

Message:

Introducing a new "avoid creating backup files" flag in the existing command-line options list:

$ /console orm:generate-entities src/ --nobackup;

Scope: Allowing cli user to avoid the default backup file generation (new ~EntityName.php file every time),
which is default behavior for now.

= adding only 5 lines to lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php.

Originally created by @doctrinebot on GitHub (Oct 31, 2013). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of ronanguilloux: Url: https://github.com/doctrine/doctrine2/pull/833 Message: Introducing a new "avoid creating backup files" flag in the existing command-line options list: ``` $ /console orm:generate-entities src/ --nobackup; ``` Scope: Allowing cli user to avoid the default backup file generation (new `~EntityName.php` file every time), which is default behavior for now. = adding only 5 lines to lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php.
admin added the Improvement label 2026-01-22 14:20:23 +01:00
admin closed this issue 2026-01-22 14:20:23 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jan 2, 2014):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-833] was closed:
https://github.com/doctrine/doctrine2/pull/833

@doctrinebot commented on GitHub (Jan 2, 2014): Comment created by @doctrinebot: A related Github Pull-Request [GH-833] was closed: https://github.com/doctrine/doctrine2/pull/833
Author
Owner

@doctrinebot commented on GitHub (Jan 2, 2014):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Jan 2, 2014): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3464