-
Notifications
You must be signed in to change notification settings - Fork 229
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
Fix FP S3878: When non-object array is passed to object[] params as first argument #6894
Comments
Hello @afpirimoglu, |
@mary-georgiou-sonarsource thanks for looking into this! |
Description
When the first element of the params argument is an array and the array is created on the same statement as the method call being made, S3878 is raised incorrectly.
Repro steps
Expected behavior
if the first parameter being passed is an array that is created on the statement call line, but is not the array of the params argument, but an element of the params argument, S3878 should not have been raised.
Actual behavior
Please see code example above
Known workarounds
Please see code example above
The text was updated successfully, but these errors were encountered: