phpstan-src
phpstan-src copied to clipboard
Fix #7531 - "Unreachable statement" false positive for html whitespace
You should add a test with non-whitespace html as well, to make sure that that is reported.
You should add a test with non-whitespace html as well, to make sure that that is reported.
I hope I got it right, I've just added one more test scenario where there's non-whitespaces, and in this case it's expected to not be reported by phpstan
Sorry, I guess that was a bit ambiguous. I avtually meant non-whitespace and non-empty, because that should be reported :)
@murilohpucci Would be nice if you were able to finish this PR :)