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
bug #52836 [DependencyInjection] Fix parsing named autowiring aliases that contain underscores (nicolas-grekas)
This PR was merged into the 6.4 branch.
Discussion
----------
[DependencyInjection] Fix parsing named autowiring aliases that contain underscores
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix #52815
| License | MIT
Fixing a regression introduced in #50718
Commits
-------
69a115c2544 [DependencyInjection] Fix parsing named autowiring aliases that contain underscores
@@ -57,6 +59,6 @@ public static function parseName(\ReflectionParameter $parameter, self &$attribu
57
59
thrownewInvalidArgumentException(sprintf('Invalid #[Target] name "%s" on parameter "$%s" of "%s()": the first character must be a letter.', $name, $parameter->name, $function));
$this->errorMessages[] = sprintf('Did you forget to add the type "%s" to argument "$%s" of method "%s::%s()"?', $argumentType, $parameter->name, $reflectionMethod->class, $reflectionMethod->name);
0 commit comments