EscolaLMS/Consultations

View on GitHub

Showing 1,241 of 1,241 total issues

Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserResource->resource
Open

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

Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserResource->resource
Open

            'notification_channels' => $this->resource->notificationChannels,

Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserResource->resource
Open

            'avatar_url' => $this->resource->avatarUrl,

Call to undeclared function \app()
Open

        $consultationServiceContract = app(ConsultationServiceContract::class);

Static call to undeclared method \EscolaLms\Consultations\Http\Resources\ConsultationAuthorResource::make
Open

                ConsultationAuthorResource::make($this->resource->consultationUser->user) :

Call to undeclared method \EscolaLms\Consultations\Models\Consultation::belongsToMany
Open

        return $this->belongsToMany(Category::class);
Severity: Critical
Found in src/Models/Consultation.php by phan

Call to method url from undeclared class \Illuminate\Support\Facades\Storage
Open

                $imagePath = Storage::url($path);
Severity: Critical
Found in src/Models/Consultation.php by phan

Call to undeclared method \EscolaLms\Consultations\Models\ConsultationProposedTerm::belongsTo
Open

        return $this->belongsTo(Consultation::class, 'consultation_id');
Severity: Critical
Found in src/Models/ConsultationProposedTerm.php by phan

Call to undeclared method \EscolaLms\Consultations\Enum\ConsultationTermStatusEnum::is
Open

        return $this->executed_status->is(ConsultationTermStatusEnum::REJECT);
Severity: Critical
Found in src/Models/ConsultationUserPivot.php by phan

Class extends undeclared class \Illuminate\Database\Eloquent\Model
Open

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

Return type of consultationUser() is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsTo
Open

    public function consultationUser(): BelongsTo
Severity: Minor
Found in src/Models/ConsultationUserTerm.php by phan

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

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

Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationTermsResource->resource
Open

        return $this->resource->consultation_user_id;

Reference to undeclared property \EscolaLms\Consultations\Http\Resources\ConsultationUserResource->resource
Open

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

Return type of proposedTerms() is undeclared type \Illuminate\Database\Eloquent\Relations\HasMany
Open

    public function proposedTerms(): HasMany
Severity: Minor
Found in src/Models/Consultation.php by phan

Reference to undeclared property \EscolaLms\Consultations\Models\Consultation->attributes
Open

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

Call to method url from undeclared class \Illuminate\Support\Facades\Storage
Open

                $logotype = Storage::url(trim($this->attributes['logotype_path'], '/'));
Severity: Critical
Found in src/Models/Consultation.php by phan

Call to undeclared function \app()
Open

        $consultationServiceContract = app(ConsultationServiceContract::class);
Severity: Critical
Found in src/Models/Consultation.php by phan

Return type of consultation() is undeclared type \Illuminate\Database\Eloquent\Relations\BelongsTo
Open

    public function consultation(): BelongsTo
Severity: Minor
Found in src/Models/ConsultationUserPivot.php by phan

Call to undeclared method \EscolaLms\Consultations\Enum\ConsultationTermStatusEnum::is
Open

        return $this->executed_status->is(ConsultationTermStatusEnum::APPROVED);
Severity: Critical
Found in src/Models/ConsultationUserPivot.php by phan
Severity
Category
Status
Source
Language