Jira issue originally created by user hason:
If you create a query like the following, you will get an exception:
$em->createQuery( "SELECT e FROM MyEntity e WHERE CONCAT(e.name, e.name2) NOT LIKE '%abc%'" );
The variable $token['type'] is Lexer::T_NOT - https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Query/Parser.php#L2238
Comment created by @asm89:
#345 got merged :)
Issue was closed with resolution "Fixed"