Issue #3429849 by longwave, andypost, spokje: Make doctrine/lexer:^3.0 compatible with \Drupal\Component\Annotation\Doctrine
(cherry picked from commit 5a658211)
Closes #3429849