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
|
@ -91,6 +91,7 @@ class ArchiveDownloaderTest extends TestCase
|
|||
|
||||
/**
|
||||
* @dataProvider provideUrls
|
||||
* @param string $url
|
||||
*/
|
||||
public function testProcessUrlRewriteDist($url)
|
||||
{
|
||||
|
@ -128,6 +129,8 @@ class ArchiveDownloaderTest extends TestCase
|
|||
|
||||
/**
|
||||
* @dataProvider provideBitbucketUrls
|
||||
* @param string $url
|
||||
* @param string $extension
|
||||
*/
|
||||
public function testProcessUrlRewriteBitbucketDist($url, $extension)
|
||||
{
|
||||
|
@ -160,6 +163,9 @@ class ArchiveDownloaderTest extends TestCase
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Composer\Downloader\ArchiveDownloader&\PHPUnit\Framework\MockObject\MockObject
|
||||
*/
|
||||
private function getArchiveDownloaderMock()
|
||||
{
|
||||
return $this->getMockForAbstractClass(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue