From c59a3da6064c30269ef40b48d5424ed2b1eb4ad1 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 26 May 2016 10:04:58 +0200 Subject: [PATCH] fixed PHP 5.3 compat in tests --- src/Symfony/Component/Console/Tests/ApplicationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Console/Tests/ApplicationTest.php b/src/Symfony/Component/Console/Tests/ApplicationTest.php index 8637b0f58f..d237721647 100644 --- a/src/Symfony/Component/Console/Tests/ApplicationTest.php +++ b/src/Symfony/Component/Console/Tests/ApplicationTest.php @@ -661,7 +661,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) {}) ;