EscolaLMS/Webinar

View on GitHub

Showing 636 of 636 total issues

Multi-line function call not indented correctly; expected 12 spaces but found 13
Open

             __('Webinars retrieved successfully')

Line indented incorrectly; expected at least 20 spaces, found 19
Open

                   return $query->orWhere(fn (Builder $query) => $query

Space before opening parenthesis of function call prohibited
Open

            ->each(fn (Webinar $webinar) =>

Space before opening parenthesis of function call prohibited
Open

                       ->where(fn (Builder $query) => $query->whereNull('duration')->where('webinars.active_to', '>', $this->value));

Line indented incorrectly; expected at least 20 spaces, found 19
Open

                   );

Space before opening parenthesis of function call prohibited
Open

            $query->orWhereHas('users', fn ($query) =>

Line indented incorrectly; expected 20 spaces, found 19
Open

                   if (DB::connection()->getPdo()->getAttribute(\PDO::ATTR_DRIVER_NAME) === 'pgsql') {

No space found after comma in function call
Open

        return $this->belongsToMany(User::class, 'webinar_trainers','webinar_id', 'trainer_id') ;
Severity: Minor
Found in src/Models/Webinar.php by phpcodesniffer

Line indented incorrectly; expected at least 20 spaces, found 19
Open

                   $query = $query

Line indented incorrectly; expected 20 spaces, found 19
Open

                   }

Space before opening parenthesis of function call prohibited
Open

        return $query->whereHas('tags', fn (Builder $query) =>

Space before opening parenthesis of function call prohibited
Open

                   return $query->orWhere(fn (Builder $query) => $query

Opening parenthesis of a multi-line function call must be the last content on the line
Open

            ->each(fn (Webinar $webinar) =>

Expected 0 spaces before closing bracket; newline found
Open

                       return $query->orWhere(fn (Builder $query) => $query

Expected 1 newline at end of file; 0 found
Open

];

Line indented incorrectly; expected at least 25 spaces, found 23
Open

                       );

Line indented incorrectly; expected at least 24 spaces, found 23
Open

                       return $query->orWhere(fn (Builder $query) => $query

Opening parenthesis of a multi-line function call must be the last content on the line
Open

        return $query->whereHas('tags', fn (Builder $query) =>

Opening parenthesis of a multi-line function call must be the last content on the line
Open

            $query->orWhereHas('users', fn ($query) =>

Space before opening parenthesis of function call prohibited
Open

                       return $query->orWhere(fn (Builder $query) => $query
Severity
Category
Status
Source
Language