always-open/laravel-process-stamps

View on GitHub
src/ProcessStamp.php

Summary

Maintainability
A
1 hr
Test Coverage

Method firstOrCreateByProcess has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function firstOrCreateByProcess(array $process, ?string $hash = null) : self
    {
        if (empty($process['type'])) {
            $process['type'] = 'other';
        }
Severity: Minor
Found in src/ProcessStamp.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status