VulCode

Doctrine Lexer: our changes to an open source project

A base for lexers used by recursive descent parsers in PHP, used by Doctrine ORM among others.

All contributions
Language
PHP
GitHub stars
11,143
1merged change
Merged on 1 October 2026.
Number 17 of the 64 GitHub projects with our changes, by stars. First is Zed (91,587).

The change merged into Doctrine Lexer

resetPosition() accepts a token's character offset, so you can return exactly to the place in the text the token came from.

What it taught us

A lexer position is two different things: a token index and a place in the text. An API must say clearly which one it expects.

PHP

Our projects in this technology, their screens and when we choose it.

Other projects with our changes: PHP

20 projects in this technology have our merged changes. The bar is the repository's stars, next to it the number of our changes. Each row leads to the project's page.

Doctrine Lexer among all our changes

Day by day from 5 September 2026 to 11 October 2026. A column is every change merged that day, the accent is the changes in Doctrine Lexer.

  • Changes in Doctrine Lexer
  • Changes in other projects

1 merged change in Doctrine Lexer

Merged on 1 October 2026.

On the same day

Changes of ours were also merged into: Zed.

The whole period

125 merged changes in 65 projects.

Questions about our changes to Doctrine Lexer

Where these changes come from, who merged them and whether we can fix something in your library.

Using Doctrine Lexer in your project?

If something in it does not work, we fix it at the source and leave a workaround until the release. We reply within an hour.