[PR #8] [CLOSED] add overwriting magic constants __DIR__ and __FILE__ with their value #8

Closed
opened 2026-01-24 11:43:26 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/symfony/class-loader/pull/8
Author: @BI0R0B0T
Created: 2/9/2016
Status: Closed

Base: 2.8Head: 2.8


📝 Commits (1)

  • 1e5d5fc add overwriting magic constants DIR and FILE with their value in load method

📊 Changes

3 files changed (+77 additions, -1 deletions)

View changed files

📝 ClassCollectionLoader.php (+16 -1)
📝 Tests/ClassCollectionLoaderTest.php (+35 -0)
Tests/Fixtures/ClassesWithParents/H.php (+26 -0)

📄 Description

No description provided


🔄 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/symfony/class-loader/pull/8 **Author:** [@BI0R0B0T](https://github.com/BI0R0B0T) **Created:** 2/9/2016 **Status:** ❌ Closed **Base:** `2.8` ← **Head:** `2.8` --- ### 📝 Commits (1) - [`1e5d5fc`](https://github.com/symfony/class-loader/commit/1e5d5fc914ade0024e153673fcf0ffd39d8f28d5) add overwriting magic constants __DIR__ and __FILE__ with their value in load method ### 📊 Changes **3 files changed** (+77 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `ClassCollectionLoader.php` (+16 -1) 📝 `Tests/ClassCollectionLoaderTest.php` (+35 -0) ➕ `Tests/Fixtures/ClassesWithParents/H.php` (+26 -0) </details> ### 📄 Description _No description provided_ --- <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-24 11:43:26 +01:00
admin closed this issue 2026-01-24 11:43:26 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: symfony/class-loader#8