[PR #10736] Fix Lexer deprecation #12580

Open
opened 2026-01-22 16:14:30 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/10736

State: closed
Merged: No


Hi,

This (very) small PR to fix a lexer deprecation:

Accessing Doctrine\Common\Lexer\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:104 called by Parser.php:585, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)

I think the fix is okay for 2.15.x branch as it requires doctrine/lexer:^2.

**Original Pull Request:** https://github.com/doctrine/orm/pull/10736 **State:** closed **Merged:** No --- Hi, This (very) small PR to fix a lexer deprecation: > Accessing Doctrine\Common\Lexer\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:104 called by Parser.php:585, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer) I think the fix is okay for 2.15.x branch as it requires doctrine/lexer:^2.
admin added the pull-request label 2026-01-22 16:14:30 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#12580