Merge branch 'hotfix/2.4.6' into develop
Port from symfony/framework-standard-edition 2.6.
http://symfony.com/doc/current/cookbook/testing/bootstrap.html
Merge branch 'release/2.4.7'