[PR #353] [MERGED] prevent the validator to stop with an "undefined array index"-error #8075

Closed
opened 2026-01-22 15:58:16 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/353
Author: @pscheit
Created: 5/21/2012
Status: Merged
Merged: 5/22/2012
Merged by: @beberlei

Base: masterHead: patch-1


📝 Commits (1)

  • f1571ae prevent the validator to stop with an "undefined array index"-error while validating a wrong inversedBy Attribute

📊 Changes

1 file changed (+12 additions, -10 deletions)

View changed files

📝 lib/Doctrine/ORM/Tools/SchemaValidator.php (+12 -10)

📄 Description

while validating a wrong inversedBy Attribute.

The validation-error is caught correctly in the block above. Just the warning / notice stops the validator when using stricter error handling


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/353 **Author:** [@pscheit](https://github.com/pscheit) **Created:** 5/21/2012 **Status:** ✅ Merged **Merged:** 5/22/2012 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`f1571ae`](https://github.com/doctrine/orm/commit/f1571aeac373bcbc17ec3ebd133e78bbc1232e30) prevent the validator to stop with an "undefined array index"-error while validating a wrong inversedBy Attribute ### 📊 Changes **1 file changed** (+12 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Tools/SchemaValidator.php` (+12 -10) </details> ### 📄 Description while validating a wrong inversedBy Attribute. The validation-error is caught correctly in the block above. Just the warning / notice stops the validator when using stricter error handling --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:58:16 +01:00
admin closed this issue 2026-01-22 15:58:16 +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#8075