[ticket/12983] Do not test invalid values until Symfony 2.4

PHPBB3-12983