lexik / LexikFormFilterBundle

This Symfony bundle aim to provide classes to build some form filters and then build a doctrine query from this form filter.
MIT License
389 stars 119 forks source link

Undefined class constant 'INTEGER' when filtering EntityFilterType #347

Closed kematjaya0 closed 3 years ago

kematjaya0 commented 3 years ago

HI, i'm use EntityFilterType in symfony 5.3 and get an error "Undefined class constant 'INTEGER'", I try to open file "Lexik\Bundle\FormFilterBundle\Event\Subscriber\DoctrineORMSubscriber" and try to change code in line 111 from "Type::INTEGER" to "Types::INTEGER" and this work. please update your repo for follow update from doctrine, thanks

cbeyer commented 3 years ago

Same error for me

gilles-g commented 3 years ago

Thx @kematjaya0 😂 😂 😂

I will check why, we just have a dependance with doctrine/orm, not dbal...something change