Problem/Motivation

I see this error when trying to run a migration rollback. It looks like there's a comma missing in the plugin annotation. I'm not sure if there is already a patch for this, I didn't find anything.
[Syntax Error] Expected Doctrine\Common\Annotations\DocLexer::T_CLOSE_PARENTHESIS, got 'category' at position 119 in class Drupal\google_tag\Plugin\WebformHandler\GoogleTagPurchaseHandler.

If there is, no problem we can just close this ticket, but we need this to fix our migrations.

CommentFileSizeAuthor
#2 3349443.patch753 bytesasherry

Comments

asherry created an issue. See original summary.

asherry’s picture

Status: Active » Needs review
StatusFileSize
new753 bytes
amangrover90’s picture

Status: Needs review » Reviewed & tested by the community

Patch seems to resolve the issue.

proweb.ua’s picture

#2 works

glynster’s picture

Resolved the issue for us as well on Drupal 10. +1 RTBC

kburakozdemir’s picture

#2 works for me. Thank you.

Drupal version : 9.5.7
PHP version : 8.0.27

mglaman’s picture

Status: Reviewed & tested by the community » Fixed

Whoops! Thanks for the patch. Committed.

  • mglaman committed 3cd3b146 on 2.0.x authored by asherry
    Issue #3349443 by asherry, amangrover90, proweb.ua, glynster,...

Status: Fixed » Closed (fixed)

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