updated packages
This commit is contained in:
@@ -79,7 +79,7 @@ class ProgressIndicatorTest extends TestCase
|
||||
|
||||
public function testCustomIndicatorValues()
|
||||
{
|
||||
$bar = new ProgressIndicator($output = $this->getOutputStream(), null, 100, array('a', 'b', 'c'));
|
||||
$bar = new ProgressIndicator($output = $this->getOutputStream(), null, 100, ['a', 'b', 'c']);
|
||||
|
||||
$bar->start('Starting...');
|
||||
usleep(101000);
|
||||
@@ -106,7 +106,7 @@ class ProgressIndicatorTest extends TestCase
|
||||
*/
|
||||
public function testCannotSetInvalidIndicatorCharacters()
|
||||
{
|
||||
$bar = new ProgressIndicator($this->getOutputStream(), null, 100, array('1'));
|
||||
$bar = new ProgressIndicator($this->getOutputStream(), null, 100, ['1']);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -161,12 +161,12 @@ class ProgressIndicatorTest extends TestCase
|
||||
*/
|
||||
public function provideFormat()
|
||||
{
|
||||
return array(
|
||||
array('normal'),
|
||||
array('verbose'),
|
||||
array('very_verbose'),
|
||||
array('debug'),
|
||||
);
|
||||
return [
|
||||
['normal'],
|
||||
['verbose'],
|
||||
['very_verbose'],
|
||||
['debug'],
|
||||
];
|
||||
}
|
||||
|
||||
protected function getOutputStream($decorated = true, $verbosity = StreamOutput::VERBOSITY_NORMAL)
|
||||
|
||||
Reference in New Issue
Block a user