[PR #833] [MERGED] Generate-Entities-Console-Command: Adding an 'avoid backup' flag #8772

Closed
opened 2026-01-22 16:01:39 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/833
Author: @ronanguilloux
Created: 10/31/2013
Status: Merged
Merged: 1/2/2014
Merged by: @beberlei

Base: masterHead: patch-console-entity-generator


📝 Commits (2)

  • 5c01e8e Generate-Entities-Console-Command: Adding an 'avoid creating backup files' flag
  • 48d078a no-backup instead of nobackup

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php (+5 -0)

📄 Description

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

$ /console orm:generate-entities src/ --no-backup;

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/833 **Author:** [@ronanguilloux](https://github.com/ronanguilloux) **Created:** 10/31/2013 **Status:** ✅ Merged **Merged:** 1/2/2014 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `patch-console-entity-generator` --- ### 📝 Commits (2) - [`5c01e8e`](https://github.com/doctrine/orm/commit/5c01e8e99ede01bae5028a64b23ed670a9d569c1) Generate-Entities-Console-Command: Adding an 'avoid creating backup files' flag - [`48d078a`](https://github.com/doctrine/orm/commit/48d078a85674e53c6aa78a458a9c953498825f8c) no-backup instead of nobackup ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php` (+5 -0) </details> ### 📄 Description Introducing a new "avoid creating backup files" flag in the existing command-line options list: ``` $ /console orm:generate-entities src/ --no-backup; ``` 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 16:01:39 +01:00
admin closed this issue 2026-01-22 16:01:40 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8772