fga-gpp-mds/2017.1-Escola-X

View on GitHub

Showing 3,213 of 3,213 total issues

Tab detected.
Open

if ( is_principal? )

Tab detected.
Open

end

Tab detected.
Open

end

Tab detected.
Open

@suspension = Suspension.find(params[:id])

Don't use parentheses around a method call.
Open

if ( is_principal? )

Space inside parentheses detected.
Open

if ( is_employee? )
Severity: Minor
Found in app/controllers/users_controller.rb by rubocop

Use 2 (not 3) spaces for indentation.
Open

flash.now[:feedback] = "Nenhum(a) aluno(a) encontrado!"

Indentation of first line in file detected.
Open

class AlumnsController < ApplicationController

Space inside parentheses detected.
Open

if ( is_principal? )

Space inside parentheses detected.
Open

if ( is_principal? )

Line is too long. [81/80]
Open

# Description: Controller used to communicate with the proprietary view of alumns

Missing top-level module documentation comment.
Open

module ClassroomsHelper
Severity: Minor
Found in app/helpers/classrooms_helper.rb by rubocop

Extra empty line detected at class body end.
Open

 
end

Missing space after #.
Open

#File name: session_controller.rb

Redundant else-clause.
Open

else

Don't use parentheses around the condition of an elsif.
Open

elsif (is_parent?)

Don't use parentheses around a method call.
Open

elsif (is_teacher?)

Space inside parentheses detected.
Open

if ( is_principal? )

Don't use parentheses around the condition of an if.
Open

if ( @parent.update(parent_params) )

Don't use parentheses around the condition of an if.
Open

if ( is_principal? )
Severity
Category
Status
Source
Language