May 14, 2017 Javier Eguiluz

This week, Symfony continued tweaking and polishing the new Dependency Injection features introduced for Symfony 3.3. Meanwhile, the KernelTestCase class added a feature to define the kernel class instead of the kernel directory, which will be useful when using Symfony Flex.

Symfony development highlights

2.7 changelog:

62cb443: [DependencyInjection] fixed PhpDumper blank lines around namespace

71efe3f: [FrameworkBundle] adding the XML extension as a requirement

0ad2f2e: [FrameworkBundle] do not try registering bundles twice in AbstractConfigCommand

05240ce: [Console] fixed errors not rethrown even if not handled by console.error listeners

2a288db: [Security] avoid unnecessary route lookup for empty logout path

3.2 changelog:

8f4eb92: [Yaml] respect inline level when dumping objects as maps

Master changelog:

3646d08: [FrameworkBundle] allow to provide the kernel class with a var in KernelTestCase

f389fa3: [Workflow] moved Twig extension registration to Twig Bundle

ca509ea: [DependencyInjection] fixed index args bug with ResolveNamedArgumentsPass

ae9bda1: [FrameworkBundle] fiex "Locale class not found" in AboutCommand

a3f7860: [DependencyInjection] do not throw autowiring exceptions for a service that will be removed

b33f1df: [DependencyInjection] fixed a bug where abstract classes were wired with the prototype loader

83114ad: [Security] fixed TraceableAccessDecisionManager / DebugAccessDecisionManager BC layer

1503f3d: [DependencyInjection] made the RegisterControllerArgumentLocatorsPass throw exception on bad types

8d27128: [TwigBundle] removed ClassExistenceResource usage

489fd07: [DependencyInjection] added autowire alias for AuthenticationUtils

d975419: [TwigBundle] service workflow.twig_extension should stay public

Newest issues and pull requests

Twig development highlights

Master changelog:

cf93147: fixed generating template name in createTemplate() method

537db19, 97d741a, 860f801: prepare for PHP 7.2

ccee78e: supported PHPUnit 6 for testing extensions

ad59930: Dropped support for PHP 5.2

Silex development highlights

Master changelog:

74a6de7: fixed WebTestCase compatibility with PHPUnit 6+

They talked about us