updated packages

This commit is contained in:
2019-05-18 09:06:43 +00:00
parent 901d16349e
commit e9487fa58a
2025 changed files with 30366 additions and 49653 deletions

View File

@@ -30,11 +30,11 @@ class RouterTest extends TestCase
public function testSetOptionsWithSupportedOptions()
{
$this->router->setOptions(array(
$this->router->setOptions([
'cache_dir' => './cache',
'debug' => true,
'resource_type' => 'ResourceType',
));
]);
$this->assertSame('./cache', $this->router->getOption('cache_dir'));
$this->assertTrue($this->router->getOption('debug'));
@@ -47,12 +47,12 @@ class RouterTest extends TestCase
*/
public function testSetOptionsWithUnsupportedOptions()
{
$this->router->setOptions(array(
$this->router->setOptions([
'cache_dir' => './cache',
'option_foo' => true,
'option_bar' => 'baz',
'resource_type' => 'ResourceType',
));
]);
}
public function testSetOptionWithSupportedOption()
@@ -109,10 +109,10 @@ class RouterTest extends TestCase
public function provideMatcherOptionsPreventingCaching()
{
return array(
array('cache_dir'),
array('matcher_cache_class'),
);
return [
['cache_dir'],
['matcher_cache_class'],
];
}
/**
@@ -131,10 +131,10 @@ class RouterTest extends TestCase
public function provideGeneratorOptionsPreventingCaching()
{
return array(
array('cache_dir'),
array('generator_cache_class'),
);
return [
['cache_dir'],
['generator_cache_class'],
];
}
public function testMatchRequestWithUrlMatcherInterface()