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

@ -79,6 +79,7 @@ class GitDownloaderTest extends TestCase
* @param \Composer\Config $config
* @param \Composer\Test\Mock\ProcessExecutorMock $executor
* @param \Composer\Util\Filesystem $filesystem
* @return GitDownloader
*/
protected function getDownloaderMock($io = null, $config = null, $executor = null, $filesystem = null)
{
@ -238,6 +239,9 @@ class GitDownloaderTest extends TestCase
/**
* @dataProvider pushUrlProvider
* @param string[] $protocols
* @param string $url
* @param string $pushUrl
*/
public function testDownloadAndSetPushUrlUseCustomVariousProtocolsForGithub($protocols, $url, $pushUrl)
{