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
* 3.4:
[DI] configure inlined services before injecting them when dumping the container
Consistently throw exceptions on a single line
fix fopen calls
Update .editorconfig
if (isset($config['resource']) && isset($config['path'])) {
253
-
thrownew \InvalidArgumentException(sprintf(
254
-
'The routing file "%s" must not specify both the "resource" key and the "path" key for "%s". Choose between an import and a route definition.',
255
-
$path, $name
256
-
));
250
+
thrownew \InvalidArgumentException(sprintf('The routing file "%s" must not specify both the "resource" key and the "path" key for "%s". Choose between an import and a route definition.', $path, $name));
257
251
}
258
252
if (!isset($config['resource']) && isset($config['type'])) {
259
-
thrownew \InvalidArgumentException(sprintf(
260
-
'The "type" key for the route definition "%s" in "%s" is unsupported. It is only available for imports in combination with the "resource" key.',
261
-
$name, $path
262
-
));
253
+
thrownew \InvalidArgumentException(sprintf('The "type" key for the route definition "%s" in "%s" is unsupported. It is only available for imports in combination with the "resource" key.', $name, $path));
263
254
}
264
255
if (!isset($config['resource']) && !isset($config['path'])) {
265
-
thrownew \InvalidArgumentException(sprintf(
266
-
'You must define a "path" for the route "%s" in file "%s".',
267
-
$name, $path
268
-
));
256
+
thrownew \InvalidArgumentException(sprintf('You must define a "path" for the route "%s" in file "%s".', $name, $path));
269
257
}
270
258
if (isset($config['controller']) && isset($config['defaults']['_controller'])) {
271
259
thrownew \InvalidArgumentException(sprintf('The routing file "%s" must not specify both the "controller" key and the defaults key "_controller" for "%s".', $path, $name));
0 commit comments