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.- Parameter type declarations have been added to all methods of all classes. If you have classes inheriting from classes inside this package, you should add parameter and return type declarations.
- Support for PHP < 8.1 has been reoved