-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
TableMetadataStorage - fix isAlreadyV3Format for the same version values #1466
TableMetadataStorage - fix isAlreadyV3Format for the same version values #1466
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
I'd expect a test that covers the fixed behaviour.
@SenseException Thanks for asking for the test. There was an issue! I've added the test. |
It seems there are CI jobs failing. Please take a look at this guide for more on how to handle those. |
Done @greg0ire. Hope I haven't missed anything more. |
Thanks @kfrankiewicz |
Summary
Doctrine\Migrations\Metadata\Storage\TableMetadataStorage::isAlreadyV3Format()
method was returningfalse
even if both versions in the arguments have exactly the same value. E.g.:Compares
0 !== 0
what gives false, butisAlreadyV3Format()
should returntrue
when the versions are the same.