Appearance
Versions
php
final class Zairakai\LaravelDevTools\Update\VersionsThe versions of the packages: what a constraint accepts, the latest stable release, the next tag.
Source: src/Update/Versions.php
Methods
acceptsVersion()
php
public static function acceptsVersion(string $constraint, string $version): boolWhether a Composer constraint accepts a version. A constraint that cannot be read accepts nothing.
heldConstraints()
php
public static function heldConstraints(array $held, array $locked): arrayThe arguments of composer update that keep the held back packages at their locked version, also when another package requires them: -W would update them with the packages that need them.
Returns list<string>
nextVersion()
php
public static function nextVersion(string $last, string $level): stringThe version after $last for a level of change (major, minor or patch).