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

Fix comparator type detection #6168

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

ausi
Copy link
Contributor

@ausi ausi commented Sep 27, 2023

Q A
Type bug
Fixed issues contao/contao#6409

Summary

Since #5916 some column configurations always show up as changed in the Comparator. For example a Types::SIMPLE_ARRAY, ['length' => 255] column.

This pull request moves the ->expectedDbType() check to the correct position to fix this issue
and adds a test that verifies the fix.

@derrabus derrabus merged commit 31919d2 into doctrine:3.7.x Sep 29, 2023
84 checks passed
@ausi ausi mentioned this pull request Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants