doctrine / lexer

Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.
https://www.doctrine-project.org/projects/lexer.html
MIT License
11.05k stars 60 forks source link

Add psalm assertions #95

Closed greg0ire closed 1 year ago

greg0ire commented 1 year ago

These should help avoiding null checks in downstream libraries.

greg0ire commented 1 year ago

@derrabus I reverted the test changes.