Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Interval.php

function Interval::untilPositiveInfinity

Return value

Constraint

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

Interval

Namespace

Composer\Semver

Code

public static function untilPositiveInfinity() {
    static $positiveInfinity;
    if (null === $positiveInfinity) {
        $positiveInfinity = new Constraint('<', PHP_INT_MAX . '.0.0.0');
    }
    return $positiveInfinity;
}
RSS feed
Powered by Drupal