disable more legacy directives
bugfix for symfony#3880

http://trac.symfony-project.org/ticket/3880