ENUMs in Symfony 2 and Doctrine

For Symfony 2 projects, add this to the doctrine dbal configuration in app/config.yml:

doctrine:
dbal:
mapping_types:
enum: string

http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/cookbook/mysql-enums.html