From e9f28ff7456d4f06efbac6299d2b106100f549a5 Mon Sep 17 00:00:00 2001 From: Noah Gorny Date: Fri, 22 Jan 2021 23:48:24 +0200 Subject: [PATCH] completion: composer: Add shellcheck directives --- completion/available/composer.completion.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/completion/available/composer.completion.bash b/completion/available/composer.completion.bash index b20da814..7f802b79 100644 --- a/completion/available/composer.completion.bash +++ b/completion/available/composer.completion.bash @@ -114,6 +114,7 @@ function _composer() { esac + # shellcheck disable=SC2207 COMPREPLY=($(compgen -W "${opts}" -- "${cur}")) __ltrim_colon_completions "$cur" @@ -124,6 +125,7 @@ function _composer() { if [[ "$cur" == "$com" ]]; then coms="about archive browse clear-cache config create-project depends diagnose dump-autoload exec global help init install licenses list outdated prohibits remove require run-script search self-update show status suggests update validate" + # shellcheck disable=SC2207 COMPREPLY=($(compgen -W "${coms}" -- "${cur}")) __ltrim_colon_completions "$cur"