EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

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

class CreateWebinarsTable extends Migration

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

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

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

        Schema::dropIfExists('webinars');

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

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

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

            $table->foreign('webinar_id')->references('id')->on('webinars')->cascadeOnDelete();

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

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

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

            $table->dropColumn('image_path');

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

            $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');

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

            $table->dropForeign('webinar_authors_author_id_foreign');

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

            $table->string('reminder_status', 30)->nullable();

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

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

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

class AddLogotypeColumnInWebinarsTable extends Migration

Call to method sync from undeclared class \Illuminate\Database\Eloquent\Relations\BelongsToMany
Open

                $webinar->users()->sync($users->pluck('id')->toArray());
Severity: Critical
Found in database/seeders/WebinarsTermsSeeder.php by phan

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

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

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

        if ($this->app->runningInConsole()) {

Class uses undeclared trait \EscolaLms\Auth\Traits\ResourceExtandable
Open

class WebinarSimpleResource extends JsonResource

Call to method make from undeclared class \Carbon\Carbon
Open

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

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

                $logotype = Storage::url(trim($this->attributes['logotype_path'], '/'));
Severity: Minor
Found in src/Models/Webinar.php by phan

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

class AddImagePathColumnToWebinarsTable extends Migration

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

            $table->string('yt_id', 30)->nullable();
Severity
Category
Status
Source
Language