You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PSUseDeclaredVarsMoreThanAssignments does not detect variables with multiple assignments #833
Thanks for reporting the case. However, it is a known issue that PSUseDeclaredVarsMoreThanAssignments can produce false positives for more than a year and there are several similar issues in this repo already. Given the low ressources on this project from the Microsoft side at the moment, it might take quite some time until PSUseDeclaredVarsMoreThanAssignments get fixed. Nevertheless it is still good to have all use cases collateted to help testing it should someone step into doing this ambitious task.
definitely - I would rather John Bevan (@JohnLBevan) do it (as he opened the issue). On the other hand, if you as the fixer want to close it, that's also fine.
James Truher (@JamesWTruher) Although it would be great if the person raising this issue can sign this off, I do not think we can assume that everyone knows or has the time to compile PSSA themselves. I myself do not have rights to close issues as a community member...
Activity
bergmeister commentedon Dec 2, 2017
Thanks for reporting the case. However, it is a known issue that PSUseDeclaredVarsMoreThanAssignments can produce false positives for more than a year and there are several similar issues in this repo already. Given the low ressources on this project from the Microsoft side at the moment, it might take quite some time until PSUseDeclaredVarsMoreThanAssignments get fixed. Nevertheless it is still good to have all use cases collateted to help testing it should someone step into doing this ambitious task.
Fix PSUseDeclaredVarsMoreThanAssignments when variable is assigned mo…
bergmeister commentedon Jan 20, 2018
James Truher (@JamesWTruher) Can we consider closing this now that the PR is merged?
JamesWTruher commentedon Jan 22, 2018
definitely - I would rather John Bevan (@JohnLBevan) do it (as he opened the issue). On the other hand, if you as the fixer want to close it, that's also fine.
bergmeister commentedon Jan 22, 2018
James Truher (@JamesWTruher) Although it would be great if the person raising this issue can sign this off, I do not think we can assume that everyone knows or has the time to compile PSSA themselves. I myself do not have rights to close issues as a community member...
Fix PSUseDeclaredVarsMoreThanAssignments when variable is assigned mo…