EscolaLMS/Auth

View on GitHub
src/Http/Requests/Admin/UserCreateRequest.php

Summary

Maintainability
A
1 hr
Test Coverage

Method rules has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function rules()
    {
        $rules = [
            'first_name' => ['required', 'string', 'max:255', new NoHtmlTags()],
            'last_name' => ['required', 'string', 'max:255', new NoHtmlTags()],
Severity: Minor
Found in src/Http/Requests/Admin/UserCreateRequest.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status