-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Deprecation Notice when using composer 2.3.6 #47
Comments
This information is missing in the release notes: https://github.com/composer/composer/releases/tag/2.3.6 And it looks like Composer is not following semantic versioning here. 😞 |
They stopped doing so starting with composer v2.3.0 So actually, composer is becoming symfony. But what I can say is that Jordi is really careful with breaking changes and reports stuff to plugin repositories ahead of a release (usually). I've also already seen fixes from Jordi in plugin repositories and thus, its not just breaking stuff in a YOLO way. But still a little bit annoying. Anyways, I'd suggest to ignore the fact. Imho projects should try to get rid of the bridge and update to the latest laminas versions. We started adding the bridge as conflicts in the latest releases of many packages already and thus projects are already blocked from updating when the bridge is still required somewhere. Not sure if we should continue work on this library. The bridge was meant to provide a migration layer between zendframework and laminas. Projects already had 2 years to migrate tho. I'd rather mark this repository as abandoned while also archiving it instead of working on issues like this or fixing stuff like laminas/laminas-zendframework-bridge#94 |
This is the best option. |
Oh btw, maybe this issue is related to the dependency-plugin rather than to this project. Can you confirm this @wjonkerhulst? |
Also, most laminas libraries now explicitly conflict with the bridge-compatible versions of zendframework counterparts. |
@boesing This is the ouput. Anyway, I will look into removing the dependency on this and other obsolete packages. |
@boesing This library is still part of the API tools skeleton (https://github.com/laminas-api-tools/api-tools-skeleton/blob/1.8.x/composer.json) |
I think I have been able to trace the error back to the laminas/laminas-component-installer package. I have removed the packages one by one to see if the errors would disappear. The depreciation notice is not displayed anymore when removing the laminas/laminas-component-installer package from the project. |
Thanks for investigating that! I'll move this issue to the appropriate component. |
@wjonkerhulst v3 is out since yesterday. The deprecation message should be gone after updating to v3. |
Bug Report
Summary
When executing composer install the following deprecation notice is shown
Deprecation Notice: Not passing a repository manager when calling defaultRepos is deprecated since Composer 2.3.6, use defaultReposWithDefaultManager() instead if you cannot get a manager. in phar:///usr/bin/composer/src/Composer/Repository/RepositoryFactory.php:100
How to reproduce
composer install (with composer 2.3.6)
Expected behavior
No deprecation notice
The text was updated successfully, but these errors were encountered: