contrib/sentry.php
Method getGitCommitsRefs
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getGitCommitsRefs(): Closure
{
return static function ($config = []): array {
$previousReleaseRevision = getPreviousReleaseRevision();
$currentReleaseRevision = getCurrentReleaseRevision() ?: 'HEAD';