Skip to content

Commit

Permalink
[Minor] Ignore PSReviewUnusedParameter PSScriptAnalyzer warning
Browse files Browse the repository at this point in the history
See See PowerShell/PSScriptAnalyzer#1472

Co-authored-by: Christoph Bergmeister [MVP] <[email protected]>
  • Loading branch information
mlocati and bergmeister committed May 6, 2020
1 parent 7656e62 commit 4560b82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PhpManager/public/Install-Php.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
function Install-Php() {
[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
<#
.Synopsis
Installs PHP.
Expand Down

0 comments on commit 4560b82

Please sign in to comment.