We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Run ForeachArrayMergeSniff against file that contains inline control structure.
foreach ([] as $item) // inline foreach $a = array_merge([], []); foreach ([] as $item) // array_merge after inline foreach $a = array_merge([], []);
Sniff detects nothing. There is no way to detect function scope without {}.
{}
An error occurred during processing; checking has been aborted. The error message was: Undefined index: scope_opener in ...
The text was updated successfully, but these errors were encountered:
Merge pull request #110 from magento-commerce/develop
daf56b8
Version 14 master update
lenaorobei
Successfully merging a pull request may close this issue.
Steps to reproduce
Run ForeachArrayMergeSniff against file that contains inline control structure.
Expected result
Sniff detects nothing. There is no way to detect function scope without
{}
.Actual result
An error occurred during processing; checking has been aborted. The error message was: Undefined index: scope_opener in ...
The text was updated successfully, but these errors were encountered: