Skip to content

[Blameable] Int is not a valid Doctrine type mappingΒ #2006

@tezvi

Description

@tezvi

https://github.com/Atlantic18/DoctrineExtensions/blob/ee6e427c759da76b65597870e2bae36fc7b09631/lib/Gedmo/Blameable/Mapping/Driver/Annotation.php#L29-L33

Is int value a valid Doctrine mapping type? It seems that "integer" should be used instead.
I've managed to defined custom doctrine type in symfony configuration so this works for me at framework level:

doctrine:
    dbal:
        types:
            int: Doctrine\DBAL\Types\IntegerType

However, it would be nice to have "integer" value in $validTypes collection as well, so everyone can be happy :)

Something similar is reported here but closed without proper resolution #1137

Metadata

Metadata

Assignees

No one assigned

    Labels

    BlameableBugA confirmed bug in Extensions that needs fixing.Still RelevantMark PRs that might've been auto-closed that are still relevant.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions