mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Bump phpstan to level 3 (#9734)
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
This commit is contained in:
parent
8392508e23
commit
4940009f83
98 changed files with 1007 additions and 572 deletions
|
@ -119,6 +119,7 @@ class RepositoryManagerTest extends TestCase
|
|||
);
|
||||
|
||||
$rm->setRepositoryClass('path', 'Composer\Repository\PathRepository');
|
||||
/** @var \Composer\Repository\FilterRepository $repo */
|
||||
$repo = $rm->createRepository('path', array('type' => 'path', 'url' => __DIR__, 'only' => array('foo/bar')));
|
||||
|
||||
$this->assertInstanceOf('Composer\Repository\FilterRepository', $repo);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue