Skip to content

Commit

Permalink
Fix phpstan error
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Oct 27, 2021
1 parent f8ad0bb commit e5fc8a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Composer/Test/Repository/FilesystemRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
namespace Composer\Test\Repository;

use Composer\Package\RootPackageInterface;
use Composer\Package\RootAliasPackage;
use Composer\Repository\FilesystemRepository;
use Composer\Test\TestCase;
use Composer\Json\JsonFile;
Expand Down Expand Up @@ -135,6 +136,7 @@ public function testRepositoryWritesInstalledPhp()
$rootPackage->setSourceReference('sourceref-by-default');
$rootPackage->setDistReference('distref');
$this->configureLinks($rootPackage, array('provide' => array('foo/impl' => '2.0')));
/** @var RootAliasPackage $rootPackage */
$rootPackage = $this->getAliasPackage($rootPackage, '1.10.x-dev');

$repository = new FilesystemRepository($json, true, $rootPackage);
Expand Down

0 comments on commit e5fc8a9

Please sign in to comment.