From 6f0ac07ebe25c4aa0fb09a2ca8a4f00d431ab75e Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 1 Jun 2022 22:08:31 +0200 Subject: [PATCH] Include completion file for bash completion generation, refs #10320 --- src/Composer/Compiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Compiler.php b/src/Composer/Compiler.php index fac62fbb5..c63c5564b 100644 --- a/src/Composer/Compiler.php +++ b/src/Composer/Compiler.php @@ -120,7 +120,6 @@ class Compiler ->ignoreVCS(true) ->notPath('/\/(composer\.(json|lock)|[A-Z]+\.md|\.gitignore|appveyor.yml|phpunit\.xml\.dist|phpstan\.neon\.dist|phpstan-config\.neon|phpstan-baseline\.neon)$/') ->notPath('/bin\/(jsonlint|validate-json|simple-phpunit|phpstan|phpstan\.phar)(\.bat)?$/') - ->notPath('symfony/console/Resources/completion.bash') ->notPath('justinrainbow/json-schema/demo/') ->notPath('justinrainbow/json-schema/dist/') ->notPath('composer/installed.json') @@ -138,6 +137,7 @@ class Compiler __DIR__ . '/../../vendor/composer/spdx-licenses/res/spdx-licenses.json', CaBundle::getBundledCaBundlePath(), __DIR__ . '/../../vendor/symfony/console/Resources/bin/hiddeninput.exe', + __DIR__ . '/../../vendor/symfony/console/Resources/completion.bash', ) as $file) { $extraFiles[$file] = realpath($file); if (!file_exists($file)) {