Skip to content

Commit

Permalink
Suppress false positive on function level
Browse files Browse the repository at this point in the history
As supressing on line level does not work
(see vimeo/psalm#6659),
we now suppress it on function level.
  • Loading branch information
discordier committed Oct 14, 2021
1 parent 4531741 commit 6a7d85a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Command/ValidateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ protected function doExecute(): int
* @param string $taskName The task being validated.
*
* @return bool
*
* @psalm-suppress UnusedVariable
*/
private function validatePlugin(PluginRegistry $plugins, string $taskName): bool
{
Expand Down

0 comments on commit 6a7d85a

Please sign in to comment.