Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ZSH autocomplete error without suggestions #48426

Copy link
Copy link
Closed
@WarriorXK

Description

@WarriorXK
Issue body actions

Symfony version(s) affected

6.2

Description

If using the ZSH autocomplete feature, an error is thrown if no values are provided for autocompletion.

<application> <command> Warning:\ Undefined\ variable\ \$values\ in\ /Users/kevinmeijer/BFUtils/vendor/symfony/console/Completion/Output/ZshCompletionOutput.php\ on\ line\ 33

How to reproduce

Enable autcompletion for a ZSH shell, press TAB to autocomplete an argument and/or option while not providing any suggestions.

Possible Solution

This should be an easy fix by simply defining $values = []; at the start of write() in Completion/Output/ZshCompletionOutput.php

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.