mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #935] [MERGED] Remove incorrect (outdated) validation for public fields in SchemaValidator #8923
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/935
Author: @da-eto
Created: 2/6/2014
Status: ✅ Merged
Merged: 2/19/2014
Merged by: @Ocramius
Base:
master← Head:remove_public_validation📝 Commits (1)
1f3290fRemove incorrect (outdated) validation for public fields in SchemaValidator📊 Changes
2 files changed (+0 additions, -20 deletions)
View changed files
📝
lib/Doctrine/ORM/Tools/SchemaValidator.php(+0 -14)📝
tests/Doctrine/Tests/ORM/Functional/SchemaValidatorTest.php(+0 -6)📄 Description
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?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.