EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

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

Call to method findOrCreate from undeclared class \Spatie\Permission\Models\Permission
Open

            Permission::findOrCreate($permission, 'api');

Class extends undeclared class \Illuminate\Database\Seeder
Open

class WebinarsTermsSeeder extends Seeder
Severity: Critical
Found in database/seeders/WebinarsTermsSeeder.php by phan

Call to undeclared function \config_path()
Open

            __DIR__ . '/config.php' => config_path('escolalms_webinar.php'),
Severity: Critical
Found in src/EscolaLmsWebinarServiceProvider.php by phan

Reference to constant class from undeclared class \EscolaLms\Jitsi\EscolaLmsJitsiServiceProvider
Open

        $this->app->register(EscolaLmsJitsiServiceProvider::class);
Severity: Critical
Found in src/EscolaLmsWebinarServiceProvider.php by phan

Reference to constant class from undeclared class \EscolaLms\Settings\EscolaLmsSettingsServiceProvider
Open

        $this->app->register(EscolaLmsSettingsServiceProvider::class);
Severity: Critical
Found in src/EscolaLmsWebinarServiceProvider.php by phan

Return type of assignableUsers() is undeclared type \Illuminate\Http\JsonResponse
Open

    public function assignableUsers(WebinarAssignableUserListRequest $request): JsonResponse;

Static call to undeclared method \EscolaLms\Webinar\Enum\WebinarStatusEnum::getValues
Open

            'status' => ['required', 'string', Rule::in(WebinarStatusEnum::getValues())],
Severity: Critical
Found in src/Http/Requests/StoreWebinarRequest.php by phan

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

class UpdateWebinarRequest extends FormRequest
Severity: Critical
Found in src/Http/Requests/UpdateWebinarRequest.php by phan

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

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

Call to undeclared method \EscolaLms\Webinar\Http\Requests\UpdateWebinarRequest::route
Open

        return Webinar::findOrFail($this->route('id'));
Severity: Critical
Found in src/Http/Requests/UpdateWebinarRequest.php by phan

Class extends undeclared class \Illuminate\Http\Resources\Json\JsonResource
Open

class TrainerInterestResource extends JsonResource

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

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

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

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

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

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

Reference to constant PUBLIC from undeclared class \EscolaLms\ModelFields\Enum\MetaFieldVisibilityEnum
Open

            ModelFields::getExtraAttributesValues($this->resource, MetaFieldVisibilityEnum::PUBLIC)
Severity: Critical
Found in src/Http/Resources/TrainerResource.php by phan

Call to method getExtraAttributesValues from undeclared class \EscolaLms\ModelFields\Facades\ModelFields
Open

            ModelFields::getExtraAttributesValues($this->resource, MetaFieldVisibilityEnum::PUBLIC)
Severity: Critical
Found in src/Http/Resources/TrainerResource.php by phan

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

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

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

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