Showing 1,241 of 1,241 total issues
Call to undeclared function \app()
Open
Open
$consultationServiceContract = app(ConsultationServiceContract::class);
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserResource->resource
Open
Open
'street' => $this->resource->street,
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserResource->resource
Open
Open
'updated_at' => $this->resource->updatedAt,
- Exclude checks
Static call to undeclared method \EscolaLms\Consultations\Database\Factories\ConsultationFactory::new
Open
Open
return ConsultationFactory::new();
- Exclude checks
Class uses undeclared trait \Illuminate\Auth\Access\HandlesAuthorization
Open
Open
class ConsultationPolicy
- Exclude checks
Call to method findOrCreate
from undeclared class \Spatie\Permission\Models\Permission
Open
Open
Permission::findOrCreate(ConsultationsPermissionsEnum::CONSULTATION_CHANGE_TERM, 'api');
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\AuthServiceProvider->app
Open
Open
if (!$this->app->routesAreCached() && method_exists(Passport::class, 'routes')) {
- Exclude checks
syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private string $namespace;
- Exclude checks
Call to method allows
from undeclared class \Illuminate\Support\Facades\Gate
Open
Open
return Gate::allows(ConsultationsPermissionsEnum::CONSULTATION_CHANGE_TERM, ConsultationUserPivot::class);
- Exclude checks
Call to undeclared function \request()
Open
Open
'term' => ['required', 'date', new UserTermExist(request('consultationTermId') ? (int) request('consultationTermId') : null)],
- Exclude checks
Call to undeclared method \EscolaLms\Consultations\Http\Requests\UpdateConsultationRequest::route
Open
Open
$prefixPath = ConstantEnum::DIRECTORY . '/' . $this->route('id');
- Exclude checks
Class extends undeclared class \Illuminate\Http\Resources\Json\JsonResource
Open
Open
class ConsultationTermsResource extends JsonResource
- Exclude checks
Class uses undeclared trait \EscolaLms\Auth\Traits\ResourceExtandable
Open
Open
class ConsultationTermsResource extends JsonResource
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationTermsResource->resource
Open
Open
'consultation_term_id' => $this->resource->consultation_user_id,
- Exclude checks
Static call to undeclared method \EscolaLms\Consultations\Http\Resources\ConsultationUserResource::collection
Open
Open
'users' => ConsultationUserResource::collection($this->resource->users),
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationTermsResource->resource
Open
Open
$this->resource->executed_status,
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserResource->resource
Open
Open
'last_name' => $this->resource->lastName,
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserTermsResource->resource
Open
Open
ConsultationAuthorResource::make($this->resource->consultationUser->user) :
- Exclude checks
Return type of teachers()
is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsToMany
Open
Open
public function teachers(): BelongsToMany
- Exclude checks
Parameter $user
has undeclared type \EscolaLms\Auth\Models\User
(Did you mean class \EscolaLms\Consultations\Models\User) Open
Open
public function list(User $user): bool
- Exclude checks