Showing 1,241 of 1,241 total issues
Call to method allows
from undeclared class \Illuminate\Support\Facades\Gate
Open
Open
return Gate::allows('list', Consultation::class);
- Exclude checks
Call to method in
from undeclared class \Illuminate\Validation\Rule
Open
Open
'status' => ['string', Rule::in(ConsultationTermStatusEnum::getValues())],
- Exclude checks
Call to method getFieldsMetadataRules
from undeclared class \EscolaLms\ModelFields\Facades\ModelFields
Open
Open
], ModelFields::getFieldsMetadataRules(Consultation::class));
- Exclude checks
Class uses undeclared trait \EscolaLms\Auth\Traits\ResourceExtandable
Open
Open
class ConsultationAuthorResource extends JsonResource
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationAuthorResource->resource
Open
Open
['categories' => $this->resource->categories],
- Exclude checks
Call to method findOrCreate
from undeclared class \Spatie\Permission\Models\Permission
Open
Open
Permission::findOrCreate(ConsultationsPermissionsEnum::CONSULTATION_DELETE, 'api');
- Exclude checks
Call to method findOrCreate
from undeclared class \Spatie\Permission\Models\Permission
Open
Open
Permission::findOrCreate(ConsultationsPermissionsEnum::CONSULTATION_READ_OWN, 'api');
- Exclude checks
syntax error, unexpected 'int' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
protected int $consultationId;
- Exclude checks
Reference to constant class
from undeclared class \EscolaLms\Consultations\Services\ConsultationService
Open
Open
ConsultationServiceContract::class => ConsultationService::class
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\EscolaLmsConsultationsServiceProvider->app
Open
Open
$this->app->register(EscolaLmsSettingsServiceProvider::class);
- Exclude checks
Return type of render()
is undeclared type \Illuminate\Http\JsonResponse
Open
Open
public function render($request): JsonResponse
- Exclude checks
Return type of schedule()
is undeclared type \Illuminate\Http\JsonResponse
Open
Open
public function schedule(ScheduleConsultationAPIRequest $scheduleConsultationAPIRequest): JsonResponse;
- Exclude checks
Call to method __construct
from undeclared class \EscolaLms\Consultations\Rules\UserTermExist
Open
Open
'term' => ['required', 'date', new UserTermExist(request('consultationTermId'))],
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationAuthorResource->resource
Open
Open
$this->resource->toArray(),
- Exclude checks
Reference to constant PUBLIC
from undeclared class \EscolaLms\ModelFields\Enum\MetaFieldVisibilityEnum
Open
Open
ModelFields::getExtraAttributesValues($this->resource, MetaFieldVisibilityEnum::PUBLIC)
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationTermsResource->resource
Open
Open
'date' => Carbon::make($this->resource->executed_at) ?? '',
- Exclude checks
Call to method create
from undeclared class \Illuminate\Support\Facades\Schema
Open
Open
Schema::create('consultation_proposed_terms', function (Blueprint $table) {
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationTermsResource->resource
Open
Open
'users' => ConsultationUserResource::collection($this->resource->users),
- Exclude checks
Call to method bigInteger
from undeclared class \Illuminate\Database\Schema\Blueprint
Open
Open
$table->bigInteger('consultation_id')->unsigned();
- Exclude checks
Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationTermsResource->resource
Open
Open
$this->resource->duration
- Exclude checks