Closed boesing closed 2 years ago
In v3.0.0, we remove the "lazy" initialisation of the plugin. This pointed out, that we polluted the RootPackage within the Composer instance by initialising the RootPackageRepository (which internally passes itself to the RootPackage).
RootPackage
Composer
RootPackageRepository
In https://github.com/composer/composer/commit/b195f383f2474cb0ec68bead4467079bfd136f60, composer also added clone in all commands so that the issue will be fixed for projects with v3.0.0 but we should still fix the pollution in the next patch release.
clone
Fixes #57
Description
In v3.0.0, we remove the "lazy" initialisation of the plugin. This pointed out, that we polluted the
RootPackage
within theComposer
instance by initialising theRootPackageRepository
(which internally passes itself to theRootPackage
).In https://github.com/composer/composer/commit/b195f383f2474cb0ec68bead4467079bfd136f60, composer also added
clone
in all commands so that the issue will be fixed for projects with v3.0.0 but we should still fix the pollution in the next patch release.Fixes #57