EscolaLMS/Consultations

View on GitHub

Showing 1,241 of 1,241 total issues

Line exceeds 120 characters; contains 159 characters
Open

                    : $this->consultationUserTermRepository->getAllUserTermsByConsultationIdAndExecutedAt($consultationTerm->consultation_id, $dto->getTerm());

Line exceeds 120 characters; contains 163 characters
Open

        $dto = UserAssignableDto::instantiateFromArray(array_merge($request->validated(), ['assignable_by' => ConsultationsPermissionsEnum::CONSULTATION_CREATE]));

Line exceeds 120 characters; contains 132 characters
Open

    public function changeTerm(ChangeTermConsultationRequest $changeTermConsultationRequest, int $consultationTermId): JsonResponse;

Line exceeds 120 characters; contains 159 characters
Open

        $userTerms = $dto->getUserId() ? collect([$this->consultationUserTermRepository->getUserTermByUserIdAndExecutedAt($dto->getUserId(), $dto->getTerm())])

Line exceeds 120 characters; contains 128 characters
Open

    public function setStatus(ConsultationUserPivot $consultationTerm, string $status, string $executedAt): ConsultationUserTerm

Line exceeds 120 characters; contains 124 characters
Open

    public function forCurrentUserResponse(ListConsultationsRequest $listConsultationsRequest): AnonymousResourceCollection;

Line exceeds 120 characters; contains 152 characters
Open

    public function __construct(User $user, ConsultationUserPivot $consultationTerm, string $status, ?ConsultationUserTerm $consultationUserTerm = null)

Line exceeds 120 characters; contains 135 characters
Open

    public function canGenerateJitsi(?string $executedAt, ?string $status, ?string $duration, ?Consultation $consultation = null): bool

Line exceeds 120 characters; contains 136 characters
Open

    public function __construct(User $user, ConsultationUserPivot $consultationTerm, ?ConsultationUserTerm $consultationUserTerm = null)

Line exceeds 120 characters; contains 122 characters
Open

        $this->consultationServiceContract->rejectTerm($consultationTermId, new ConsultationUserTermDto($request->all()));

Line exceeds 120 characters; contains 129 characters
Open

            $this->consultationServiceContract->generateJitsi($consultationTermId, new ConsultationUserTermDto($request->all())),

Line exceeds 120 characters; contains 151 characters
Open

            : $this->consultationUserTermRepository->getAllUserTermsByConsultationIdAndExecutedAt($consultationTerm->consultation_id, $dto->getTerm());

Line exceeds 120 characters; contains 154 characters
Open

                $userTerm = $this->consultationUserTermRepository->update(['executed_status' => ConsultationTermStatusEnum::REJECT], $userTerm->getKey());

Line exceeds 120 characters; contains 141 characters
Open

                        'executed_status' => $dto->getAccept() ? ConsultationTermStatusEnum::APPROVED : ConsultationTermStatusEnum::REPORTED,

Line exceeds 120 characters; contains 131 characters
Open

    public function changeTerm(ChangeTermConsultationRequest $changeTermConsultationRequest, int $consultationTermId): JsonResponse

Line exceeds 120 characters; contains 153 characters
Open

            'busy_terms' => ConsultationTermResource::collection($consultationServiceContract->getBusyTermsFormatDate($this->resource->consultation_id)),

Line exceeds 120 characters; contains 122 characters
Open

    public function getConsultationsList(array $search = [], bool $onlyActive = false, OrderDto $orderDto = null): Builder

Line exceeds 120 characters; contains 129 characters
Open

    public function setStatus(ConsultationUserPivot $consultationTerm, string $status, string $executedAt): ConsultationUserTerm;

Line exceeds 120 characters; contains 139 characters
Open

    public function updateByConsultationUserIdAndExecutedAt(int $consultationUserId, string $executedAt, array $data): ConsultationUserTerm

Line exceeds 120 characters; contains 156 characters
Open

                $userTerm = $this->consultationUserTermRepository->update(['executed_status' => ConsultationTermStatusEnum::APPROVED], $userTerm->getKey());
Severity
Category
Status
Source
Language