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.

@greg0ire greg0ire added the Bug label Sep 29, 2023
@derrabus derrabus added this to the 3.7.1 milestone Sep 29, 2023
@derrabus derrabus merged commit 31919d2 into doctrine:3.7.x Sep 29, 2023
@ausi ausi mentioned this pull request Oct 9, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 30, 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.

3 participants