1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Finalize phpstan level 6 for tests dir, closes #10159

This commit is contained in:
Jordi Boggiano 2021-11-02 14:32:09 +01:00
parent a86046f9e4
commit cb0293cf30
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
20 changed files with 136 additions and 17 deletions

View file

@ -18,6 +18,9 @@ class ConfigTest extends TestCase
{
/**
* @dataProvider dataAddPackagistRepository
* @param mixed[] $expected
* @param mixed[] $localConfig
* @param ?mixed[] $systemConfig
*/
public function testAddPackagistRepository($expected, $localConfig, $systemConfig = null)
{
@ -265,7 +268,7 @@ class ConfigTest extends TestCase
}
/**
* @return array List of test URLs that should pass strict security
* @return string[][] List of test URLs that should pass strict security
*/
public function allowedUrlProvider()
{
@ -286,7 +289,7 @@ class ConfigTest extends TestCase
}
/**
* @return array List of test URLs that should not pass strict security
* @return string[][] List of test URLs that should not pass strict security
*/
public function prohibitedUrlProvider()
{