Sebastian Kehr

Results 2 comments of Sebastian Kehr

> I just realized there's one more place that needs fixing. Check out CleaningParserTest. The job of CleaningParser is to erase function bodies of not-analyzed code (like in vendor/) before...

@ondrejmirtes I added two more examples to _tests/PHPStan/Parser/data/cleaning-1-before.php_. Please also have a look on the expected outcome after cleaning in _tests/PHPStan/Parser/data/cleaning-1-after.php_. With the proposed changes to _src/Parser/CleaningVisitor.php_ the closure in...