DDC-2957: [GH-935] Remove incorrect (outdated) validation for public fields in SchemaValidator #3680

Closed
opened 2026-01-22 14:25:14 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Feb 6, 2014).

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 da-eto-ya:

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

Message:

Doctrine 2.4 now supports proxy objects for entites with public properties. But SchemaValidator still checks that mapped properties in entities should be private or protected. Can we omit this validation?

Originally created by @doctrinebot on GitHub (Feb 6, 2014). 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 da-eto-ya: Url: https://github.com/doctrine/doctrine2/pull/935 Message: Doctrine 2.4 now supports proxy objects for entites with public properties. But SchemaValidator still checks that mapped properties in entities should be private or protected. Can we omit this validation?
admin added the Bug label 2026-01-22 14:25:14 +01:00
admin closed this issue 2026-01-22 14:25:14 +01:00
Author
Owner

@doctrinebot commented on GitHub (Feb 19, 2014):

Comment created by @doctrinebot:

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

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

@doctrinebot commented on GitHub (Feb 19, 2014):

Comment created by @ocramius:

5a2497d482

@doctrinebot commented on GitHub (Feb 19, 2014): Comment created by @ocramius: https://github.com/doctrine/doctrine2/commit/5a2497d4821cc445e0471e13c623334bcfec7528
Author
Owner

@doctrinebot commented on GitHub (Feb 19, 2014):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Feb 19, 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#3680