bdfc2aa652
This PR was squashed before being merged into the 2.7 branch (closes #19446).
Discussion
----------
[Console] Overcomplete argument exception message tweak.
| Q | A
| ------------- | ---
| Branch? | 2.7
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| License | MIT
Updates the exception message when to many arguments are passed.
From;
```php
'Too many arguments.'
```
To:
```php
'No argument expected, got "foo".'
// or
'Too many arguments, expected arguments "foo".'
// or
'Too many arguments, expected arguments "foo, bar".'
// ... turtles all the way down
```
Commits
-------
|
||
---|---|---|
.. | ||
Command | ||
Descriptor | ||
Fixtures | ||
Formatter | ||
Helper | ||
Input | ||
Logger | ||
Output | ||
Style | ||
Tester | ||
ApplicationTest.php |