Merge branch '2.8' into 3.0
* 2.8: fixed PHP 5.3 compat in tests
This commit is contained in:
commit
afece71f7c
|
@ -726,7 +726,7 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase
|
|||
|
||||
$application
|
||||
->register('foo')
|
||||
->setAliases(['f'])
|
||||
->setAliases(array('f'))
|
||||
->setDefinition(array(new InputOption('survey', 'e', InputOption::VALUE_REQUIRED, 'My option with a shortcut.')))
|
||||
->setCode(function (InputInterface $input, OutputInterface $output) {})
|
||||
;
|
||||
|
|
Reference in New Issue