-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
composer warning: Ambiguous class resolution; file for autoloading is chosen at random #4
Comments
Allright, i've dropped the file and it's test. |
Can you create a new version including this fix? |
+1 |
2 similar comments
👍 |
👍 |
Any news regarding this matter? |
I've released a new tag |
On my composer.json file when I add |
I tested the issue you reported, but was unable to reproduce it.
Then |
Composer seems to iterate in filesystem order, so this class effectively gets chosen at random on each distinct installation, although the
php5
variant is the correct one in my environment.I don't think this makes a difference (the class isn't actually autoloaded, so if the wrong one was in the autoloader, nothing bad happens) unless client code accidentally triggers the autoload before SimpleTest gets a chance to do its own direct loading. Still, I would like the warning to be fixed.
In fact, I think the
php4
file can just be deleted.composer.json
and the bundled docs both say 1.1+ are PHP5-only, and I can't find anywhere that would load thephp4
variant.The text was updated successfully, but these errors were encountered: