DDC-3502: [GH-1256] DDC-3493 - fixed EntityGenerator parsing for php 5.5 "::class" syntax #4314

Open
opened 2026-01-22 14:39:17 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Jan 15, 2015).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user @doctrinebot:

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

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

Message:

I did not check for $i > 0 because at least a php opening tag is needed for the src to be valid PHP, so the class tag can never be at index 0. Please let me know if you think I should add that check.

Originally created by @doctrinebot on GitHub (Jan 15, 2015). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of asprega: Url: https://github.com/doctrine/doctrine2/pull/1256 Message: I did not check for $i > 0 because at least a php opening tag is needed for the src to be valid PHP, so the class tag can never be at index 0. Please let me know if you think I should add that check.
admin added the Bug label 2026-01-22 14:39:17 +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#4314