EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

Call to method unsignedBigInteger from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->unsignedBigInteger('user_id');

Call to method foreign from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->foreign('author_id')->references('id')->on('users')->cascadeOnDelete();

Parameter $table has undeclared type \Illuminate\Database\Schema\Blueprint
Open

        Schema::table('webinars', function (Blueprint $table) {

Call to method table from undeclared class \Illuminate\Support\Facades\Schema
Open

        Schema::table('webinars', function (Blueprint $table) {

Reference to constant TUTOR from undeclared class \EscolaLms\Core\Enums\UserRole
Open

        $tutor = Role::findOrCreate(UserRole::TUTOR, 'api');

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

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

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

use EscolaLms\Webinar\Jobs\ReminderAboutWebinarJob;

Reference to constant class from undeclared class \EscolaLms\Webinar\Services\WebinarService
Open

        WebinarServiceContract::class => WebinarService::class
Severity: Critical
Found in src/EscolaLmsWebinarServiceProvider.php by phan

Call to undeclared method \EscolaLms\Webinar\EscolaLmsWebinarServiceProvider::publishes
Open

        $this->publishes([
Severity: Critical
Found in src/EscolaLmsWebinarServiceProvider.php by phan

Reference to undeclared property \EscolaLms\Webinar\EscolaLmsWebinarServiceProvider->app
Open

        $this->app->register(EscolaLmsJitsiServiceProvider::class);

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

    public function show(int $id): JsonResponse;

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

class BaseWebinarRequest extends FormRequest
Severity: Critical
Found in src/Http/Requests/BaseWebinarRequest.php by phan

Call to method in from undeclared class \Illuminate\Validation\Rule
Open

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

Call to method __construct from undeclared class \EscolaLms\Files\Rules\FileOrStringRule
Open

            'logotype' => [new FileOrStringRule(['image'], $prefixPath)],
Severity: Critical
Found in src/Http/Requests/UpdateWebinarRequest.php by phan

Call to method allows from undeclared class \Illuminate\Support\Facades\Gate
Open

        return Gate::allows(WebinarPermissionsEnum::WEBINAR_CREATE, Webinar::class);

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

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

Call to undeclared method \EscolaLms\Webinar\Models\Traits\HasWebinars::belongsToMany
Open

        return $this->belongsToMany(Webinar::class, 'webinar_user')->using(WebinarUserPivot::class);
Severity: Critical
Found in src/Models/Traits/HasWebinars.php by phan

Call to undeclared method \EscolaLms\Webinar\Models\Webinar::belongsToMany
Open

        return $this->belongsToMany(User::class, 'webinar_trainers','webinar_id', 'trainer_id') ;
Severity: Critical
Found in src/Models/Webinar.php by phan

Call to method timestamps from undeclared class \Illuminate\Database\Schema\Blueprint
Open

            $table->timestamps();

Parameter $table has undeclared type \Illuminate\Database\Schema\Blueprint
Open

        Schema::table('webinars', function (Blueprint $table) {
Severity
Category
Status
Source
Language