EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

Class extends undeclared class \Illuminate\Support\ServiceProvider
Open

class EscolaLmsWebinarServiceProvider extends ServiceProvider
Severity: Critical
Found in src/EscolaLmsWebinarServiceProvider.php by phan

Property \EscolaLms\Webinar\Models\Webinar->active_to has undeclared type ?\Illuminate\Support\Carbon
Open

 * @property ?Carbon $active_to
Severity: Minor
Found in src/Models/Webinar.php by phan

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

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

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

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

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

            'icon' => $this->resource->icon ? Storage::url($this->resource->icon) : null,

Call to undeclared function \url()
Open

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

Possibly zero references to use statement for classlike/namespace User (\EscolaLms\Auth\Models\User)
Open

use EscolaLms\Auth\Models\User;
Severity: Minor
Found in database/factories/WebinarFactory.php by phan

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

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

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

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

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

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

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

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

Return type of trainers() is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsToMany
Open

    public function trainers(): BelongsToMany
Severity: Minor
Found in src/Models/Webinar.php by phan

Return type of tags() is undeclared type \Illuminate\Database\Eloquent\Relations\MorphMany
Open

    public function tags(): MorphMany
Severity: Minor
Found in src/Models/Webinar.php by phan

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

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

Call to undeclared function \app()
Open

        $webinarServiceContract = app(WebinarServiceContract::class);
Severity: Critical
Found in src/Models/Webinar.php by phan

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

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

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

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

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('logotype_path');

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

            $table->boolean('yt_autostart_status')->default(false)->nullable();
Severity
Category
Status
Source
Language