EscolaLMS/Consultations

View on GitHub

Showing 1,241 of 1,241 total issues

Parameter $user has undeclared type \EscolaLms\Auth\Models\User (Did you mean class \EscolaLms\Consultations\Models\User)
Open

    public function read(User $user, Consultation $consultation): bool
Severity: Minor
Found in src/Policies/ConsultationPolicy.php by phan

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

        $tutor = Role::findOrCreate(UserRole::TUTOR, 'api');

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

    protected string $executedAt;
Severity: Critical
Found in src/Dto/ChangeTermConsultationDto.php by phan

Class extends undeclared class \BenSampo\Enum\Enum
Open

class ConstantEnum extends Enum
Severity: Critical
Found in src/Enum/ConstantEnum.php by phan

Reference to undeclared property \EscolaLms\Consultations\EscolaLmsConsultationsServiceProvider->app
Open

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

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

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

Reference to undeclared class \Symfony\Component\HttpKernel\Exception\UnprocessableEntityHttpException
Open

        parent::__construct($message, $previous, $code);
Severity: Critical
Found in src/Exceptions/ConsultationNotFound.php by phan

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

    private ConsultationServiceContract $consultationServiceContract;

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

class ConsultationUserTermRequest extends FormRequest

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

class StoreConsultationRequest extends FormRequest

Static call to undeclared method \EscolaLms\Consultations\Enum\ConsultationStatusEnum::getValues
Open

            'status' => ['string', Rule::in(ConsultationStatusEnum::getValues())],

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

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

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

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

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

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

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

                $this->resource->executed_at,

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

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

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

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

Reference to constant class from undeclared class \EscolaLms\Categories\Models\Category
Open

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

Call to undeclared function \url()
Open

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

Property \EscolaLms\Consultations\Models\ConsultationUserTerm->finished_at has undeclared type \Illuminate\Support\Carbon
Open

 * @property Carbon $finished_at
Severity: Minor
Found in src/Models/ConsultationUserTerm.php by phan
Severity
Category
Status
Source
Language