Closed rubenflush closed 1 year ago
Thanks for reporting. This should be an easy fix. Do you wanna give it a try?
My hunch is that this line is not correct: https://github.com/phpro/grumphp/blob/6c3ca70a9185e76f3e914ddfcbcf4c7f541326a2/src/Parser/Php/Visitor/AbstractVisitor.php#L30
When an error is found by the phpparser task, it will show an error message indicating the problem. However, the file path without filename is used instead of the filename which makes it harder to fix the problem.
My configuration
Steps to reproduce:
Result:
Expected result: