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
Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Tests/Fixtures/xml/deprecated_alias_definitions_without_package_and_version.xml
@@ -106,11 +89,11 @@ public function process(ContainerBuilder $container)
106
89
}
107
90
foreach (['action', 'argument', 'id'] as$k) {
108
91
if (!isset($attributes[$k][0])) {
109
-
thrownewInvalidArgumentException(sprintf('Missing "%s" attribute on tag "%s" %s for service "%s".', $k, $this->controllerTag, json_encode($attributes, \JSON_UNESCAPED_UNICODE), $id));
92
+
thrownewInvalidArgumentException(sprintf('Missing "%s" attribute on tag "controller.service_arguments" %s for service "%s".', $k, json_encode($attributes, \JSON_UNESCAPED_UNICODE), $id));
110
93
}
111
94
}
112
95
if (!isset($methods[$action = strtolower($attributes['action'])])) {
113
-
thrownewInvalidArgumentException(sprintf('Invalid "action" attribute on tag "%s" for service "%s": no public "%s()" method found on class "%s".', $this->controllerTag, $id, $attributes['action'], $class));
96
+
thrownewInvalidArgumentException(sprintf('Invalid "action" attribute on tag "controller.service_arguments" for service "%s": no public "%s()" method found on class "%s".', $id, $attributes['action'], $class));
114
97
}
115
98
[$r, $parameters] = $methods[$action];
116
99
$found = false;
@@ -126,7 +109,7 @@ public function process(ContainerBuilder $container)
126
109
}
127
110
128
111
if (!$found) {
129
-
thrownewInvalidArgumentException(sprintf('Invalid "%s" tag for service "%s": method "%s()" has no "%s" argument on class "%s".', $this->controllerTag, $id, $r->name, $attributes['argument'], $class));
112
+
thrownewInvalidArgumentException(sprintf('Invalid "controller.service_arguments" tag for service "%s": method "%s()" has no "%s" argument on class "%s".', $id, $r->name, $attributes['argument'], $class));
130
113
}
131
114
}
132
115
@@ -145,7 +128,7 @@ public function process(ContainerBuilder $container)
0 commit comments