Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295377

Doctrine no longer supports SimpleAnnotationReader, incorporate a solution into core

$
0
0
Contributor tasks needed
TaskNovice task?Contributor instructionsComplete?

Follow-up to #2421451: Drupal needs comments in opcache

Problem/Motivation

SimpleAnnotationReader has been deprecated by Doctrine. It allows us to use annotations without a usestatement for the annotation class.

Proposed resolution

Fork the code that Doctrine has deprecated into core.
Code the needs to copied

  1. \Doctrine\Common\Annotations\SimpleAnnotationReader
  2. \Doctrine\Tests\Common\Annotations\SimpleAnnotationReaderTest
  3. \Doctrine\Common\Annotations\DocParser
  4. \Doctrine\Tests\Common\Annotations\DocParserTest
  5. DocParserTest requires many fixture classes from Doctrine\Tests\Common\Annotations\Fixtures
  6. \Doctrine\Tests\Common\Annotations\Ticket\DCOM58Test

Remaining tasks

Review

User interface changes

None

API changes

None

Data model changes

None


Viewing all articles
Browse latest Browse all 295377

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>