private function areNullableReturnTypesSupported(): bool
    {
        $testVersion = trim(PHPCompatibility\PHPCSHelper::getConfigData('testVersion') ?: '');
        if (!$testVersion) {
            return false;
        }

        preg_match('`^(\d+\.\d+)(?:\s*-\s*(?:\d+\.\d+)?)?$`', $testVersion, $matches);
        $min = $matches[1] ?? null;

        return $min && version_compare($min, '7.1', '>=');
    }
private function areNullableReturnTypesSupported(): bool
    {
        $testVersion = trim(PHPCompatibility\PHPCSHelper::getConfigData('testVersion') ?: '');
        if (!$testVersion) {
            return false;
        }

        preg_match('`^(\d+\.\d+)(?:\s*-\s*(?:\d+\.\d+)?)?$`', $testVersion, $matches);
        $min = $matches[1] ?? null;

        return $min && version_compare($min, '7.1', '>=');
    }
private function areNullableReturnTypesSupported ( ) : bool { $ testVersion = trim ( PHPCompatibility \ PHPCSHelper :: getConfigData ( 'testVersion' ) ? : '' ) ; if ( ! $ testVersion ) { return false ; } preg_match ( '`^(\d+\.\d+)(?:\s*-\s*(?:\d+\.\d+)?)?$`' , $ testVersion , $ matches ) ; $ min = $ matches [ 1 ] ?? null ; return $ min && version_compare ( $ min , '7.1' , '>=' ) ; }
Return true if _min_ supported version is PHP 7.1.

@return bool
Return true if _min_ supported version is PHP 7 . 1 .