pixelfed/pixelfed

View on GitHub
app/Util/ActivityPub/Validator/UpdatePersonValidator.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method validate has 91 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function validate($payload)
    {
        $valid = Validator::make($payload, [
            '@context' => 'required',
            'id' => 'required|string|url',
Severity: Major
Found in app/Util/ActivityPub/Validator/UpdatePersonValidator.php - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status