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:
Clarify the exceptions are going to be rendered just after
[DI] Remove colon from env placeholders
fixed CS
[Yaml] initialize inline line numbers
[Workflow] Added tests for the is_valid() guard expression
[Workflow] Added guard 'is_valid()' method support
Add & use OptionResolverIntrospector
Add debug:form type option
if (class_exists($fqcn = $namespace.'\\'.$shortClassName)) {
110
146
$classes[] = $fqcn;
111
147
}
112
148
}
113
149
114
150
if (0 === $count = count($classes)) {
115
-
thrownewInvalidArgumentException(sprintf("Could not find type \"%s\" into the following namespaces:\n %s", $shortClassName, implode("\n", $this->namespaces)));
151
+
$message = sprintf("Could not find type \"%s\" into the following namespaces:\n %s", $shortClassName, implode("\n", $this->namespaces));
thrownewInvalidArgumentException(sprintf("The type \"%s\" is ambiguous.\n\nDid you mean one of these?\n %s", $shortClassName, implode("\n", $classes)));
122
170
}
123
171
124
-
return$io->choice(sprintf("The type \"%s\" is ambiguous.\n\n Select one of the following form types to display its information:", $shortClassName), $classes, $classes[0]);
172
+
return$io->choice(sprintf("The type \"%s\" is ambiguous.\n\nSelect one of the following form types to display its information:", $shortClassName), $classes, $classes[0]);
173
+
}
174
+
175
+
privatefunctiongetCoreTypes()
176
+
{
177
+
$coreExtension = newCoreExtension();
178
+
$loadTypesRefMethod = (new \ReflectionObject($coreExtension))->getMethod('loadTypes');
0 commit comments