mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix CS (#11003)
This commit is contained in:
parent
6e205a0c84
commit
131da999ac
357 changed files with 5943 additions and 9174 deletions
|
@ -32,11 +32,11 @@ class FossilDriverTest extends TestCase
|
|||
{
|
||||
$this->home = self::getUniqueTmpDirectory();
|
||||
$this->config = new Config();
|
||||
$this->config->merge(array(
|
||||
'config' => array(
|
||||
$this->config->merge([
|
||||
'config' => [
|
||||
'home' => $this->home,
|
||||
),
|
||||
));
|
||||
],
|
||||
]);
|
||||
}
|
||||
|
||||
protected function tearDown(): void
|
||||
|
@ -48,18 +48,15 @@ class FossilDriverTest extends TestCase
|
|||
|
||||
public static function supportProvider(): array
|
||||
{
|
||||
return array(
|
||||
array('http://fossil.kd2.org/kd2fw/', true),
|
||||
array('https://chiselapp.com/user/rkeene/repository/flint/index', true),
|
||||
array('ssh://fossil.kd2.org/kd2fw.fossil', true),
|
||||
);
|
||||
return [
|
||||
['http://fossil.kd2.org/kd2fw/', true],
|
||||
['https://chiselapp.com/user/rkeene/repository/flint/index', true],
|
||||
['ssh://fossil.kd2.org/kd2fw.fossil', true],
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider supportProvider
|
||||
*
|
||||
* @param string $url
|
||||
* @param bool $assertion
|
||||
*/
|
||||
public function testSupport(string $url, bool $assertion): void
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue