This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Console/Tests
Fabien Potencier bdfc2aa652 minor #19446 [Console] Overcomplete argument exception message tweak. (SpacePossum)
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
-------

7af59cd [Console] Overcomplete argument exception message tweak.
2016-07-28 13:56:28 -04:00
..
Command Merge branch '2.3' into 2.7 2016-05-13 10:28:37 -05:00
Descriptor Merge branch '2.3' into 2.7 2016-01-25 10:55:53 +01:00
Fixtures [Console] [SymfonyStyle] Replace long word wrapping test to directly test output 2016-05-29 22:16:56 +02:00
Formatter Merge branch '2.3' into 2.7 2016-02-28 17:19:47 +01:00
Helper undefined offset fix (#19406) 2016-07-28 12:53:55 -04:00
Input [Console] Overcomplete argument exception message tweak. 2016-07-28 13:56:22 -04:00
Logger fixes CS 2015-08-24 09:13:45 +02:00
Output Merge branch '2.4' into 2.5 2014-07-08 14:21:33 +02:00
Style [Console] [SymfonyStyle] Replace long word wrapping test to directly test output 2016-05-29 22:16:56 +02:00
Tester [Console] added some tests for previous merge (refs #8626) 2013-09-30 21:59:36 +02:00
ApplicationTest.php Fixed bugs in names of classes and methods. 2016-07-26 06:40:54 +02:00