Make doctrine/lexer:^3.0 compatible with \Drupal\Component\Annotation\Doctrine.

Created on 17 March 2024, 8 months ago

Problem/Motivation

In πŸ› Annotation component has an undeclared dependency on doctrine/lexer 2 RTBC we're adding a dependency on doctrine/lexer:^2.0 to both the Annotation component and core itself.

doctrine/lexer:^3.0 currently throws a fatal error:

Steps to reproduce

$ composer update doctrine/lexer
$ drush cr
PHP Fatal error:  Uncaught Error: Cannot use object of type Doctrine\Common\Lexer\Token as array in drupal/core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php:619

Proposed resolution

Make doctrine/lexer:^3.0 compatible with \Drupal\Component\Annotation\Doctrine.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
BaseΒ  β†’

Last updated 42 minutes ago

Created by

πŸ‡³πŸ‡±Netherlands spokje

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024