EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

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

        if (!$this->app->routesAreCached() && method_exists(Passport::class, 'routes')) {
Severity: Minor
Found in src/AuthServiceProvider.php by phan

Possibly zero references to use statement for classlike/namespace WebinarTermReminderStatusEnum (\EscolaLms\Webinar\Enum\WebinarTermReminderStatusEnum)
Open

use EscolaLms\Webinar\Enum\WebinarTermReminderStatusEnum;

Class extends undeclared class \EscolaLms\Webinar\Events\Webinar (Did you mean class \EscolaLms\Webinar\Models\Webinar)
Open

class WebinarUserAssigned extends Webinar
Severity: Critical
Found in src/Events/WebinarUserAssigned.php by phan

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

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

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

    public function webinars(): BelongsToMany
Severity: Minor
Found in src/Models/Traits/HasWebinars.php by phan

Class uses undeclared trait \Illuminate\Database\Eloquent\Factories\HasFactory
Open

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

Reference to constant class from undeclared class \EscolaLms\Tags\Models\Tag
Open

        return $this->morphMany(Tag::class, 'morphable');
Severity: Critical
Found in src/Models/Webinar.php by phan

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

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

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

            $table->bigInteger('author_id')->unsigned()->nullable();

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

            $table->dropColumn(['yt_url', 'yt_stream_url', 'yt_stream_key', 'yt_id']);

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

class RemoveNotUsedColumnsFromWebinarTable extends Migration

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

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

Reference to constant class from undeclared class \Laravel\Passport\Passport
Open

        if (!$this->app->routesAreCached() && method_exists(Passport::class, 'routes')) {
Severity: Critical
Found in src/AuthServiceProvider.php by phan

Class extends undeclared class \EscolaLms\Webinar\Events\Webinar (Did you mean class \EscolaLms\Webinar\Models\Webinar)
Open

class WebinarTrainerAssigned extends Webinar
Severity: Critical
Found in src/Events/WebinarTrainerAssigned.php by phan

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

        return Gate::allows('read', $this->getWebinar());
Severity: Critical
Found in src/Http/Requests/ShowWebinarRequest.php by phan

Class extends undeclared class \Illuminate\Foundation\Http\FormRequest
Open

class WebinarAssignableUserListRequest extends FormRequest

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

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

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

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

Possibly zero references to use statement for classlike/namespace UserRole (\EscolaLms\Core\Enums\UserRole)
Open

use EscolaLms\Core\Enums\UserRole;
Severity: Minor
Found in database/factories/WebinarFactory.php by phan

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

            $table->string('duration')->nullable();
Severity
Category
Status
Source
Language