EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

Space before opening parenthesis of function call prohibited
Open

            $query->orWhereHas('trainers', fn ($query) =>

Expected 1 newline at end of file; 0 found
Open

];

Class extends undeclared class \Illuminate\Database\Eloquent\Factories\Factory
Open

class WebinarFactory extends Factory
Severity: Critical
Found in database/factories/WebinarFactory.php by phan

Reference to undeclared property \EscolaLms\Webinar\Database\Factories\WebinarFactory->faker
Open

            'yt_url' => $this->faker->url,
Severity: Minor
Found in database/factories/WebinarFactory.php by phan

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) {

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 ChangeNameColumnsInWebinarAuthorsTable extends Migration

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

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

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

            $table->renameColumn('trainer_id', 'author_id');

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

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

syntax error, unexpected '$webinar' (T_VARIABLE), expecting ',' or ')'
Open

            ->each(fn (Webinar $webinar) =>
Severity: Critical
Found in database/seeders/WebinarsSeeder.php by phan

Reference to undeclared property \EscolaLms\Webinar\Database\Factories\WebinarFactory->faker
Open

            'yt_stream_url' => $this->faker->url,
Severity: Minor
Found in database/factories/WebinarFactory.php by phan

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

            $table->string('status')->default(WebinarStatusEnum::DRAFT);

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

            $table->unsignedBigInteger('webinar_id');

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

class AddMissingColumnsToWebinarsTable extends Migration

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

        Schema::rename('webinar_trainers', 'webinar_authors');

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

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

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

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

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

            $table->dropColumn('base_price');
Severity
Category
Status
Source
Language