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

quote more chars in keyed array names #7225

Merged
merged 2 commits into from Dec 26, 2021
Merged

quote more chars in keyed array names #7225

merged 2 commits into from Dec 26, 2021

Conversation

orklah
Copy link
Collaborator

@orklah orklah commented Dec 26, 2021

This PR changes the detection of chars needing to be quoted from a forbidden list of chars to an allowed list.

Aside from alphanumeric chars and underscore, every other char present in the string will make Psalm add quotes to the string

This will fix #7222

@orklah orklah added the release:fix The PR will be included in 'Fixes' section of the release notes label Dec 26, 2021
@orklah orklah merged commit 10226c1 into vimeo:master Dec 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix The PR will be included in 'Fixes' section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InvalidDocblock error when comparing array with special characters in string keys
1 participant