mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #458] [MERGED] Use cascade=all if all cascade options set #8228
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/458
Author: @carlos-granados
Created: 9/29/2012
Status: ✅ Merged
Merged: 10/5/2012
Merged by: @beberlei
Base:
master← Head:master📝 Commits (4)
c97eff9Output cascade={"all"} if all cascade options setcd37ec4Set 'cascade' => 'all' if all cascade options set3b27216add empty lines around if block919cf85Remove trailing whitespace📊 Changes
2 files changed (+9 additions, -0 deletions)
View changed files
📝
lib/Doctrine/ORM/Tools/EntityGenerator.php(+4 -0)📝
lib/Doctrine/ORM/Tools/Export/Driver/PhpExporter.php(+5 -0)📄 Description
The YAML and XML metadata exporters output cascade=all if all five cascade options are set. The php and annotation exporter do not, they output cascade=list of all 5 cascades instead.
In order that all 4 exporters offer the same behavior, I updated the php and annotations exporters so that they export cascade=all
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.