mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +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
|
@ -82,7 +82,7 @@ class RootAliasPackageTest extends TestCase
|
|||
|
||||
protected function getMockRootPackageInterface()
|
||||
{
|
||||
$root = $this->prophesize('Composer\\Package\\RootPackageInterface');
|
||||
$root = $this->prophesize('Composer\\Package\\RootPackage');
|
||||
$root->getName()->willReturn('something/something')->shouldBeCalled();
|
||||
$root->getRequires()->willReturn(array())->shouldBeCalled();
|
||||
$root->getDevRequires()->willReturn(array())->shouldBeCalled();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue