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 allow url in DriverManager::getConnection() #5857

Merged
merged 1 commit into from
Jan 7, 2023

Conversation

someniatko
Copy link
Contributor

Q A
Type bug
Fixed issues (not reported)

Summary

Psalm complains when instantiating a Connection like this: DriverManager::getConnection([ 'url' => 'mysql://user:pwd@host/db' ]), because url is not explicitly allowed in @psalm-param phpdoc. Perhaps it was forgotten.

@derrabus derrabus merged commit e106ee7 into doctrine:3.5.x Jan 7, 2023
@derrabus derrabus added this to the 3.5.3 milestone Jan 7, 2023
@someniatko
Copy link
Contributor Author

I'm quite impressed this little change deserved attention of three contributors :D

@someniatko
Copy link
Contributor Author

someniatko commented Jan 8, 2023

I now own a contributor badge too, lmao.

@derrabus
Copy link
Member

derrabus commented Jan 9, 2023

Thank you very much for taking care of this critical bug. This badge was well earned!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants