pixelfed/pixelfed

View on GitHub
app/Http/Controllers/ProfileMigrationController.php

Summary

Maintainability
A
1 hr
Test Coverage

Method store has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function store(ProfileMigrationStoreRequest $request)
    {
        abort_if((bool) config_cache('federation.activitypub.enabled') === false, 404);
        $acct = WebfingerService::rawGet($request->safe()->acct);
        if (! $acct) {
Severity: Minor
Found in app/Http/Controllers/ProfileMigrationController.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status