Skip to content

Now use doctrine/lexer instead of forked one...#21

Merged
shadz3rg merged 1 commit into
shadz3rg:masterfrom
holdmann:feature/use_doctrine_lexer_instead_of_forked_version
May 25, 2026
Merged

Now use doctrine/lexer instead of forked one...#21
shadz3rg merged 1 commit into
shadz3rg:masterfrom
holdmann:feature/use_doctrine_lexer_instead_of_forked_version

Conversation

@holdmann

Copy link
Copy Markdown
Contributor

There is problem with forked doctrine/lexer lib on new versions of composer, if you are using doctrine/lexer independently.

thus in vendor/composer/autoload_static.php we have wrong order of libraries

        'Doctrine\\Common\\Lexer\\' =>
        array (
            0 => __DIR__ . '/..' . '/shadz3rg/lexer/lib/Doctrine/Common/Lexer',
            1 => __DIR__ . '/..' . '/doctrine/lexer/src',
        ),

which means that forked class of this lib will be loaded instead of required.

Was detected on

composer --version                              
Composer version 2.9.7 2026-04-14 13:31:52

So lets use original doctrine/lexer instead.

@shadz3rg

Copy link
Copy Markdown
Owner

Thanks for contribution 👌

@shadz3rg shadz3rg merged commit 5c292ec into shadz3rg:master May 25, 2026
0 of 2 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