EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

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

class AddTableRelationsUsersWebinar extends Migration

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

        Schema::create('webinar_user', function (Blueprint $table) {

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

            $table->timestamps();

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

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

Call to method findOrCreate from undeclared class \Spatie\Permission\Models\Role
Open

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

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

        Webinar::factory(5, [
Severity: Critical
Found in database/seeders/WebinarsTermsSeeder.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

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

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

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

        return Gate::allows('create', Webinar::class);
Severity: Critical
Found in src/Http/Requests/StoreWebinarRequest.php by phan

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

            'path_avatar' => $this->resource->path_avatar,
Severity: Minor
Found in src/Http/Resources/TrainerResource.php by phan

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

            'interests' => TrainerInterestResource::collection($this->resource->interests),
Severity: Minor
Found in src/Http/Resources/TrainerResource.php by phan

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

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

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

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

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

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

Class extends undeclared class \Illuminate\Database\Eloquent\Model
Open

class Webinar extends Model
Severity: Critical
Found in src/Models/Webinar.php by phan

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

            $table->string('yt_url', 255)->nullable();

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

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

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

            $table->unique(['user_id', 'webinar_id'], 'webinar_user_unique');

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

            $table->dropForeign('webinar_trainers_webinar_id_foreign');

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

            $table->foreign('webinar_id')->references('id')->on('webinars')->cascadeOnDelete();
Severity
Category
Status
Source
Language