Skip to content

Adding Code Action for named arguments - #3083

Open
mamazu wants to merge 1 commit into
phpactor:masterfrom
mamazu:feat/named_parameters
Open

mamazu wants to merge 1 commit into
phpactor:masterfrom
mamazu:feat/named_parameters

Conversation

@mamazu

@mamazu mamazu commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

What

This adds a named argument code action. If the first parameter is named, then it will convert it to a position based list. If not then convert it to a named list.

Current limitations

  • The Reflection resolves the node multiple times, I don't know if there's a better way, or if that's just how it goes.
  • The trailing comma is removed when running the conversion

@mamazu mamazu changed the title Adding Code Action for named arguments WIP: Adding Code Action for named arguments Oct 31, 2026
@mamazu
mamazu force-pushed the feat/named_parameters branch from 0c3bb54 to 7854474 Compare October 31, 2026 18:54
@mamazu
mamazu force-pushed the feat/named_parameters branch from 7854474 to 7f11035 Compare October 31, 2026 19:22
@mamazu mamazu changed the title WIP: Adding Code Action for named arguments Adding Code Action for named arguments Nov 1, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant