Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding documentation about @no-named-arguments and allowNamedArgumentCalls #5654

Merged
merged 1 commit into from Apr 21, 2021

Conversation

orklah
Copy link
Collaborator

@orklah orklah commented Apr 20, 2021

I saw a change on a project today where allowNamedArgumentCalls was set to false. I expected this to have the same effect as a @no-named-argument project-wide but it didn't seem to work.

After thinking about that, my assumption didn't make sense because without @no-named-argument directly in code, Psalm can't enforce the absence of named parameters on external calls.

Those were largely undocumented so I added some details

@muglug muglug merged commit 0d524ec into vimeo:master Apr 21, 2021
@muglug
Copy link
Collaborator

muglug commented Apr 21, 2021

Thanks!

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.

None yet

2 participants