Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doctrine Lexer upgraded to 3.0 #477

Merged
merged 2 commits into from
Apr 20, 2024
Merged

Conversation

Guuzen
Copy link
Contributor

@Guuzen Guuzen commented Apr 20, 2024

Change Log

Added

  • Support for doctrine/lexer 3

Fixed

Changed

Removed

  • Support for doctrine/lexer 1 and 2

Deprecated

Security


Description

#473

I believe Lexer class is considered internal so I changed its interface and now it changes values by reference only to strings. It will help to adhere to doctrine/lexer interface of the Token class.
We can coerce values from Lexer into internal representation (actually we already have an element of the coercion with null value)

@norberttech
Copy link
Member

I believe Lexer class is considered internal so I changed its interface and now it changes values by reference only to strings.

Perfect, Lexer is indeed considered internal - at least from my point of view so I have absolutely zero issues with adjusting it.
Could you run composer cs:php:fix to satisfy CI/CD so I can merge it and release a new version?

Thank you!! 🚀

@norberttech norberttech merged commit 2d82377 into coduo:6.x Apr 20, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants