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

Formally deprecate allowCoercionFromStringToClassConst #5897

Conversation

weirdan
Copy link
Collaborator

@weirdan weirdan commented Jun 6, 2021

allowCoercionFromStringToClassConst is a recognized config attribute, but it has no effect. Previous attempt at removing it has caused a lot of breaks (#3982) so it had to be reverted (#4046).

This time, instead of failing validation we emit a deprecation issue and let Psalm run as usual. This should provide smooth upgrade path.

@weirdan weirdan mentioned this pull request Jun 6, 2021
@muglug muglug merged commit 86050df into vimeo:master Jun 7, 2021
@muglug
Copy link
Collaborator

muglug commented Jun 7, 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