Showing 636 of 636 total issues
Line exceeds 120 characters; contains 147 characters Open
Open
public function getWebinarsList(array $search = [], bool $onlyActive = false, ?OrderDto $orderDto = null, bool $onlyIncoming = false): Builder;
- Exclude checks
Line exceeds 120 characters; contains 130 characters Open
Open
$search['active_from'] = isset($search['active_from']) ? Carbon::make($search['active_from'])->format('Y-m-d') : $now;
- Exclude checks
Line exceeds 120 characters; contains 152 characters Open
Open
$dto = UserAssignableDto::instantiateFromArray(array_merge($request->validated(), ['assignable_by' => WebinarPermissionsEnum::WEBINAR_CREATE]));
- Exclude checks
Line exceeds 120 characters; contains 146 characters Open
Open
public function getWebinarsList(array $search = [], bool $onlyActive = false, ?OrderDto $orderDto = null, bool $onlyIncoming = false): Builder
- Exclude checks
Line exceeds 120 characters; contains 124 characters Open
Open
$search['active_to'] = isset($search['active_to']) ? Carbon::make($search['active_to'])->format('Y-m-d') : $now;
- Exclude checks
Line exceeds 120 characters; contains 140 characters Open
Open
$dto->addToCriteria(new WhereNotInOrIsNullCriterion($dto->model()->getTable() . '.reminder_status', $dto->getReminderStatus()));
- Exclude checks
Line exceeds 120 characters; contains 133 characters Open
Open
->where(fn (Builder $query) => $query->whereNull('duration')->where('webinars.active_to', '>', $this->value));
- Exclude checks
Line exceeds 120 characters; contains 198 characters Open
Open
WHEN SUBSTRING_INDEX(duration, ' ', -1) = 'week' or SUBSTRING_INDEX(duration, ' ', -1) = 'weeks' THEN DATE_ADD(active_to, INTERVAL SUBSTRING_INDEX(duration, ' ', 1) WEEK )
- Exclude checks
Line exceeds 120 characters; contains 124 characters Open
Open
$search['active_to'] = isset($search['active_to']) ? Carbon::make($search['active_to'])->format('Y-m-d') : $now;
- Exclude checks
Line exceeds 120 characters; contains 123 characters Open
Open
$dto->addToCriteria(new WhereCriterion($dto->model()->getTable() . '.active_to', $dto->getDateTimeTo(), '<='));
- Exclude checks
Line exceeds 120 characters; contains 201 characters Open
Open
WHEN SUBSTRING_INDEX(duration, ' ', -1) = 'month' or SUBSTRING_INDEX(duration, ' ', -1) = 'months' THEN DATE_ADD(active_to, INTERVAL SUBSTRING_INDEX(duration, ' ', 1) MONTH )
- Exclude checks
Line exceeds 120 characters; contains 198 characters Open
Open
WHEN SUBSTRING_INDEX(duration, ' ', -1) = 'year' or SUBSTRING_INDEX(duration, ' ', -1) = 'years' THEN DATE_ADD(active_to, INTERVAL SUBSTRING_INDEX(duration, ' ', 1) YEAR )
- Exclude checks
Line exceeds 120 characters; contains 195 characters Open
Open
WHEN SUBSTRING_INDEX(duration, ' ', -1) = 'days' or SUBSTRING_INDEX(duration, ' ', -1) = 'day' THEN DATE_ADD(active_to, INTERVAL SUBSTRING_INDEX(duration, ' ', 1) DAY )
- Exclude checks
Line exceeds 120 characters; contains 122 characters Open
Open
$dto->addToCriteria(new DateCriterion($dto->model()->getTable() . '.active_from', $dto->getDateFrom(), '>='));
- Exclude checks
Line exceeds 120 characters; contains 125 characters Open
Open
$dto->addToCriteria(new WebinarIncomingCriterion(now()->format('Y-m-d H:i:s'), $dto->getIncomingWithDuration()));
- Exclude checks
Opening brace should be on a new line Open
Open
public function __construct(array $params) {
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 13 Open
Open
__('Webinars retrieved successfully')
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
return $query->whereHas('tags', fn (Builder $query) =>
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
Open
return $query->whereHas('tags', fn (Builder $query) =>
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
->where(fn (Builder $query) => $query->whereNull('duration')->where('webinars.active_to', '>', $this->value));
- Exclude checks