EscolaLMS/Consultations

View on GitHub

Showing 1,011 of 1,011 total issues

Line exceeds 120 characters; contains 144 characters
Open

            'author' =>  $this->resource->consultation->author ? ConsultationAuthorResource::make($this->resource->consultation->author) : null,

Line exceeds 120 characters; contains 130 characters
Open

                    throw new ChangeTermException(__('Term is changed but not executed event because user or term is no exists'));

Space before opening parenthesis of function call prohibited
Open

            ->orWhereHas('teachers', fn (Builder $query) => $query->where('users.id', '=', auth()->user()->getKey()))

Opening brace should be on a new line
Open

    public function __construct(array $params) {

Space before opening parenthesis of function call prohibited
Open

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

Expected 0 spaces after opening bracket; newline found
Open

        if (

Expected 0 spaces before closing bracket; newline found
Open

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

Multi-line function call not indented correctly; expected 20 spaces but found 24
Open

                        $reminderStatus

Opening brace should be on a new line
Open

    public function __construct(array $params) {

Space before opening parenthesis of function call prohibited
Open

            fn ($term) => Carbon::make($term->executed_at)

Multi-line function call not indented correctly; expected 20 spaces but found 24
Open

                        $consultationTerm,

Opening brace should be on a new line
Open

    public function __construct(array $params) {

Space before opening parenthesis of function call prohibited
Open

        if ($terms->first(fn (ConsultationUserPivot $userPivot) => $userPivot->user_id === $userId) !== null) {

Expected 0 spaces after opening bracket; newline found
Open

        if (

Space before opening parenthesis of function call prohibited
Open

        if ($terms->first(fn (ConsultationUserPivot $userPivot) => $userPivot->user_id === $userId) !== null) {

Expected 0 spaces after opening bracket; newline found
Open

        if (

Expected 0 spaces after opening bracket; newline found
Open

        if (

Expected 1 newline at end of file; 0 found
Open

];

Expected 1 newline at end of file; 0 found
Open

];

Multi-line function call not indented correctly; expected 20 spaces but found 24
Open

                        $teacher,
Severity
Category
Status
Source
Language