Symfony 2.7 calls its own deprecated methods, raising warnings that break the build if we treat deprecated as an error