EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

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

    private string $namespace;
Severity: Critical
Found in src/Helpers/StrategyHelper.php by phan

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

    public function generateJitsi(int $consultationTermId): JsonResponse;

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

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

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

class TrainerResource extends JsonResource
Severity: Critical
Found in src/Http/Resources/TrainerResource.php by phan

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

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

Call to method make from undeclared class \Carbon\Carbon
Open

            'active_from' => Carbon::make($this->resource->active_from),

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

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

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

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

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

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

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

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

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

    private WebinarServiceContract $webinarServiceContract;

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

class User extends AuthUser
Severity: Critical
Found in src/Models/User.php by phan

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

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

Static call to undeclared method \EscolaLms\Webinar\Database\Factories\WebinarFactory::new
Open

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

Class uses undeclared trait \Illuminate\Auth\Access\HandlesAuthorization
Open

class WebinarPolicy
Severity: Critical
Found in src/Policies/WebinarPolicy.php by phan

Call to method where from undeclared class \Illuminate\Database\Eloquent\Relations\BelongsToMany
Open

                && $webinar->trainers()->where('trainer_id', $user->getKey())->exists()
Severity: Critical
Found in src/Policies/WebinarPolicy.php by phan

Call to method can from undeclared class \EscolaLms\Auth\Models\User (Did you mean class \EscolaLms\Webinar\Models\User)
Open

                $user->can(WebinarPermissionsEnum::WEBINAR_READ_OWN)
Severity: Critical
Found in src/Policies/WebinarPolicy.php by phan

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

    private Webinar $webinar;

Call to method group from undeclared class \Illuminate\Support\Facades\Route
Open

Route::group(['prefix' => 'api/webinars'], function () {
Severity: Critical
Found in src/routes.php by phan

Call to undeclared method \EscolaLms\Webinar\Models\WebinarUserPivot::belongsTo
Open

        return $this->belongsTo(User::class);
Severity: Critical
Found in src/Models/WebinarUserPivot.php by phan
Severity
Category
Status
Source
Language