-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Error with define if it uses variable in name. #237
Comments
Hi, Thanks for your report, The easiest way to fix this would be to ignore dynamic defines. As this library is performing a simple code parsing and not a dynamic analysis of the code, we will not be able to resolve the correct naming for those defines. So I think the best we can get for now is skipping them without an error. Does that make sense to you? |
relates to #182 |
That seems good to me. Better than fatal error :) |
This should have been fixed in v5.2.0 |
Hi, first of all thanks for PHPDocumentor version 3.3.1-rc which correct #233.
Now I can see another singular issue with constant name when defined like that :
define('NOT_OK_' . $v, 'not ok');
Steps to reproduce
Composer.json
test.php
run.php
execute
gives
Thanks a lot :)
The text was updated successfully, but these errors were encountered: