EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

Reference to undeclared property \EscolaLms\Webinar\Http\Resources\WebinarSimpleResource->resource
Open

            'trainers' => TrainerResource::collection($this->resource->trainers),

Reference to constant class from undeclared class \EscolaLms\Tags\Models\Tag
Open

        return $this->morphMany(Tag::class, 'morphable');
Severity: Critical
Found in src/Models/Webinar.php by phan

Reference to undeclared property \EscolaLms\Webinar\Models\Webinar->attributes
Open

        if ($this->attributes['logotype_path'] ?? null) {
Severity: Minor
Found in src/Models/Webinar.php by phan

syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private string $name;
Severity: Critical
Found in src/Dto/FilterListDto.php by phan

Possibly zero references to use statement for classlike/namespace WebinarTermReminderStatusEnum (\EscolaLms\Webinar\Enum\WebinarTermReminderStatusEnum)
Open

use EscolaLms\Webinar\Enum\WebinarTermReminderStatusEnum;

Reference to constant class from undeclared class \EscolaLms\Jitsi\EscolaLmsJitsiServiceProvider
Open

        $this->app->register(EscolaLmsJitsiServiceProvider::class);
Severity: Critical
Found in src/EscolaLmsWebinarServiceProvider.php by phan

Return type of show() is undeclared type \Illuminate\Http\JsonResponse
Open

    public function show(int $id, ShowWebinarRequest $request): JsonResponse;

Return type of update() is undeclared type \Illuminate\Http\JsonResponse
Open

    public function update(int $id, UpdateWebinarRequest $updateWebinarRequest): JsonResponse;

Static call to undeclared method \EscolaLms\Webinar\Models\Webinar::findOrFail
Open

        return Webinar::findOrFail($this->route('webinar'));
Severity: Critical
Found in src/Http/Requests/BaseWebinarRequest.php by phan

Static call to undeclared method \EscolaLms\Webinar\Enum\WebinarStatusEnum::getValues
Open

            'status' => ['string', Rule::in(WebinarStatusEnum::getValues())],
Severity: Critical
Found in src/Http/Requests/UpdateWebinarRequest.php by phan

Call to method url from undeclared class \Illuminate\Support\Facades\Storage
Open

            'icon' => $this->resource->icon ? Storage::url($this->resource->icon) : null,

Reference to undeclared property \EscolaLms\Webinar\Http\Resources\TrainerInterestResource->resource
Open

            'icon_class' => $this->resource->icon_class,

Reference to undeclared property \EscolaLms\Webinar\Http\Resources\WebinarSimpleResource->resource
Open

            'active_from' => Carbon::make($this->resource->active_from),

Class uses undeclared trait \EscolaLms\Webinar\Dto\Traits\DtoHelper
Open

abstract class BaseDto
Severity: Critical
Found in src/Dto/BaseDto.php by phan

Class extends undeclared class \EscolaLms\Core\Enums\BasicEnum
Open

class WebinarStatusEnum extends BasicEnum
Severity: Critical
Found in src/Enum/WebinarStatusEnum.php by phan

Possibly zero references to use statement for classlike/namespace Schedule (\Illuminate\Console\Scheduling\Schedule)
Open

use Illuminate\Console\Scheduling\Schedule;

Call to undeclared function \config_path()
Open

            __DIR__ . '/config.php' => config_path('escolalms_webinar.php'),
Severity: Critical
Found in src/EscolaLmsWebinarServiceProvider.php by phan

syntax error, unexpected 'User' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private User $user;
Severity: Critical
Found in src/Events/Webinar.php by phan

Return type of index() is undeclared type \Illuminate\Http\JsonResponse
Open

    public function index(ListWebinarsRequest $listWebinarsRequest): JsonResponse;

syntax error, unexpected 'WebinarServiceContract' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private WebinarServiceContract $webinarServiceContract;
Severity
Category
Status
Source
Language