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

Detect duplicate keys in shape #8821

Open
staabm opened this issue Feb 1, 2023 · 0 comments
Open

Detect duplicate keys in shape #8821

staabm opened this issue Feb 1, 2023 · 0 comments

Comments

@staabm
Copy link
Contributor

staabm commented Feb 1, 2023

Feature request

The same key should not be allowed to be declared twice

https://phpstan.org/r/27d4e395-936d-4655-a9ee-34ec9ae08bbc

This was recently implemented in psalm
https://psalm.dev/r/ccfcf56e13

vimeo/psalm#9177

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants