You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 5.4:
[Translation] Throw exception if symfony/finder is not installed for PhpExtractor
fix tests
Fix tests failing with DBAL 3
Fix circular reference in autowired decorators
[Security] Do not deauthenticate token on user change if not an AbstractToken
@@ -1010,12 +1010,11 @@ public function testDoNotAutowireDecoratorWhenSeveralArgumentOfTheType()
1010
1010
->setAutowired(true)
1011
1011
;
1012
1012
1013
-
(newDecoratorServicePass())->process($container);
1014
1013
try {
1015
1014
(newAutowirePass())->process($container);
1016
1015
$this->fail('AutowirePass should have thrown an exception');
1017
1016
} catch (AutowiringFailedException$e) {
1018
-
$this->assertSame('Cannot autowire service "Symfony\Component\DependencyInjection\Tests\Compiler\NonAutowirableDecorator": argument "$decorated1" of method "__construct()" references interface "Symfony\Component\DependencyInjection\Tests\Compiler\DecoratorInterface" but no such service exists. You should maybe alias this interface to one of these existing services: "Symfony\Component\DependencyInjection\Tests\Compiler\NonAutowirableDecorator", "Symfony\Component\DependencyInjection\Tests\Compiler\NonAutowirableDecorator.inner".', (string) $e->getMessage());
1017
+
$this->assertSame('Cannot autowire service "Symfony\Component\DependencyInjection\Tests\Compiler\NonAutowirableDecorator": argument "$decorated1" of method "__construct()" references interface "Symfony\Component\DependencyInjection\Tests\Compiler\DecoratorInterface" but no such service exists. You should maybe alias this interface to one of these existing services: "Symfony\Component\DependencyInjection\Tests\Compiler\Decorated", "Symfony\Component\DependencyInjection\Tests\Compiler\NonAutowirableDecorator".', (string) $e->getMessage());
1019
1018
}
1020
1019
}
1021
1020
@@ -1069,4 +1068,23 @@ public function testArgumentWithTarget()
0 commit comments