$preferStable
$preferStable :
versionCompare(\Composer\Package\PackageInterface $a, \Composer\Package\PackageInterface $b, $operator)
\Composer\Package\PackageInterface | $a | |
\Composer\Package\PackageInterface | $b | |
$operator |
findUpdatePackages(\Composer\DependencyResolver\Pool $pool, array $installedMap, \Composer\Package\PackageInterface $package, $mustMatchName = false)
\Composer\DependencyResolver\Pool | $pool | |
array | $installedMap | |
\Composer\Package\PackageInterface | $package | |
$mustMatchName |
getPriority(\Composer\DependencyResolver\Pool $pool, \Composer\Package\PackageInterface $package)
\Composer\DependencyResolver\Pool | $pool | |
\Composer\Package\PackageInterface | $package |
selectPreferredPackages(\Composer\DependencyResolver\Pool $pool, array $installedMap, array $literals, $requiredPackage = null)
\Composer\DependencyResolver\Pool | $pool | |
array | $installedMap | |
array | $literals | |
$requiredPackage |
compareByPriorityPreferInstalled(\Composer\DependencyResolver\Pool $pool, array $installedMap, \Composer\Package\PackageInterface $a, \Composer\Package\PackageInterface $b, $requiredPackage = null, $ignoreReplace = false)
\Composer\DependencyResolver\Pool | $pool | |
array | $installedMap | |
\Composer\Package\PackageInterface | $a | |
\Composer\Package\PackageInterface | $b | |
$requiredPackage | ||
$ignoreReplace |
groupLiteralsByNamePreferInstalled(\Composer\DependencyResolver\Pool $pool, array $installedMap, $literals)
\Composer\DependencyResolver\Pool | $pool | |
array | $installedMap | |
$literals |
replaces(\Composer\Package\PackageInterface $source, \Composer\Package\PackageInterface $target) : boolean
Checks if source replaces a package with the same name as target.
Replace constraints are ignored. This method should only be used for prioritisation, not for actual constraint verification.
\Composer\Package\PackageInterface | $source | |
\Composer\Package\PackageInterface | $target |
pruneToBestVersion(\Composer\DependencyResolver\Pool $pool, $literals)
\Composer\DependencyResolver\Pool | $pool | |
$literals |
pruneToHighestPriorityOrInstalled(\Composer\DependencyResolver\Pool $pool, array $installedMap, array $literals)
Assumes that installed packages come first and then all highest priority packages
\Composer\DependencyResolver\Pool | $pool | |
array | $installedMap | |
array | $literals |
pruneRemoteAliases(\Composer\DependencyResolver\Pool $pool, array $literals)
Assumes that locally aliased (in root package requires) packages take priority over branch-alias ones
If no package is a local alias, nothing happens
\Composer\DependencyResolver\Pool | $pool | |
array | $literals |