public function supportsAbove($phpVersion)
    {
        $testVersion = $this->getTestVersion();
        $testVersion = $testVersion[1];

        if (\is_null($testVersion)
            || version_compare($testVersion, $phpVersion) >= 0
        ) {
            return true;
        } else {
            return false;
        }
    }
public function supportsAbove($phpVersion)
    {
        $testVersion = $this->getTestVersion();
        $testVersion = $testVersion[1];

        if (\is_null($testVersion)
            || version_compare($testVersion, $phpVersion) >= 0
        ) {
            return true;
        } else {
            return false;
        }
    }
public function supportsAbove ( $ phpVersion ) { $ testVersion = $ this -> getTestVersion ( ) ; $ testVersion = $ testVersion [ 1 ] ; if ( \ is_null ( $ testVersion ) || version_compare ( $ testVersion , $ phpVersion ) >= 0 ) { return true ; } else { return false ; } }
Check whether a specific PHP version is equal to or higher than the maximum
supported PHP version as provided by the user in `testVersion`.

Should be used when sniffing for *old* PHP features (deprecated/removed).

@param string $phpVersion A PHP version number in 'major.minor' format.

@return bool True if testVersion has not been provided or if the PHP version
is equal to or higher than the highest supported PHP version
in testVersion. False otherwise.
Check whether a specific PHP version is equal to or higher than the maximum supported PHP version as provided by the user in testVersion .