Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 598d481

Browse files
Merge branch '6.4' into 7.4
* 6.4: [Cache] Fix Psr16Cache::getMultiple() returning wrapper values when using TTL [Console] Fix shell completion when SHELL_VERBOSITY=-1 [EventDispatcher] Fix TraceableEventDispatcher when reset during dispatch Remove needs-review flag for Afrikaans (af) Bump Symfony version to 6.4.37 Update VERSION for 6.4.36 Update CONTRIBUTORS for 6.4.36 Update CHANGELOG for 6.4.36 # Conflicts: # CHANGELOG-6.4.md # src/Symfony/Component/Console/Resources/completion.fish # src/Symfony/Component/HttpKernel/Kernel.php
2 parents 1e92e39 + 656d546 commit 598d481

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

Resources/completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ _sf_{{ COMMAND_NAME }}() {
5454
done
5555

5656
local sfcomplete
57-
if sfcomplete=$(${completecmd[@]} 2>&1); then
57+
if sfcomplete=$(SHELL_VERBOSITY=0 ${completecmd[@]} 2>&1); then
5858
local quote suggestions
5959
quote=${cur:0:1}
6060

Resources/completion.fish

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ function _sf_{{ COMMAND_NAME }}
1919

2020
set completecmd $completecmd "-c$c"
2121

22-
$completecmd
22+
set sfcomplete (env SHELL_VERBOSITY=0 $completecmd)
23+
24+
for i in $sfcomplete
25+
echo $i
26+
end
2327
end
2428

2529
complete -c '{{ COMMAND_NAME }}' -a '(_sf_{{ COMMAND_NAME }})' -f

Resources/completion.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ _sf_{{ COMMAND_NAME }}() {
5959
fi
6060

6161
# Use eval to handle any environment variables and such
62-
out=$(eval ${requestComp} 2>/dev/null)
62+
out=$(eval SHELL_VERBOSITY=0 ${requestComp} 2>/dev/null)
6363

6464
while IFS='\n' read -r comp; do
6565
if [ -n "$comp" ]; then

0 commit comments

Comments
 (0)