function Interval::untilPositiveInfinity
Return value
5 calls to Interval::untilPositiveInfinity()
- IgnoreListPlatformRequirementFilter::filterConstraint in vendor/
composer/ composer/ src/ Composer/ Filter/ PlatformRequirementFilter/ IgnoreListPlatformRequirementFilter.php - Interval::any in vendor/
composer/ semver/ src/ Interval.php - Intervals::compactConstraint in vendor/
composer/ semver/ src/ Intervals.php - Attempts to optimize a MultiConstraint
- Intervals::generateIntervals in vendor/
composer/ semver/ src/ Intervals.php - @phpstan-return array{'numeric': Interval[], 'branches': array{'names': string[], 'exclude': bool}}
- Intervals::generateSingleConstraintIntervals in vendor/
composer/ semver/ src/ Intervals.php - @phpstan-return array{'numeric': Interval[], 'branches': array{'names': string[], 'exclude': bool}}
File
-
vendor/
composer/ semver/ src/ Interval.php, line 62
Class
Namespace
Composer\SemverCode
public static function untilPositiveInfinity() {
static $positiveInfinity;
if (null === $positiveInfinity) {
$positiveInfinity = new Constraint('<', PHP_INT_MAX . '.0.0.0');
}
return $positiveInfinity;
}