Showing 1,241 of 1,241 total issues
Call to undeclared method \EscolaLms\Consultations\Models\ConsultationUserTerm::belongsTo
Open
Open
return $this->belongsTo(ConsultationUserPivot::class, 'consultation_user_id', 'id', 'consultation_user');
- Exclude checks
Return type of consultations()
is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsToMany
Open
Open
public function consultations(): BelongsToMany
- Exclude checks
Call to method findOrCreate
from undeclared class \Spatie\Permission\Models\Permission
Open
Open
Permission::findOrCreate(ConsultationsPermissionsEnum::CONSULTATION_CREATE, 'api');
- Exclude checks
Call to method findOrCreate
from undeclared class \Spatie\Permission\Models\Permission
Open
Open
Permission::findOrCreate(ConsultationsPermissionsEnum::CONSULTATION_READ, 'api');
- Exclude checks
Reference to constant class
from undeclared class \Laravel\Passport\Passport
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
protected string $name;
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\EscolaLmsConsultationsServiceProvider->app
Open
Open
$this->app->register(EscolaLmsCategoriesServiceProvider::class);
- Exclude checks
Possibly zero references to use statement for classlike/namespace Gate
(\Illuminate\Support\Facades\Gate)
Open
Open
use Illuminate\Support\Facades\Gate;
- Exclude checks
Static call to undeclared method \EscolaLms\Consultations\Enum\ConsultationTermStatusEnum::getValues
Open
Open
'status' => ['string', Rule::in(ConsultationTermStatusEnum::getValues())],
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationProposedTermResource->resource
Open
Open
return is_string($this->resource) ? Carbon::make($this->resource) : $this->resource;
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationTermResource->resource
Open
Open
return is_string($this->resource) ? Carbon::make($this->resource) : $this->resource;
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserTermsResource->resource
Open
Open
'date' => Carbon::make($this->resource->executed_at) ?? '',
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserTermsResource->resource
Open
Open
$this->resource->executed_at,
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserTermsResource->resource
Open
Open
$this->resource->executed_status,
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Models\Consultation->attributes
Open
Open
if ($this->attributes['image_path'] ?? null) {
- Exclude checks
Call to method getExtraAttributesValues
from undeclared class \EscolaLms\ModelFields\Facades\ModelFields
Open
Open
ModelFields::getExtraAttributesValues($this->resource, MetaFieldVisibilityEnum::PUBLIC)
- Exclude checks
Call to method make
from undeclared class \Illuminate\Support\Carbon
Open
Open
return is_string($this->resource) ? Carbon::make($this->resource) : $this->resource;
- Exclude checks
Call to method make
from undeclared class \Illuminate\Support\Carbon
Open
Open
return is_string($this->resource) ? Carbon::make($this->resource) : $this->resource;
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationTermsResource->resource
Open
Open
$this->resource->executed_at,
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationTermsResource->resource
Open
Open
$this->resource->executed_at,
- Exclude checks