mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Add types to Repository
tests (#10227)
This commit is contained in:
parent
3d9e9ba66f
commit
d51c7685da
15 changed files with 133 additions and 23 deletions
|
@ -51,6 +51,13 @@ class RepositoryFactoryTest extends TestCase
|
|||
|
||||
/**
|
||||
* @dataProvider generateRepositoryNameProvider
|
||||
*
|
||||
* @param int|string $index
|
||||
* @param array<string, string> $config
|
||||
* @param array<string, mixed> $existingRepos
|
||||
* @param int|string $expected
|
||||
*
|
||||
* @phpstan-param array{url?: string} $config
|
||||
*/
|
||||
public function testGenerateRepositoryName($index, array $config, array $existingRepos, $expected)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue