EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

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

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

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

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

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

            $table->dropColumn('reminder_status');

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

        $this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
Severity: Critical
Found in src/EscolaLmsWebinarServiceProvider.php by phan

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

    private string $status;
Severity: Critical
Found in src/Events/ReminderAboutTerm.php by phan

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

    private WebinarServiceContract $webinarServiceContract;
Severity: Critical
Found in src/Http/Controllers/WebinarController.php by phan

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

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

Static call to undeclared method \EscolaLms\Webinar\Http\Resources\TrainerInterestResource::collection
Open

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

Call to method new from undeclared class \EscolaLms\Webinar\Tests\Database\Factories\UserFactory
Open

        return UserFactory::new();
Severity: Critical
Found in src/Models/User.php by phan

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

        if ($this->attributes['image_path'] ?? null) {
Severity: Minor
Found in src/Models/Webinar.php by phan

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

            'status' => $this->faker->randomElement(WebinarStatusEnum::getValues()),
Severity: Minor
Found in database/factories/WebinarFactory.php by phan

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

            $table->dateTime('active_from')->nullable();

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

            $table->dateTime('active_to')->nullable();

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

            $table->dropForeign('webinars_author_id_foreign');

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

            $table->foreign('author_id')->references('id')->on('users')->onDelete('SET NULL');

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

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

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

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

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

            $table->dropForeign('webinar_authors_webinar_id_foreign');

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

            $table->dropForeign('webinar_trainers_trainer_id_foreign');

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

class AddColumnYtAutoStartStatusInWebinarsTable extends Migration
Severity
Category
Status
Source
Language