-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
2.9 BC Break on Doctrine\DBAL\Schema\Table method signatures #3380
Comments
@ricardofiorani what version are you comparing this to? I don't see changes in those methods within the last year. |
@Ocramius from v2.8.0 to v2.9.0 |
On my composer.json I was requiring it as |
Can you check more precisely? I'm seeing: https://github.com/doctrine/dbal/blob/v2.8.0/lib/Doctrine/DBAL/Schema/Table.php#L147 and https://github.com/doctrine/dbal/blob/v2.9.0/lib/Doctrine/DBAL/Schema/Table.php#L108 |
Yes, but this is correct: we just documented what the expected types are. If those are not the parameters you were passing to it, then your application had a pre-existing bug in it. |
@Ocramius but by |
Anyway, I'll stick my application with 2.8 until I have some more time to dig into this. Thank you for your responses. |
@ricardofiorani send a patch to fix the types there then - running phpstan on that file (specifically) will likely reveal more issues that we haven't inspected yet 👍 |
We probably need to fix parameter names as well. In most cases, |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Sorry if this is intended, but I couldn't find anywhere mentioning these changes on these
Doctrine\DBAL\Schema\Table
method signatures :I can drop a PR either reverting the method signature's back or update the docs if needed.
The text was updated successfully, but these errors were encountered: