Skip to content

Commit 4560b82

Browse files
mlocatibergmeister
andcommitted
[Minor] Ignore PSReviewUnusedParameter PSScriptAnalyzer warning
See See PowerShell/PSScriptAnalyzer#1472 Co-authored-by: Christoph Bergmeister [MVP] <[email protected]>
1 parent 7656e62 commit 4560b82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PhpManager/public/Install-Php.ps1

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
function Install-Php() {
2+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSReviewUnusedParameter', 'ThreadSafe', Justification = 'False positive as rule does not know that Where-Object operates within the same scope')])] # See https://github.com/PowerShell/PSScriptAnalyzer/issues/1472
23
<#
34
.Synopsis
45
Installs PHP.

0 commit comments

Comments
 (0)