EscolaLMS/Consultations

View on GitHub
src/Http/Requests/ConsultationUserTermRequest.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Call to undeclared function \request()
Open

            'term' => ['required', 'date', new UserTermExist(request('consultationTermId'))],

Call to method __construct from undeclared class \EscolaLms\Consultations\Rules\UserTermExist
Open

            'term' => ['required', 'date', new UserTermExist(request('consultationTermId'))],

Class extends undeclared class \Illuminate\Foundation\Http\FormRequest
Open

class ConsultationUserTermRequest extends FormRequest

Call to undeclared function \auth()
Open

        $user = auth()->user();

There are no issues that match your filters.

Category
Status