Support semver in contrib in deprecation messages.

I have:

   * @deprecated in lingotek:3.0.0 and is removed from lingotek:4.0.0.
   *   Use $workflow->getTypePlugin()->getStates() instead.

This looks valid to me. But I get:

148 | WARNING | The deprecation-version 'lingotek:3.0.0' does not match the lower-case machine-name standard: drupal:n.n.n or project:n.x-n.n or project:n.x-n.n-version[n]
 148 | WARNING | The removal-version 'lingotek:4.0.0' does not match the lower-case machine-name standard: drupal:n.n.n or project:n.x-n.n or project:n.x-n.n-version[n]

Comments

penyaskito created an issue. See original summary.

penyaskito’s picture

Status: Active » Needs review
StatusFileSize
new1.83 KB

Attached patch.

klausi’s picture

Version: 8.3.9 » 8.x-3.x-dev
Status: Needs review » Closed (duplicate)

I think this is a duplicate of #3138133: Make it possible to deprecate and point to semantic versions of contrib projects and should be fixed now in the dev version. Let me know if that works for you!