Showing 636 of 636 total issues
Line exceeds 120 characters; contains 129 characters Open
Open
if ($user && $user->can(WebinarPermissionsEnum::WEBINAR_LIST_OWN) && !$user->can(WebinarPermissionsEnum::WEBINAR_LIST)) {
- 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 152 characters Open
Open
$dto = UserAssignableDto::instantiateFromArray(array_merge($request->validated(), ['assignable_by' => WebinarPermissionsEnum::WEBINAR_CREATE]));
- Exclude checks
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 127 characters Open
Open
$dto->addToCriteria(new WhereCriterion($dto->model()->getTable() . '.active_from', $dto->getDateTimeFrom(), '>='));
- 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 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 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 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 204 characters Open
Open
WHEN SUBSTRING_INDEX(duration, ' ', -1) = 'seconds' or SUBSTRING_INDEX(duration, ' ', -1) = 'second' THEN DATE_ADD(active_to, INTERVAL SUBSTRING_INDEX(duration, ' ', 1) SECOND )
- Exclude checks
Line exceeds 120 characters; contains 142 characters Open
Open
return Str::startsWith($logotypePath, ConstantEnum::DIRECTORY) ? $logotypePath : ConstantEnum::DIRECTORY . '/' .$logotypePath;
- Exclude checks
Line exceeds 120 characters; contains 149 characters Open
Open
'event_start_date_time' => $webinar->active_to ? Carbon::make($webinar->active_to)->format('Y-m-d H:i:s') : now()->format('Y-m-d H:i:s'),
- 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 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 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
Expected 0 spaces after opening bracket; newline found Open
Open
if (
- Exclude checks
Expected 0 spaces before closing bracket; newline found Open
Open
return $query->orWhere(fn (Builder $query) => $query
- Exclude checks
Opening brace should be on a new line Open
Open
public function __construct(array $params) {
- Exclude checks
Opening brace should be on a new line Open
Open
public function __construct(array $params) {
- Exclude checks
Opening parenthesis of a multi-line function call must be the last content on the line Open
Open
$query->orWhereHas('trainers', fn ($query) =>
- Exclude checks