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:
parent
a86046f9e4
commit
cb0293cf30
20 changed files with 136 additions and 17 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue