Showing 1,241 of 1,241 total issues
Line exceeds 120 characters; contains 126 characters Open
Open
->leftJoin('consultation_user_terms', 'consultation_user_terms.consultation_user_id', '=', 'consultation_user.id')
- Exclude checks
Line exceeds 120 characters; contains 148 characters Open
Open
public function updateUserTermByExecutedAt(ConsultationUserPivot $consultationUserPivot, string $executedAt, array $data): ConsultationUserTerm;
- Exclude checks
Line exceeds 120 characters; contains 123 characters Open
Open
$consultation = $this->consultationRepositoryContract->updateModel($consultation, $consultationDto->toArray());
- Exclude checks
Line exceeds 120 characters; contains 208 characters Open
Open
StringHelper::convertToJitsiSlug($consultationTerm->consultation->name, [], ConstantEnum::DIRECTORY, $consultationTerm->consultation_id, (string) Carbon::make($term->executed_at)->getTimestamp()),
- Exclude checks
Line exceeds 120 characters; contains 134 characters Open
Open
throw new ChangeTermException(__('Term is changed but not executed event because user or term is no exists'));
- Exclude checks
Expected 0 spaces after opening bracket; newline found Open
Open
if (
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
];
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
];
- Exclude checks
Expected 0 spaces after opening bracket; newline found Open
Open
if (
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
->whereHas('consultation', fn (Builder $query) => $query
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
fn (User $teacher) => event(new ReminderTrainerAboutTerm(
- Exclude checks
Multi-line function call not indented correctly; expected 20 spaces but found 24 Open
Open
$userTerm->consultationUser,
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
$userTerm = $result->first(fn (ConsultationUserTermResourceDto $dto) => $dto->consultation_id === $term->consultationUser->consultation_id && $term->executed_at === $dto->executed_at);
- Exclude checks
Opening brace should be on a new line Open
Open
public function __construct(array $params) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
fn (Builder $query) => $query->where('consultation_user.id', '=', $this->value)
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
fn (ConsultationUserTerm $term) => Carbon::make($term->executed_at)
- Exclude checks
Expected 0 spaces after opening bracket; newline found Open
Open
if (
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
$query->whereHas('userTerms', fn ($query) => $query->whereIn('executed_status', [ConsultationTermStatusEnum::APPROVED, ConsultationTermStatusEnum::REPORTED]));
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
$query->whereHas('userTerms', fn ($query) => $query->where('executed_at', '=', $date));
- Exclude checks
Expected 0 spaces before closing bracket; newline found Open
Open
->whereHas('consultationUser', fn (Builder $query) => $query
- Exclude checks