Added phpdoc types for PoolBuilder (#8862)
parent
c23670c3ec
commit
11930001fb
|
@ -21,6 +21,7 @@ use Composer\Package\Version\StabilityFilter;
|
||||||
use Composer\Repository\PlatformRepository;
|
use Composer\Repository\PlatformRepository;
|
||||||
use Composer\Repository\RootPackageRepository;
|
use Composer\Repository\RootPackageRepository;
|
||||||
use Composer\Semver\Constraint\Constraint;
|
use Composer\Semver\Constraint\Constraint;
|
||||||
|
use Composer\Semver\Constraint\ConstraintInterface;
|
||||||
use Composer\Semver\Constraint\EmptyConstraint;
|
use Composer\Semver\Constraint\EmptyConstraint;
|
||||||
use Composer\Semver\Constraint\MultiConstraint;
|
use Composer\Semver\Constraint\MultiConstraint;
|
||||||
use Composer\EventDispatcher\EventDispatcher;
|
use Composer\EventDispatcher\EventDispatcher;
|
||||||
|
@ -32,23 +33,53 @@ use Composer\Plugin\PluginEvents;
|
||||||
*/
|
*/
|
||||||
class PoolBuilder
|
class PoolBuilder
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @var int[]
|
||||||
|
*/
|
||||||
private $acceptableStabilities;
|
private $acceptableStabilities;
|
||||||
|
/**
|
||||||
|
* @var int[]
|
||||||
|
*/
|
||||||
private $stabilityFlags;
|
private $stabilityFlags;
|
||||||
/**
|
/**
|
||||||
* @psalm-var array<string, array<string, array{alias: string, alias_normalized: string}>>
|
* @psalm-var array<string, array<string, array{alias: string, alias_normalized: string}>>
|
||||||
*/
|
*/
|
||||||
private $rootAliases;
|
private $rootAliases;
|
||||||
|
/**
|
||||||
|
* @psalm-var array<string, string>
|
||||||
|
*/
|
||||||
private $rootReferences;
|
private $rootReferences;
|
||||||
|
/**
|
||||||
|
* @var EventDispatcher
|
||||||
|
*/
|
||||||
private $eventDispatcher;
|
private $eventDispatcher;
|
||||||
|
/**
|
||||||
|
* @var IOInterface
|
||||||
|
*/
|
||||||
private $io;
|
private $io;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @psalm-var array<string, AliasPackage>
|
||||||
|
*/
|
||||||
private $aliasMap = array();
|
private $aliasMap = array();
|
||||||
|
/**
|
||||||
|
* @psalm-var array<string, ConstraintInterface[]|null>
|
||||||
|
*/
|
||||||
private $nameConstraints = array();
|
private $nameConstraints = array();
|
||||||
private $loadedNames = array();
|
private $loadedNames = array();
|
||||||
|
/**
|
||||||
|
* @psalm-var Package[]
|
||||||
|
*/
|
||||||
private $packages = array();
|
private $packages = array();
|
||||||
|
/**
|
||||||
|
* @psalm-var list<Package>
|
||||||
|
*/
|
||||||
private $unacceptableFixedPackages = array();
|
private $unacceptableFixedPackages = array();
|
||||||
private $updateAllowList = array();
|
private $updateAllowList = array();
|
||||||
private $skippedLoad = array();
|
private $skippedLoad = array();
|
||||||
|
/**
|
||||||
|
* @psalm-var array<string, bool>
|
||||||
|
*/
|
||||||
private $updateAllowWarned = array();
|
private $updateAllowWarned = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue