public function InputOptionTest::testDefaultValueWithValueNoneMode in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Tests/Input/InputOptionTest.php \Symfony\Component\Console\Tests\Input\InputOptionTest::testDefaultValueWithValueNoneMode()
@expectedException \LogicException @expectedExceptionMessage Cannot set a default value when using InputOption::VALUE_NONE mode.
File
- vendor/
symfony/ console/ Tests/ Input/ InputOptionTest.php, line 166
Class
Namespace
Symfony\Component\Console\Tests\InputCode
public function testDefaultValueWithValueNoneMode() {
$option = new InputOption('foo', 'f', InputOption::VALUE_NONE);
$option
->setDefault('default');
}