Open
Description
Here are code pieces that we found that may work not correctly with named arguments:
- All usages of fr.adrienbrault.idea.symfony2plugin.completion.command.PhpCommandGotoCompletionRegistrar.CommandGotoCompletionProvider#getParameterStringValue
Generally now it's necessary to take named arguments into account to provide correct behaviour for PHP 8. In 203 build we do have some methods for this to ease the migration. If index is accessible it's recommended to use com.jetbrains.php.PhpWorkaroundUtil#resolveMappedParameterIndex(com.intellij.psi.PsiElement)
, this method will resolve parameter index taking into account both named argument part and position.
references: https://jetbrains.org/intellij/sdk/docs/products/phpstorm/php_open_api_breaking_changes_203.html