Use short array declaration

This commit is contained in:
Romain Neutron
2013-11-18 11:58:12 +01:00
parent 2898b317c4
commit 56b373ee6e
723 changed files with 8350 additions and 8352 deletions

View File

@@ -13,7 +13,7 @@ class module_console_systemTemplateGeneratorTest extends PHPUnit_Framework_TestC
$command = $application['console']->find('system:templateGenerator');
$commandTester = new CommandTester($command);
$commandTester->execute(array('command' => $command->getName()));
$commandTester->execute(['command' => $command->getName()]);
$data = explode("\n", trim($commandTester->getDisplay()));
$last_line = array_pop($data);