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

2.17 broke bigint validations #11089

Closed
gabplch opened this issue Nov 28, 2023 · 1 comment
Closed

2.17 broke bigint validations #11089

gabplch opened this issue Nov 28, 2023 · 1 comment

Comments

@gabplch
Copy link

gabplch commented Nov 28, 2023

BC Break Report

Q A
BC Break yes
Version 2.17.*

Summary

Running doctrine:schema:validate

I suspect #10946

Current behavior

[FAIL] The entity-class App\Entity\Foo mapping is invalid:
 * The field 'App\Entity\Foo#bar' has the property type 'int' that differs from the metadata field type 'string' returned by the 'bigint' DBAL type.

How to reproduce

class Foo
{
    #[ORM\Column(type: Types::BIGINT)]
    protected int $bar = 1;
}

Expected behavior

No errors

@greg0ire
Copy link
Member

Duplicate of #11073

@greg0ire greg0ire marked this as a duplicate of #11073 Nov 28, 2023
@greg0ire greg0ire closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants