Details
Description
"SELECT c FROM MyBundle\AppBundle\Entity\Cities c WHERE c.nume LIKE :q" throws an Exception in Doctrine\ORM\Query\AST\InputParameter line 46 because strlen return 1.
I don't know the DQL parser deeply but it seems that the value passed to this class does not contain the colon. In this case the exception does not make sense here.
Fixed