[PR #162] [MERGED] ProxyFactory creates proxy's parent structure if it doesn't exist #7794

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/162
Author: @ericclemmons
Created: 10/20/2011
Status: Merged
Merged: 1/28/2012
Merged by: @beberlei

Base: masterHead: patch-1


📝 Commits (5)

  • 92acd32 ProxyFactory creates proxy's parent structure if it doesn't exist
  • fde9d12 ProxyFactory checks presence of directory with is_dir instead of file_exists
  • 99c1383 If proxy directory doesn't exist & cannot be created via mkdir, a ProxyException is thrown
  • 48bf502 ProxyFactory always checks if directory is writable first
  • 5b64dbe Added error suppression to mkdir in ProxyFactory

📊 Changes

2 files changed (+14 additions, -0 deletions)

View changed files

📝 lib/Doctrine/ORM/Proxy/ProxyException.php (+4 -0)
📝 lib/Doctrine/ORM/Proxy/ProxyFactory.php (+10 -0)

📄 Description

Wheeee, nested proxies can be generated without hassle!


🔄 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/162 **Author:** [@ericclemmons](https://github.com/ericclemmons) **Created:** 10/20/2011 **Status:** ✅ Merged **Merged:** 1/28/2012 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (5) - [`92acd32`](https://github.com/doctrine/orm/commit/92acd32410af75934671a408e5e5af0b2c97f607) ProxyFactory creates proxy's parent structure if it doesn't exist - [`fde9d12`](https://github.com/doctrine/orm/commit/fde9d122ccf0fa9fbec1a8e6bccc0189f9beb033) ProxyFactory checks presence of directory with `is_dir` instead of `file_exists` - [`99c1383`](https://github.com/doctrine/orm/commit/99c1383ef566c6442191981e29e232724cc0cda4) If proxy directory doesn't exist & cannot be created via mkdir, a ProxyException is thrown - [`48bf502`](https://github.com/doctrine/orm/commit/48bf5022e4f67b0718f7b26ed00f89fec4d1cc17) ProxyFactory always checks if directory is writable first - [`5b64dbe`](https://github.com/doctrine/orm/commit/5b64dbe1955e643f61957a1937b9710877d67002) Added error suppression to mkdir in ProxyFactory ### 📊 Changes **2 files changed** (+14 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Proxy/ProxyException.php` (+4 -0) 📝 `lib/Doctrine/ORM/Proxy/ProxyFactory.php` (+10 -0) </details> ### 📄 Description Wheeee, nested proxies can be generated without hassle! --- <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:56:54 +01:00
admin closed this issue 2026-01-22 15:56: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#7794