Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Doctrine Lexer upgraded to 3.0#477

Merged
norberttech merged 2 commits into
coduo:6.xcoduo/php-matcher:6.xfrom
Guuzen:bump-doctrine-lexerGuuzen/php-matcher:bump-doctrine-lexerCopy head branch name to clipboard
Apr 20, 2024
Merged

Doctrine Lexer upgraded to 3.0#477
norberttech merged 2 commits into
coduo:6.xcoduo/php-matcher:6.xfrom
Guuzen:bump-doctrine-lexerGuuzen/php-matcher:bump-doctrine-lexerCopy head branch name to clipboard

Conversation

@Guuzen
Copy link
Copy Markdown
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
Copy Markdown
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!! 🚀

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.