Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
composer
/
class-map-generator
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
24
Star
206
Code
Issues
0
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Add ClassMap::getAmbiguousFolders to detect paths only differing in casing
- #49
#49
Merged
Seldaek
merged 14 commits into
composer:main
composer/class-map-generator:main
from
Seldaek:ambiguous-folder-detection
Seldaek/class-map-generator:ambiguous-folder-detection
Copy head branch name to clipboard
Sep 25, 2026
Conversation
Commits
14
(14)
Checks
Files changed
Merged
Add ClassMap::getAmbiguousFolders to detect paths only differing in casing
#49
Seldaek
merged 14 commits into
composer:main
composer/class-map-generator:main
from
Seldaek:ambiguous-folder-detection
Seldaek/class-map-generator:ambiguous-folder-detection
Copy head branch name to clipboard
Commits
Commits on Sep 25, 2026
Add method to classmap to detect ambiguous namespaces
PrinsFrank
authored and
Seldaek
committed
6ab3ea1
View commit details
Copy full SHA for 6ab3ea1
Browse repository at this point
Detect ambiguous folders by path instead of by namespace
Show description for c7f7675
Seldaek
and
claude
committed
c7f7675
View commit details
Copy full SHA for c7f7675
Browse repository at this point
Add failing tests for ambiguous folder detection
Show description for 40636e8
Seldaek
committed
40636e8
View commit details
Copy full SHA for 40636e8
Browse repository at this point
Anchor the default duplicates filter so it also matches relative paths
Show description for b027ed3
Seldaek
committed
b027ed3
View commit details
Copy full SHA for b027ed3
Browse repository at this point
Fold each path once instead of once per prefix
Show description for 36dde1e
Seldaek
committed
36dde1e
View commit details
Copy full SHA for 36dde1e
Browse repository at this point
Walk the paths in a sorted order when detecting ambiguous folders
Show description for 6bc9be2
Seldaek
committed
6bc9be2
View commit details
Copy full SHA for 6bc9be2
Browse repository at this point
Include the paths of ambiguous classes in ambiguous folder detection
Show description for dc1fc3d
Seldaek
committed
dc1fc3d
View commit details
Copy full SHA for dc1fc3d
Browse repository at this point
Report every casing difference instead of only the topmost one
Show description for e983044
Seldaek
committed
e983044
View commit details
Copy full SHA for e983044
Browse repository at this point
Ignore the casing of drive letters and stream wrapper schemes
Show description for dbe9cc4
Seldaek
committed
dbe9cc4
View commit details
Copy full SHA for dbe9cc4
Browse repository at this point
Apply the duplicates filter per set of paths instead of per path
Show description for cba32e9
Seldaek
committed
cba32e9
View commit details
Copy full SHA for cba32e9
Browse repository at this point
Share the duplicates filter validation between both ambiguity methods
Seldaek
committed
c6d6716
View commit details
Copy full SHA for c6d6716
Browse repository at this point
Split paths with explode when detecting ambiguous folders
Show description for 39b056a
Seldaek
committed
39b056a
View commit details
Copy full SHA for 39b056a
Browse repository at this point
Speed up ambiguous folder detection for the common case of finding nothing
Show description for cd49703
Seldaek
committed
cd49703
View commit details
Copy full SHA for cd49703
Browse repository at this point
Explain how the common prefix with the previous path is computed
Seldaek
committed
cc6f8f3
View commit details
Copy full SHA for cc6f8f3
Browse repository at this point
You can’t perform that action at this time.