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

Fix licenses summary with missing license info #10536

Closed
wants to merge 65 commits into from

Conversation

gzumba
Copy link
Contributor

@gzumba gzumba commented Feb 15, 2022

Currently the LicensesCommand fails, when getting the summary (-f summary) and one of the packages is missing the license information.
This fixes the issue by simply using 'none' as the license, as is used in the text output already.

Seldaek and others added 30 commits January 1, 2022 14:54
Cleanup PHP 5.3 hacks and legacy TODOs
Deprecations & more php version cleanups
Seldaek and others added 26 commits January 5, 2022 16:59
Allow xdebug-handler 3.x, update deps
semver.mwl.be returns a permanent redirect to semver.madewithlove.com
Co-authored-by: Houssem ZITOUN <houssem.zitoun@ekino.com>
…10485)

To synchronize `abandoned` information with JSON APIs and the `composer.json` information of a package, we should return the following types: `bool|non-empty-string`.
This will either state if a package is abandoned and, if there is a replacement declared, what replacement package should be used instead.

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Fixes the issue of license summary command aborting when a package is
missing license information.
@private-packagist
Copy link

composer.lock

Package changes

Package Operation From To Changes
psr/container add - 1.1.1 view code
symfony/deprecation-contracts add - v2.5.0 view code
symfony/polyfill-intl-grapheme add - v1.24.0 view code
symfony/polyfill-intl-normalizer add - v1.24.0 view code
symfony/polyfill-php73 add - v1.24.0 view code
symfony/polyfill-php80 add - v1.24.0 view code
symfony/service-contracts add - v2.5.0 view code
symfony/string add - v5.4.3 view code
composer/xdebug-handler upgrade 2.0.4 3.0.1 diff
react/promise upgrade v1.2.1 v2.8.0 diff
symfony/console upgrade v2.8.52 v5.4.3 diff
symfony/filesystem upgrade v2.8.52 v5.4.3 diff
symfony/finder upgrade v2.8.52 v5.4.3 diff
symfony/polyfill-ctype upgrade v1.19.0 v1.24.0 diff
symfony/polyfill-mbstring upgrade v1.19.0 v1.24.0 diff
symfony/process upgrade v2.8.52 v5.4.3 diff
symfony/debug remove v2.8.52 - -

Dev Package changes

Package Operation From To Changes
phpstan/phpstan add - 1.4.5 view code
phpstan/phpstan-deprecation-rules add - 1.0.0 view code
phpstan/phpstan-phpunit add - 1.0.0 view code
phpstan/phpstan-strict-rules add - 1.1.0 view code
symfony/phpunit-bridge upgrade v4.2.12 v6.0.3 diff
doctrine/instantiator remove 1.0.5 - -
phpdocumentor/reflection-docblock remove 2.0.5 - -
phpspec/prophecy remove v1.10.3 - -
sebastian/comparator remove 1.2.4 - -
sebastian/diff remove 1.4.3 - -
sebastian/exporter remove 2.0.0 - -
sebastian/recursion-context remove 2.0.0 - -

Settings · Docs · Powered by Private Packagist

@gzumba gzumba closed this Feb 15, 2022
@gzumba gzumba deleted the fix-license-summmary branch February 15, 2022 08:15
@gzumba
Copy link
Contributor Author

gzumba commented Feb 15, 2022

I based this on the wrong branch, so I made a new PR here: #10537

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.

None yet