Composer validate throws a warning.

user@user:~/projects/bugfix/search_api_solr$ composer validate
./composer.json is valid, but with a few warnings
See https://getcomposer.org/doc/04-schema.md for details on the schema
License "GPL-2.0+" is a deprecated SPDX license identifier, use "GPL-2.0-or-later" instead
support.irc : invalid value (https://drupalchat.me/channel/search), must be a irc://<server>/<channel> URL
CommentFileSizeAuthor
#4 deprecated_license_identifier_and_support_info-3136950-4.patch814 bytesAnonymous (not verified)
#2 deprecated_license_identifier-3136950-2.patch484 bytesAnonymous (not verified)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

o-msh created an issue. See original summary.

Anonymous’s picture

Title: License "GPL-2.0+" is a deprecated SPDX license identifier » Composer validate failed
Status: Active » Needs review
FileSize
484 bytes

After applying the attached patch it is solved for 'license', but still for invalid value of irc channel. What i need to do with this option?

user@user:~/projects/bugfix/search_api_solr$ composer validate
./composer.json is valid, but with a few warnings
See https://getcomposer.org/doc/04-schema.md for details on the schema
support.irc : invalid value (https://drupalchat.me/channel/search), must be a irc://<server>/<channel> URL
mkalkbrenner’s picture

we should use chat instead.

Anonymous’s picture

Updated path. Now it looks good.

user@user:~/projects/bugfix/search_api_solr$ composer validate
./composer.json is valid
mkalkbrenner’s picture

Status: Needs review » Reviewed & tested by the community

  • mkalkbrenner committed b92ae81 on 4.x authored by o-msh
    Issue #3136950 by o-msh, mkalkbrenner: Composer validate failed
    
mkalkbrenner’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.