Change record status: 
Project: 
Introduced in branch: 
11.x, 10.6.x
Introduced in version: 
11.3.0, 10.6.0
Description: 

The doctrine/annotations package is marked as abandoned upstream. Drupal still uses some of the code from this package to parse PHP annotations and support for this will be not dropped until Drupal 13: Not providing an attribute class for a plugin that that uses annotation based discovery is now deprecated. As a result Drupal core has copied the relevant parts of the code from Doctrine and moved them into core.

Code that relied on the Doctrine\Common\Annotations\AnnotationException exception should switch to using Drupal\Component\Annotation\Doctrine\AnnotationException instead; a backward compatibility layer is provided for this.

Code that relied on other parts of doctrine/annotations may choose to add an explicit dependency on the abandoned package, or use the classes that were copied to core (with the caveat that these will be removed in Drupal 13), or rework their code to no longer rely on PHP annotations.

Impacts: 
Module developers