Jira issue originally created by user mdhooge:
The PhpParser makes a too optimistic assumption about code convention...
If you have the word 'class' or 'interface' in the comment before the class definition, pregmatchall finds wrong slice of code and PHP complains with a Warning about "Unterminated comment". This occurs only once after the cache is cleared.
Comment created by @FabioBatSilva:
I tested this issue.
After rewriting the php parser does not happen. : d274bd7
I think that can be closed
Comment created by mdhooge:
Unfortunately, I can't remember when the problem disappeared but it is no longer here for sure.
And since the call to pregmatchall has been removed, we can close the issue.
Issue was closed with resolution "Fixed"