Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 496 Bytes

UPGRADE.md

File metadata and controls

10 lines (9 loc) · 496 Bytes

Upgrade from 1.0.x to 2.0.x

  • DocLexer::peek() and DocLexer::glimpse now return Doctrine\Common\Lexer\Token objects. When using doctrine/lexer 2, these implement ArrayAccess 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