You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
inside each of the StackTraceFrames of the generated Vampire, the method getLine() shows the line of the last argument (4) instead of the line where the method name is (1).
Shouldn't it be the other way around?
The text was updated successfully, but these errors were encountered:
Data is coming from (new \Exception())->getTrace(). I've checked, that's in fact the line number PHP provides in such a case. I agree this isn't ideal, but that's how PHP works.
When retrieving the line information of a StackTraceFrame where the call of the frame is something like:
inside each of the StackTraceFrames of the generated Vampire, the method
getLine()
shows the line of the last argument (4) instead of the line where the method name is (1).Shouldn't it be the other way around?
The text was updated successfully, but these errors were encountered: