DocLexer::peek()
andDocLexer::glimpse
now returnDoctrine\Common\Lexer\Token
objects. When usingdoctrine/lexer
2, these implementArrayAccess
as a way for you to still be able to treat them as arrays in some ways.CachedReader
andFileCacheReader
have been removed.AnnotationRegistry
method related to registering annotations instead of using autoloading have been removed.