I started seeing error logs for formatting simple PHP scripts.
Seems like the errors are originated in the HTML formatter, and with the parse-result passed into it.
For example, this simple script trigger an error:
To see the actual IParseResult, place a breakpoint at HTMLFormatterNodeBuilder – build() method.
I've noticed that in the case of this example, we get two child nodes that overlap with the start&end offsets.