No, Symfony does not put the space. and Doctrine puts 2 spaces (1 before and 1 after ``!``)