Skip to content

Conversation

@carlos-granados
Copy link
Contributor

Extracted from #7757

Manages named arguments in the ArgumentAdderRector when processing function calls

If the function call contains named arguments

  • If the parameter we are trying to add is before the position of the first named argument, it means that this parameter already exists, skip
  • If there is already a named argument for the parameter we are trying to add, skip
  • In any other case, add the parameter as a new named parameter

@samsonasik
Copy link
Member

Rebase latest main seems needed.

@carlos-granados carlos-granados force-pushed the named-arguments-in-argument-adder branch from 2f4c71e to c2e8264 Compare December 24, 2025 15:48
@carlos-granados carlos-granados force-pushed the named-arguments-in-argument-adder branch from c2e8264 to 650c104 Compare December 24, 2025 15:51
@carlos-granados
Copy link
Contributor Author

Rebased and fixed PHPStan error

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.

2 participants