mirror of
https://github.com/symfony/class-loader.git
synced 2026-03-24 17:22:11 +01:00
[PR #7] [CLOSED] Duplicated paths after addPrefix #3
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/symfony/class-loader/pull/7
Author: @remicollet
Created: 6/29/2015
Status: ❌ Closed
Base:
2.7← Head:issue-dup-prefix📝 Commits (2)
6e14229avoid uneeded duplicate prefix10bf262also avoid duplicate in array📊 Changes
2 files changed (+32 additions, -6 deletions)
View changed files
📝
ClassLoader.php(+9 -5)📝
Tests/ClassLoaderTest.php(+23 -1)📄 Description
Having UniversalClassLoader deprecated raise various issues... and ClassLoader doesn't provide the same features... :(
This one avoid duplication of paths for a given prefix, so can improve perf is such case.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.