We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4ae0a5 commit 76200c9Copy full SHA for 76200c9
Tests/Engine/RuleSuppression.ps1
@@ -16,8 +16,8 @@ function SuppressMe ()
16
17
function SuppressTwoVariables()
18
{
19
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUninitializedVariable", "b")]
20
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUninitializedVariable", "a")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSProvideDefaultParameterValue", "b")]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSProvideDefaultParameterValue", "a")]
21
Param([string]$a, [int]$b)
22
23
}
0 commit comments