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: (26 commits)
[Dotenv] Fix testBootEnv() to start from a fresh context
fix tests
relax expected exception message for forward-compatibility with 5.4
fix expected exception messages after changes made in Definition class
[DependencyInjection] show class name on DI errors
skip command completion tests with older Symfony Console versions
Use GitHub issue form templates
Fix CS
add ResponseIsUnprocessable
Add missing translations for Persian (fa)
skip command completion tests with older Symfony Console versions
prevent issues with timezones and DST by using only UNIX timestamps
Add the missing translations for Bahasa Indonesia (id)
[Finder] Fix .gitignore infinite loop
Update README.md
fix messenger DI dependency for registerAttributeForAutoconfiguration
[Messenger] Autoconfigurable attributes
Fix deprecations on PHP 8.2
[Dotenv] Fix testLoadEnv() .env.dist isolation
Since 5.0, throws \UnexpectedValueException has been removed.
...
thrownewOutOfBoundsException(sprintf('The index "%d" is not in the range [0, %d].', $index, \count($this->arguments) - 1));
259
+
thrownewOutOfBoundsException(sprintf('The index "%d" is not in the range [0, %d] of the arguments of class "%s".', $index, \count($this->arguments) - 1, $this->class));
260
260
}
261
261
262
262
if (!\array_key_exists($index, $this->arguments)) {
@@ -1049,11 +1049,12 @@ public function testDoNotAutowireDecoratorWhenSeveralArgumentOfTheType()
1049
1049
->setAutowired(true)
1050
1050
;
1051
1051
1052
+
(newDecoratorServicePass())->process($container);
1052
1053
try {
1053
1054
(newAutowirePass())->process($container);
1054
1055
$this->fail('AutowirePass should have thrown an exception');
1055
1056
} catch (AutowiringFailedException$e) {
1056
-
$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());
1057
+
$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());
0 commit comments