-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Tokenizer is not suggestion but a must #187
Comments
It is not a built-in extension but in tokenizer.so. See |
Why is this only in suggest? This package gives fatal errors if the extension is not loaded. |
@ktomk Like I get it, it's only suggested because not all classes need tokenizer. |
In your project you can add ext-tokenizer as a dependency. |
I guess adding it in the project is viable in the case at hand but if this would have taken care in this project, this would have been easier and I'm also a bit curious. |
This is simply not required dependency because you are not required to use Nette\Utils\Reflection::getUseStatements() I think nobody except me uses it :) |
Okay, you can add me to the list :) |
"ext-tokenizer": "to use token_get_all()"
What are your views on declaring tokenizer in "require"?
The text was updated successfully, but these errors were encountered: