[PR #6323] The Entity Generator can't generate annotation correctly #9942

Open
opened 2026-01-22 16:05:55 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/6323

State: closed
Merged: No


options should mapping into Entity annotation.

By the way, I don't like to use

'options={' . $this->exportTableOptions((array) $metadata->table['options']) . '}';

just use json_encode instead

Changes to be committed:
modified: lib/Doctrine/ORM/Tools/EntityGenerator.php

**Original Pull Request:** https://github.com/doctrine/orm/pull/6323 **State:** closed **Merged:** No --- …`options` should mapping into Entity annotation. By the way, I don't like to use ``` 'options={' . $this->exportTableOptions((array) $metadata->table['options']) . '}'; ``` just use json_encode instead Changes to be committed: modified: lib/Doctrine/ORM/Tools/EntityGenerator.php
admin added the pull-request label 2026-01-22 16:05:55 +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#9942