diff --git a/composer.json b/composer.json index 56061b5..ef01de5 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ }, "require-dev": { "phpunit/phpunit": "^4", - "symfony/console": "^3", + "symfony/console": "^2.5|^3", "satooshi/php-coveralls": "^1.0", "squizlabs/php_codesniffer": "2.*" }, diff --git a/tests/InjectConfigForCommandTest.php b/tests/InjectConfigForCommandTest.php index f0921a4..1a3e1a1 100644 --- a/tests/InjectConfigForCommandTest.php +++ b/tests/InjectConfigForCommandTest.php @@ -45,7 +45,7 @@ public function testInjection() $command = new MyFooCommand(); $input = new StringInput('my:foo'); - [$status, $output] = $this->runCommandViaApplication($command, $input); + list($status, $output) = $this->runCommandViaApplication($command, $input); $expectedOutput = <<< EOT Enter my:foo