Fabien Potencier
dc2cc6b13c
[Console] fixed input bug when the value of an option is empty ( closes #6649 , closes #6689 )
2013-01-11 14:49:52 +01:00
Pablo Godel
9aec4c8d04
Show correct class name InputArgument in error message
2012-11-05 14:52:03 -05:00
Pablo Godel
762649f5c3
shows correct class name InputOption in error message
2012-11-03 23:51:02 -04:00
Fabien Potencier
03d22b74ec
fixed CS (mainly method signatures)
2012-07-09 14:43:50 +02:00
Jeremy Mikola
d5a1343c29
[Console] Improve input definition output for Boolean defaults
...
Previously, Boolean defaults were printed as strings, which lead to true and false being printed as "1" and "", respectively. With this change, they are now printed as "true" and "false".
2011-12-15 01:07:36 -05:00
Antoine Hérault
fb051b2f98
[Command] Fix array option parsing
2011-06-07 14:58:11 +02:00
Fabien Potencier
b940cc6f40
moved most protected to private in the Console component
2011-03-11 12:53:42 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Degory Valentine
057e86161e
added test to verify ArgvInput->parse() failure with array input definition
2011-02-28 17:16:58 +01:00
Lukas Kahwe Smith
4b3c49550f
issues found by static code analysis
2011-02-27 19:34:02 +01:00
Kris Wallsmith
36ff9abe67
[Console] fixed new ArgvInput method
2011-02-12 21:51:34 +01:00
Dominique Bongiraud
64fb94c725
normalized license messages in PHP files
2011-01-18 08:07:46 +01:00
Ryan Weaver
7efb4630b8
[Command] Changing the InputOption::PARAMETER_* constants to InputOption::VALUE_* to more accurately reflect that these constants refer to the value or lack of value assigned to a particular option (e.g. --verbose or --em=doctrine).
...
To keep language consistent, three methods were changed in InputOption:
* `InputOption::acceptParameter()` -> `InputOption::acceptValue()`
* `InputOption::isParameterRequired()` -> InputOption::isValueRequired()`
* `InputOption::isParameterOptional()` -> `InputOption::isValueOptional()`
The InputDefinition::asXml() method was also modified to update the `accept_value` and `is_value_required` attributes.
2010-11-27 19:56:27 +01:00
Ryan Weaver
9c8cae24f8
[Console] Fixing incorrect constant references in InputArgumentTest.
2010-11-27 19:56:19 +01:00
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00