Skip to content
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

resolve $baseDir in ambigious class resolution error #8651

Closed
wants to merge 3 commits into from

Conversation

clxmstaab
Copy link
Contributor

@clxmstaab clxmstaab commented Feb 25, 2020

closes #8650

before this change

Warning: Ambiguous class resolution, "Composer\Util\Zip",
 was found in both "$baseDir . '/src/Composer/Util/Zip.php" and "C:/dvl/Zend/DefaultWorkspace13/composer/src2/Composer/Util/Zip.php", the first will be used.

after this change

Warning: Ambiguous class resolution, "Composer\Util\Zip",
 was found in both "C:/dvl/Zend/DefaultWorkspace13/composer/src/Composer/Util/Zip.php" and "C:/dvl/Zend/DefaultWorkspace13/composer/src2/Composer/Util/Zip.php", the first will be used.

$baseDir is getting resolved within the paths of the error message.

@clxmstaab clxmstaab changed the title resolve $baseDir in ambigious class resolution error resolve $baseDir in ambigious class resolution error Feb 25, 2020
@Seldaek
Copy link
Member

Seldaek commented Feb 28, 2020

Probably makes more sense to do this in one go with #8652 to avoid conflicts, so closing here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Ambiguous class resolution" message contains "$baseDir" variable
2 participants