deployphp/deployer

View on GitHub
contrib/sentry.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getGitCommitsRefs has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function getGitCommitsRefs(): Closure
{
    return static function ($config = []): array {
        $previousReleaseRevision = getPreviousReleaseRevision();
        $currentReleaseRevision = getCurrentReleaseRevision() ?: 'HEAD';
Severity: Minor
Found in contrib/sentry.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status