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?
to your account
Version: 2.4.14 - 2.5.1
Starting with Composer 1.7.0, the source and dist attributes of a package are no longer added to the composer.lock file for metapackages. See composer/composer#7501 Therefore the info panel errors if you have a metapackage in your composer.lock such as https://github.com/Roave/SecurityAdvisories. Also see #287 for an older, related issue.
composer self-update to update to composer 1.7.0 and require a metapackage such as composer require --dev roave/security-advisories:dev-master. View the info panel where you should see an error.
composer require --dev roave/security-advisories:dev-master
No error in the info panel, show installed composer packages.
Don't assume $package->source and $package->dist are set at
The text was updated successfully, but these errors were encountered:
info.panel: composer 1.7.0 lock files as no longer dist and source at…
…tributes [Closes #311]
Thanks, @dg! That is a better solution than I was thinking of.
Sorry, something went wrong.
You're welcome :)
Encountered this as well and really impressed by the quality of the issue report of @tflight !
@dg are you considering tagging a new release with this fix?
No branches or pull requests