From 91bda38d5732d28d40b0721af315f211bf72bbdb Mon Sep 17 00:00:00 2001 From: Sergei Morozov Date: Wed, 13 Nov 2019 12:08:03 -0800 Subject: [PATCH] Added the missing argument for -c|--configuration option of PHPUnit --- share/completions/phpunit.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/phpunit.fish b/share/completions/phpunit.fish index 44375ea04..70db34109 100644 --- a/share/completions/phpunit.fish +++ b/share/completions/phpunit.fish @@ -95,7 +95,7 @@ complete -f -c phpunit -l do-not-cache-result -d 'Do not write test results to c # Configuration Options: complete -x -c phpunit -l prepend -d 'A PHP script that is included as early as possible' complete -x -c phpunit -l bootstrap -d 'A PHP script that is included before the tests run' -complete -x -c phpunit -s c -l configuration -d 'Read configuration from XML file' +complete -x -c phpunit -s c -l configuration -a '(__fish_complete_suffix ".xml{,.dist}")' -d 'Read configuration from XML file' complete -f -c phpunit -l no-configuration -d 'Ignore default configuration file (phpunit.xml)' complete -f -c phpunit -l no-logging -d 'Ignore logging configuration' complete -f -c phpunit -l no-extensions -d 'Do not load PHPUnit extensions'