New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False positive: This statement seems to be disconnected from its parent foreach. #1924
Comments
I had the same Issue. Reported here: |
This EA looks too dificult for me. In my opinion it is almost not possible to know what exactly affects something out of foreach scope. This EA should be removed, I'm seeing it often and in some cases it helped to me, but in global perspective it has more false positives than true. |
@ea-inspections-team: this inspection is receiving a lot of complaints. Can you disable it by default in the next release please? |
Hi, it is part of PHPWord package https://github.com/DerekMarcinyshyn/phpword/blob/master/samples/Sample_09_Tables.php |
Current behaviour
Expected behaviour
No alert shown
The text was updated successfully, but these errors were encountered: