diff -ru src/Symfony/Component/DependencyInjection/Tests/Fixtures/config/php7.php src/Symfony/Component/DependencyInjection/Tests/Fixtures/config/php7.php --- src/Symfony/Component/DependencyInjection/Tests/Fixtures/config/php7.php 2017-10-04 10:56:42.570942896 +0000 +++ src/Symfony/Component/DependencyInjection/Tests/Fixtures/config/php7.php 2017-10-04 10:56:46.958846446 +0000 @@ -5,15 +5,11 @@ use Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\Foo; return function (ContainerConfigurator $c) { - $c->parameters() - ('foo', 'Foo') - ('bar', 'Bar') + $c->parameters()('foo', 'Foo')('bar', 'Bar') ; - $c->services() - (Foo::class) + $c->services()(Foo::class) ->arg('$bar', ref('bar')) - ->public() - ('bar', Foo::class) + ->public()('bar', Foo::class) ->call('setFoo') ; }; diff -ru src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php --- src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php 2017-10-04 10:56:43.242928125 +0000 +++ src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php 2017-10-04 10:56:47.742829214 +0000 @@ -311,7 +311,7 @@ if ($this->has('foobaz')) { $instance->setBar(${($_ = isset($this->services['foobaz']) ? $this->services['foobaz'] : $this->get('foobaz', ContainerInterface::NULL_ON_INVALID_REFERENCE)) && false ?: '_'}); } - $instance->setBar((${($_ = isset($this->services['foo']) ? $this->services['foo'] : $this->getFooService()) && false ?: '_'}->foo() . (($this->hasParameter("foo")) ? ($this->getParameter("foo")) : ("default")))); + $instance->setBar((${($_ = isset($this->services['foo']) ? $this->services['foo'] : $this->getFooService()) && false ?: '_'}->foo().(($this->hasParameter('foo')) ? ($this->getParameter('foo')) : ('default')))); return $instance; } diff -ru src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php --- src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php 2017-10-04 10:56:43.494922586 +0000 +++ src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php 2017-10-04 10:56:47.422836247 +0000 @@ -309,8 +309,8 @@ $this->services['method_call1'] = $instance = new \Bar\FooClass(); $instance->setBar(${($_ = isset($this->services['foo']) ? $this->services['foo'] : $this->getFooService()) && false ?: '_'}); - $instance->setBar(NULL); - $instance->setBar((${($_ = isset($this->services['foo']) ? $this->services['foo'] : $this->getFooService()) && false ?: '_'}->foo() . (($this->hasParameter("foo")) ? ($this->getParameter("foo")) : ("default")))); + $instance->setBar(null); + $instance->setBar((${($_ = isset($this->services['foo']) ? $this->services['foo'] : $this->getFooService()) && false ?: '_'}->foo().(($this->hasParameter('foo')) ? ($this->getParameter('foo')) : ('default')))); return $instance; }