Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[Console] Fix aliases handling in command name completion#46341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
chalasr merged 1 commit intosymfony:5.4fromSeldaek:fix_completion
May 13, 2022

Conversation

@Seldaek
Copy link
Member

QA
Branch?5.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix #...
LicenseMIT
Doc PRsymfony/symfony-docs#...

While working oncomposer/composer#10320 I noticed that command aliases likecomposer why did not autocomplete and then even if typed manually the args/options did not autocomplete if using the alias. This PR fixes it.

@Seldaek
Copy link
MemberAuthor

Restored the array_filter around list of names as getName is technically nullable.. I don't know if there would be a use case here for a command without a name but anyway better safe than sorry as suggestions need a string.

@chalasr
Copy link
Member

Good catch, thanks@Seldaek.

@chalasrchalasr merged commit2d44f22 intosymfony:5.4May 13, 2022
@fabpotfabpot mentioned this pull requestMay 14, 2022
@carsonbotcarsonbot changed the titleFix aliases handling in command name completion[Console] Fix aliases handling in command name completionMay 14, 2022
This was referencedMay 27, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof approved these changes

@chalasrchalasrchalasr approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

5 participants

@Seldaek@chalasr@stof@GromNaN@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp