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

Description can be empty #738

Closed
garak opened this issue Feb 28, 2022 · 1 comment · Fixed by #746
Closed

Description can be empty #738

garak opened this issue Feb 28, 2022 · 1 comment · Fixed by #746
Labels

Comments

@garak
Copy link
Member

garak commented Feb 28, 2022

Bug Report

Q A
BC Break no
Library Version latest
PHP version latest

Summary

Description of a package can be an empty string, see for example https://packagist.org/search.json?q=magefan/module-community

This is causing an exception:

TypeError
Cannot assign null to property Packagist\Api\Result\Package::$description of type string

@garak
Copy link
Member Author

garak commented Feb 28, 2022

See KnpLabs/packagist-api#80

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

Successfully merging a pull request may close this issue.

2 participants