EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

Class extends undeclared class \Illuminate\Database\Migrations\Migration
Open

class CreateWebinarAuthorsTable extends Migration

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

        Schema::dropIfExists('webinar_user');

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

            $table->text('agenda')->nullable();

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

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

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

        $admin = Role::findOrCreate(UserRole::ADMIN, 'api');

Class extends undeclared class \BenSampo\Enum\Enum
Open

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

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

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

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

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

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

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

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

Static call to undeclared method \EscolaLms\Webinar\Http\Resources\WebinarSimpleResource::apply
Open

        return self::apply($fields, $this);

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

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

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

                $imagePath = Storage::url($path);
Severity: Critical
Found in src/Models/Webinar.php by phan

Call to undeclared function \url()
Open

                    url($logotype);
Severity: Critical
Found in src/Models/Webinar.php by phan

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

            $table->integer('base_price')->nullable();

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

            $table->dropColumn('author_id');

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

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

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

            $table->string('image_path')->nullable();

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

            $table->id();

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

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