Skip to content

Conversation

@drupol
Copy link

@drupol drupol commented Jul 21, 2025

This project relies on the tokenizer PHP extension, but it is not explicitly declared in composer.json. It is assumed to be available in the PHP distribution, which is not always the case. This package makes use of several T_* constants, which require the tokenizer extension. Without it, the following error may occur:

Fatal error: Uncaught Error: Undefined constant "Microsoft\PhpParser\T_CLASS_C" in ...

This PR adds the missing ext-tokenizer requirement to the require section.

@drupol
Copy link
Author

drupol commented Nov 10, 2025

No feedback since a couple of month, closing this.

@drupol drupol closed this Nov 10, 2025
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.

1 participant