in app/classes/ReleaseInsights/ESR.php [110:121]
public static function getMainDotVersion(?string $version): string
{
// This is a safety net as we may loop on a range with a version we didn't ship
if (is_null($version)) {
return '';
}
$version = explode('.', $version);
array_pop($version);
return implode('.', $version);
}