Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(266 errors, 287 warnings)

This section shows the coding style problems detected in the code by phpcs [More info]

mod/geogebra/attempt.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#7) Inline comments must start with a capital letter, digit or 3-dots sequence
(#10) Inline comments must end in full-stops, exclamation marks, or question marks
(#16) Usage of ELSEIF not allowed; use ELSE IF instead
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) No space found before comment text; expected "// Activity was sended before the applet was fully loaded" but found "//Activity was sended before the applet was fully loaded"
(#26) Variable "parsedVars" must be all lower-case
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Line indented incorrectly; expected at least 4 spaces, found 0
(#36) No space found before comment text; expected "// If geogebra is not autograding, change grade from 0 to undefined or get the one specified by the teacher" but found "//If geogebra is not autograding, change grade from 0 to undefined or get the one specified by the teacher"
(#38) Expected "if (...) {\n"; found "if (...){\n"
(#39) Variable "attemptVars" must be all lower-case
(#40) Variable "attemptVars" must be all lower-case
(#44) Variable "parsedVars" must be all lower-case
(#45) Variable "parsedVars" must be all lower-case
(#46) Variable "parsedVars" must be all lower-case
(#48) Variable "parsedVars" must be all lower-case
(#51) Variable "parsedVars" must be all lower-case
(#52) Variable "parsedVars" must be all lower-case
(#53) Variable "parsedVars" must be all lower-case
(#54) Variable "parsedVars" must be all lower-case
(#56) Variable "parsedVars" must be all lower-case
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) No space found before comment text; expected "// Exists an unfishined attempt" but found "//Exists an unfishined attempt"
(#60) Inline control structures are not allowed
(#63) Inline control structures are not allowed
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) No space found before comment text; expected "// echo '<div class="mod-geogebra-redirect">' . get_string("redirecttocourse", "geogebra") . '</div>';" but found "//echo '<div class="mod-geogebra-redirect">' . get_string("redirecttocourse", "geogebra") . '</div>';"
(#69) Expected 1 space before "=>"; 0 found
(#69) Expected 1 space after "=>"; 0 found
mod/geogebra/backup/moodle1/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Variable "parsedVarsURL" must be all lower-case
(#89) Expected "try {\n...} catch (...) {\n"; found "try{\n...} catch (...){\n"
(#90) Variable "parsedVarsURL" must be all lower-case
(#92) Variable "parsedVarsURL" must be all lower-case
(#92) Commas (,) must be followed by white space.
(#92) Line exceeds maximum limit of 180 characters; contains 183 characters
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Variable "parsedVarsURL" must be all lower-case
(#97) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) Expected 1 space before "="; 0 found
(#99) Expected 1 space before "+"; 0 found
(#99) Expected 1 space after "+"; 0 found
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Variable "parsedVarsURL" must be all lower-case
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Variable "parsedVarsURL" must be all lower-case
(#106) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#108) Inline comments must start with a capital letter, digit or 3-dots sequence
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) Inline comments must start with a capital letter, digit or 3-dots sequence
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Inline comments must start with a capital letter, digit or 3-dots sequence
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/backup/moodle2/backup_geogebra_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Commas (,) must be followed by white space.
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Expected 1 space before "="; 0 found
(#61) Expected 1 space after "="; 0 found
(#62) Expected 1 space before "="; 0 found
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Expected 1 space before "="; 0 found
(#65) Expected 1 space after "="; 0 found
(#66) Expected 1 space before "="; 0 found
mod/geogebra/backup/moodle2/backup_geogebra_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/backup/moodle2/restore_geogebra_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/backup/moodle2/restore_geogebra_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Inline comments must start with a capital letter, digit or 3-dots sequence
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/classes/event/course_module_instance_list_viewed.php
(#49) Must use "self::" for local static member reference
mod/geogebra/classes/event/course_module_viewed.php
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/db/access.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/geogebra/db/log.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
mod/geogebra/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) No space found before comment text; expected "// Add grade field" but found "//Add grade field"
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) No space found before comment text; expected "// Add autograde field" but found "//Add autograde field"
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) No space found before comment text; expected "// Delete maxgrade field" but found "//Delete maxgrade field"
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) No space found before comment text; expected "// Make maxattempts signed" but found "//Make maxattempts signed"
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) No space found before comment text; expected "// Add gradecomment field" but found "//Add gradecomment field"
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) 3 slashes comments are not allowed; use "// Comment." instead
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) 3 slashes comments are not allowed; use "// Comment." instead
(#113) Inline comments must start with a capital letter, digit or 3-dots sequence
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Expected 1 space before "=>"; 0 found
(#115) Expected 1 space after "=>"; 0 found
(#125) Inline comments must start with a capital letter, digit or 3-dots sequence
(#125) Inline comments must end in full-stops, exclamation marks, or question marks
(#125) 3 slashes comments are not allowed; use "// Comment." instead
(#129) Inline comments must start with a capital letter, digit or 3-dots sequence
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Line indented incorrectly; expected at least 4 spaces, found 0
(#129) No space found before comment text; expected "// ===== 1.9.0 upgrade line ======//" but found "//===== 1.9.0 upgrade line ======//"
(#135) This comment is 46% valid code; is this commented out code?
(#138) Inline comments must start with a capital letter, digit or 3-dots sequence
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#145) This comment is 46% valid code; is this commented out code?
(#145) Inline comments must start with a capital letter, digit or 3-dots sequence
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) No space found before comment text; expected "// Add atrributes field" but found "//Add atrributes field"
(#154) Variable "parsedVarsURL" must be all lower-case
(#155) Variable "parsedVarsURL" must be all lower-case
(#156) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) Variable "parsedVarsURL" must be all lower-case
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#159) Variable "parsedVarsURL" must be all lower-case
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Variable "parsedVarsURL" must be all lower-case
(#168) Inline comments must start with a capital letter, digit or 3-dots sequence
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/db/upgradelib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Inline comments must start with a capital letter, digit or 3-dots sequence
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Variable "file_record" must not contain underscores.
(#62) Expected 1 space before "=>"; 0 found
(#62) Expected 1 space after "=>"; 0 found
(#62) Expected 1 space before "=>"; 0 found
(#62) Expected 1 space after "=>"; 0 found
(#62) Expected 1 space before "=>"; 0 found
(#62) Expected 1 space after "=>"; 0 found
(#63) Expected 1 space before "=>"; 0 found
(#63) Expected 1 space after "=>"; 0 found
(#63) Expected 1 space before "=>"; 0 found
(#63) Expected 1 space after "=>"; 0 found
(#65) Variable "file_record" must not contain underscores.
(#66) Empty CATCH statement detected
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/gradeform.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Inline doc block comments are not allowed; use "// Comment." instead
(#32) "require_once" must be immediately followed by an open parenthesis
(#33) Inline doc block comments are not allowed; use "// Comment." instead
(#35) Inline doc block comments are not allowed; use "// Comment." instead
(#47) Visibility must be declared on method "definition"
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Line exceeds 132 characters; contains 135 characters
(#63) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Visibility must be declared on method "validation"
(#112) Inline comments must start with a capital letter, digit or 3-dots sequence
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) No space found before comment text; expected "// TODO: Review to add validation" but found "//TODO: Review to add validation"
(#128) Inline comments must start with a capital letter, digit or 3-dots sequence
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Expected 1 space before "=>"; 0 found
(#129) Expected 1 space after "=>"; 0 found
mod/geogebra/index.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/lang/en/geogebra.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/geogebra/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline doc block comments are not allowed; use "// Comment." instead
(#55) Inline doc block comments are not allowed; use "// Comment." instead
(#57) Inline doc block comments are not allowed; use "// Comment." instead
(#61) 80 slashes comments are not allowed; use "// Comment." instead
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) 80 slashes comments are not allowed; use "// Comment." instead
(#76) Closing brace must be on a line by itself
(#77) This comment is 48% valid code; is this commented out code?
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) Line indented incorrectly; expected at least 8 spaces, found 0
(#77) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Line indented incorrectly; expected at least 8 spaces, found 0
(#78) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#79) Closing brace must be on a line by itself
(#80) Closing brace must be on a line by itself
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) This comment is 50% valid code; is this commented out code?
(#81) Line indented incorrectly; expected at least 8 spaces, found 0
(#81) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#82) Closing brace must be on a line by itself
(#83) This comment is 48% valid code; is this commented out code?
(#83) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) Line indented incorrectly; expected at least 8 spaces, found 0
(#83) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Line indented incorrectly; expected at least 8 spaces, found 0
(#84) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#85) Closing brace must be on a line by itself
(#86) This comment is 48% valid code; is this commented out code?
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#86) Line indented incorrectly; expected at least 8 spaces, found 0
(#86) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Line indented incorrectly; expected at least 8 spaces, found 0
(#87) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#89) Line indented incorrectly; expected at least 12 spaces, found 10
(#89) Inline control structures are not allowed
(#89) Expected 1 space before "=="; 0 found
(#89) Expected 1 space after "=="; 0 found
(#90) Line indented incorrectly; expected at least 12 spaces, found 10
(#90) Inline control structures are not allowed
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) Expected 1 space before "=>"; 0 found
(#119) Expected 1 space after "=>"; 0 found
(#167) Expected 1 space before "=>"; 0 found
(#167) Expected 1 space after "=>"; 0 found
(#175) Inline comments must start with a capital letter, digit or 3-dots sequence
(#175) Inline comments must end in full-stops, exclamation marks, or question marks
(#176) Expected "if (...) {\n"; found "if(...){\n"
(#180) Inline doc block comments are not allowed; use "// Comment." instead
(#187) Inline comments must start with a capital letter, digit or 3-dots sequence
(#187) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) Expected 1 space before "=>"; 0 found
(#188) Expected 1 space after "=>"; 0 found
(#188) Expected 1 space before "=>"; 0 found
(#188) Expected 1 space after "=>"; 0 found
(#190) Inline comments must start with a capital letter, digit or 3-dots sequence
(#190) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) Inline comments must start with a capital letter, digit or 3-dots sequence
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) No space found before comment text; expected "// if grade was last modified by the user themselves use date graded. Otherwise use date submitted" but found "//if grade was last modified by the user themselves use date graded. Otherwise use date submitted"
(#242) The use of function print_r() is forbidden
(#257) Inline comments must end in full-stops, exclamation marks, or question marks
(#257) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#302) Inline comments must end in full-stops, exclamation marks, or question marks
(#302) No space found before comment text; expected "// Get students" but found "//Get students"
(#308) Inline comments must end in full-stops, exclamation marks, or question marks
(#308) No space found before comment text; expected "// Get teachers" but found "//Get teachers"
(#315) Inline comments must end in full-stops, exclamation marks, or question marks
(#315) No space found before comment text; expected "// Add teachers to students" but found "//Add teachers to students"
(#321) Inline comments must end in full-stops, exclamation marks, or question marks
(#321) No space found before comment text; expected "// Return students array (it contains an array of unique users)" but found "//Return students array (it contains an array of unique users)"
(#335) 80 slashes comments are not allowed; use "// Comment." instead
(#337) Inline comments must end in full-stops, exclamation marks, or question marks
(#337) 80 slashes comments are not allowed; use "// Comment." instead
(#354) Expected 1 space before "=>"; 0 found
(#354) Expected 1 space after "=>"; 0 found
(#354) Commas (,) must be followed by white space.
(#354) Expected 1 space before "=>"; 0 found
(#354) Expected 1 space after "=>"; 0 found
(#372) Expected 1 space before "=>"; 0 found
(#372) Expected 1 space after "=>"; 0 found
(#391) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#416) Inline comments must start with a capital letter, digit or 3-dots sequence
(#416) Inline comments must end in full-stops, exclamation marks, or question marks
(#419) Expected 1 space before "==="; 2 found
(#421) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#440) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#440) Expected 1 space before "=>"; 0 found
(#440) Expected 1 space after "=>"; 0 found
(#440) Line exceeds 132 characters; contains 142 characters
(#456) Inline comments must start with a capital letter, digit or 3-dots sequence
(#456) Inline comments must end in full-stops, exclamation marks, or question marks
(#488) Inline comments must start with a capital letter, digit or 3-dots sequence
(#488) Inline comments must end in full-stops, exclamation marks, or question marks
(#488) This comment is 50% valid code; is this commented out code?
(#488) Line indented incorrectly; expected at least 4 spaces, found 0
(#488) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#511) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#511) Expected 1 space before "=>"; 0 found
(#511) Expected 1 space after "=>"; 0 found
(#511) Expected 1 space before "=>"; 0 found
(#511) Expected 1 space after "=>"; 0 found
(#520) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#528) 80 slashes comments are not allowed; use "// Comment." instead
(#530) Inline comments must end in full-stops, exclamation marks, or question marks
(#530) 80 slashes comments are not allowed; use "// Comment." instead
(#568) Inline comments must start with a capital letter, digit or 3-dots sequence
(#582) Inline comments must start with a capital letter, digit or 3-dots sequence
(#582) Inline comments must end in full-stops, exclamation marks, or question marks
(#597) Inline comments must start with a capital letter, digit or 3-dots sequence
(#597) Inline comments must end in full-stops, exclamation marks, or question marks
(#603) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#605) Inline comments must start with a capital letter, digit or 3-dots sequence
(#605) Inline comments must end in full-stops, exclamation marks, or question marks
(#636) Inline comments must start with a capital letter, digit or 3-dots sequence
(#636) Inline comments must end in full-stops, exclamation marks, or question marks
(#640) Inline comments must start with a capital letter, digit or 3-dots sequence
(#640) Inline comments must end in full-stops, exclamation marks, or question marks
(#649) This comment is 55% valid code; is this commented out code?
(#649) Line indented incorrectly; expected at least 8 spaces, found 0
(#657) Line indented incorrectly; expected at least 8 spaces, found 1
(#660) Inline comments must start with a capital letter, digit or 3-dots sequence
(#660) Inline comments must end in full-stops, exclamation marks, or question marks
(#664) 80 slashes comments are not allowed; use "// Comment." instead
(#666) Inline comments must end in full-stops, exclamation marks, or question marks
(#666) 80 slashes comments are not allowed; use "// Comment." instead
(#690) Expected 1 space before "=>"; 0 found
(#690) Expected 1 space after "=>"; 0 found
(#703) 80 slashes comments are not allowed; use "// Comment." instead
(#705) Inline comments must end in full-stops, exclamation marks, or question marks
(#705) 80 slashes comments are not allowed; use "// Comment." instead
(#715) Expected 1 space before "=>"; 0 found
(#715) Expected 1 space after "=>"; 0 found
(#745) Inline comments must start with a capital letter, digit or 3-dots sequence
(#745) Inline comments must end in full-stops, exclamation marks, or question marks
(#750) Expected 1 space before "=>"; 0 found
(#750) Expected 1 space after "=>"; 0 found
(#750) Expected 1 space before "=>"; 0 found
(#750) Expected 1 space after "=>"; 0 found
(#750) Expected 1 space before "=>"; 0 found
(#750) Expected 1 space after "=>"; 0 found
(#753) Line indented incorrectly; expected at least 4 spaces, found 3
mod/geogebra/locallib.php
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#188) Inline comments must end in full-stops, exclamation marks, or question marks
(#190) Inline comments must end in full-stops, exclamation marks, or question marks
(#202) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#218) Inline comments must end in full-stops, exclamation marks, or question marks
(#226) Inline comments must end in full-stops, exclamation marks, or question marks
(#238) Inline comments must end in full-stops, exclamation marks, or question marks
(#279) Inline comments must end in full-stops, exclamation marks, or question marks
(#298) Inline comments must start with a capital letter, digit or 3-dots sequence
(#298) Inline comments must end in full-stops, exclamation marks, or question marks
(#298) This comment is 60% valid code; is this commented out code?
(#320) Inline comments must end in full-stops, exclamation marks, or question marks
(#356) Inline comments must end in full-stops, exclamation marks, or question marks
(#362) Inline comments must end in full-stops, exclamation marks, or question marks
(#376) Inline comments must end in full-stops, exclamation marks, or question marks
(#388) Inline comments must start with a capital letter, digit or 3-dots sequence
(#388) Inline comments must end in full-stops, exclamation marks, or question marks
(#388) This comment is 80% valid code; is this commented out code?
(#388) No space found before comment text; expected "// debugging("Empty content");" but found "//debugging("Empty content");"
(#418) This comment is 54% valid code; is this commented out code?
(#495) Inline comments must end in full-stops, exclamation marks, or question marks
(#497) Inline comments must start with a capital letter, digit or 3-dots sequence
(#497) Inline comments must end in full-stops, exclamation marks, or question marks
(#497) This comment is 84% valid code; is this commented out code?
(#515) This comment is 50% valid code; is this commented out code?
(#540) Inline comments must start with a capital letter, digit or 3-dots sequence
(#540) Inline comments must end in full-stops, exclamation marks, or question marks
(#545) Inline comments must end in full-stops, exclamation marks, or question marks
(#563) Inline comments must end in full-stops, exclamation marks, or question marks
(#579) Spaces must be used for alignment; tabs are not allowed
(#582) Expected 1 space before "/"; 0 found
(#582) Expected 1 space after "/"; 0 found
(#582) Commas (,) must be followed by white space.
(#582) Commas (,) must be followed by white space.
(#588) Inline comments must end in full-stops, exclamation marks, or question marks
(#594) Inline comments must end in full-stops, exclamation marks, or question marks
(#598) Inline comments must end in full-stops, exclamation marks, or question marks
(#609) Inline comments must end in full-stops, exclamation marks, or question marks
(#615) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#617) Inline comments must end in full-stops, exclamation marks, or question marks
(#620) Inline comments must end in full-stops, exclamation marks, or question marks
(#650) Inline comments must end in full-stops, exclamation marks, or question marks
(#676) Inline comments must end in full-stops, exclamation marks, or question marks
(#679) Inline comments must end in full-stops, exclamation marks, or question marks
(#697) Line exceeds 132 characters; contains 147 characters
(#697) Inline comments must end in full-stops, exclamation marks, or question marks
(#699) Inline comments must start with a capital letter, digit or 3-dots sequence
(#699) Inline comments must end in full-stops, exclamation marks, or question marks
(#699) This comment is 59% valid code; is this commented out code?
(#711) Inline comments must end in full-stops, exclamation marks, or question marks
(#718) Expected 1 space before "?"; 0 found
(#718) Expected 1 space after "?"; 0 found
(#718) Expected 1 space before ":"; 0 found
(#718) Expected 1 space after ":"; 0 found
(#732) Inline comments must end in full-stops, exclamation marks, or question marks
(#735) Inline comments must end in full-stops, exclamation marks, or question marks
(#739) Inline comments must end in full-stops, exclamation marks, or question marks
(#741) This comment is 66% valid code; is this commented out code?
(#748) Inline comments must end in full-stops, exclamation marks, or question marks
(#756) Line exceeds 132 characters; contains 136 characters
(#756) This comment is 65% valid code; is this commented out code?
(#756) Inline comments must start with a capital letter, digit or 3-dots sequence
(#757) Inline comments must end in full-stops, exclamation marks, or question marks
(#757) This comment is 65% valid code; is this commented out code?
(#797) Inline comments must end in full-stops, exclamation marks, or question marks
(#800) Inline comments must end in full-stops, exclamation marks, or question marks
(#806) Inline comments must start with a capital letter, digit or 3-dots sequence
(#806) Inline comments must end in full-stops, exclamation marks, or question marks
(#806) This comment is 43% valid code; is this commented out code?
(#808) Inline comments must end in full-stops, exclamation marks, or question marks
(#810) Inline comments must end in full-stops, exclamation marks, or question marks
(#826) Inline comments must end in full-stops, exclamation marks, or question marks
(#839) Inline comments must end in full-stops, exclamation marks, or question marks
(#843) Inline comments must end in full-stops, exclamation marks, or question marks
(#853) Inline comments must end in full-stops, exclamation marks, or question marks
(#860) Inline comments must end in full-stops, exclamation marks, or question marks
(#866) Inline comments must end in full-stops, exclamation marks, or question marks
(#873) Inline comments must end in full-stops, exclamation marks, or question marks
(#875) Inline comments must end in full-stops, exclamation marks, or question marks
(#880) Inline comments must end in full-stops, exclamation marks, or question marks
(#887) Inline comments must end in full-stops, exclamation marks, or question marks
(#894) Inline comments must end in full-stops, exclamation marks, or question marks
(#926) Inline comments must end in full-stops, exclamation marks, or question marks
(#931) Inline comments must start with a capital letter, digit or 3-dots sequence
(#931) Inline comments must end in full-stops, exclamation marks, or question marks
(#931) This comment is 64% valid code; is this commented out code?
(#933) Line exceeds 132 characters; contains 134 characters
(#949) Line exceeds 132 characters; contains 168 characters
(#1065) Inline comments must end in full-stops, exclamation marks, or question marks
(#1087) Line exceeds 132 characters; contains 152 characters
(#1092) Line exceeds 132 characters; contains 149 characters
(#1095) Line exceeds 132 characters; contains 160 characters
(#1147) Inline comments must end in full-stops, exclamation marks, or question marks
(#1176) Inline comments must end in full-stops, exclamation marks, or question marks
(#1186) Inline comments must end in full-stops, exclamation marks, or question marks
(#1229) Inline comments must end in full-stops, exclamation marks, or question marks
(#1277) Inline comments must end in full-stops, exclamation marks, or question marks
(#1317) Inline comments must end in full-stops, exclamation marks, or question marks
(#1319) Inline comments must end in full-stops, exclamation marks, or question marks
(#1329) Inline comments must end in full-stops, exclamation marks, or question marks
(#1334) Inline comments must end in full-stops, exclamation marks, or question marks
(#1342) Inline comments must end in full-stops, exclamation marks, or question marks
(#1384) Inline comments must end in full-stops, exclamation marks, or question marks
(#1386) Inline comments must end in full-stops, exclamation marks, or question marks
(#1395) Inline comments must end in full-stops, exclamation marks, or question marks
(#1400) Inline comments must end in full-stops, exclamation marks, or question marks
(#1409) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/mod_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Expected 1 space before "=>"; 0 found
(#54) Expected 1 space after "=>"; 0 found
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Expected 1 space before "=>"; 0 found
(#69) Expected 1 space after "=>"; 0 found
(#70) Expected 1 space before "=>"; 0 found
(#70) Expected 1 space after "=>"; 0 found
(#72) Inline comments must start with a capital letter, digit or 3-dots sequence
(#72) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Expected 1 space before "=>"; 0 found
(#78) Expected 1 space after "=>"; 0 found
(#83) Expected 1 space before "=>"; 0 found
(#83) Expected 1 space after "=>"; 0 found
(#83) Line exceeds 132 characters; contains 160 characters
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) No space found before comment text; expected "// ---OPTIONS---------------------------------------------------------------------------" but found "//---OPTIONS---------------------------------------------------------------------------"
(#112) Expected 1 space before "=>"; 0 found
(#112) Expected 1 space after "=>"; 0 found
(#116) Expected 1 space before "=>"; 0 found
(#116) Expected 1 space after "=>"; 0 found
(#121) Line exceeds 132 characters; contains 140 characters
(#122) Line exceeds 132 characters; contains 140 characters
(#123) Line exceeds 132 characters; contains 134 characters
(#124) Line exceeds 132 characters; contains 144 characters
(#139) Line exceeds 132 characters; contains 134 characters
(#140) Line exceeds 132 characters; contains 136 characters
(#148) Inline comments must start with a capital letter, digit or 3-dots sequence
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) Inline comments must start with a capital letter, digit or 3-dots sequence
(#150) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Visibility must be declared on method "data_preprocessing"
(#158) Line exceeds 132 characters; contains 136 characters
(#197) Visibility must be declared on method "set_data"
(#203) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#230) Visibility must be declared on method "completion_rule_enabled"
mod/geogebra/report.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/version.php
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/view.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(188 errors, 30 warnings)

This section shows the coding style problems detected in the code by eslint [More info]

mod/geogebra/geogebra_view.js
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Unexpected tab character. (no-tabs)
(#2) Extra space after key 'startTime'. (key-spacing)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Extra space after key 'applet'. (key-spacing)
(#4) Unexpected tab character. (no-tabs)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Extra space after key 'properties'. (key-spacing)
(#6) Unexpected tab character. (no-tabs)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Unexpected tab character. (no-tabs)
(#8) Extra space after key 'propertyString'. (key-spacing)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Unexpected tab character. (no-tabs)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Unexpected tab character. (no-tabs)
(#12) Extra space after key 'init'. (key-spacing)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Unexpected tab character. (no-tabs)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Unexpected tab character. (no-tabs)
(#14) 'tmp' is not defined. (no-undef)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Unexpected tab character. (no-tabs)
(#15) 'i' is not defined. (no-undef)
(#15) 'tmp' is not defined. (no-undef)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Unexpected tab character. (no-tabs)
(#16) 'tmppr' is not defined. (no-undef)
(#16) 'tmp' is not defined. (no-undef)
(#16) 'i' is not defined. (no-undef)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Unexpected tab character. (no-tabs)
(#17) 'tmppr' is not defined. (no-undef)
(#17) 'tmppr' is not defined. (no-undef)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) Unexpected tab character. (no-tabs)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Unexpected tab character. (no-tabs)
(#19) ["duration"] is better written in dot notation. (dot-notation)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Unexpected tab character. (no-tabs)
(#20) ["duration"] is better written in dot notation. (dot-notation)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Unexpected tab character. (no-tabs)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Unexpected tab character. (no-tabs)
(#22) ["state"] is better written in dot notation. (dot-notation)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Unexpected tab character. (no-tabs)
(#23) Unexpected console statement. (no-console)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) Unexpected tab character. (no-tabs)
(#24) ["state"] is better written in dot notation. (dot-notation)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) Unexpected tab character. (no-tabs)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) Unexpected tab character. (no-tabs)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Unexpected tab character. (no-tabs)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Unexpected tab character. (no-tabs)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Unexpected tab character. (no-tabs)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Unexpected tab character. (no-tabs)
(#31) Extra space after key 'doExit'. (key-spacing)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#32) Unexpected tab character. (no-tabs)
(#32) 'duration' is not defined. (no-undef)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#33) Unexpected tab character. (no-tabs)
(#33) ["state"] is better written in dot notation. (dot-notation)
(#33) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#34) Unexpected tab character. (no-tabs)
(#34) ["grade"] is better written in dot notation. (dot-notation)
(#34) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#35) Unexpected tab character. (no-tabs)
(#35) ["duration"] is better written in dot notation. (dot-notation)
(#35) ["duration"] is better written in dot notation. (dot-notation)
(#35) 'duration' is not defined. (no-undef)
(#35) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#36) Unexpected tab character. (no-tabs)
(#36) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#37) Unexpected tab character. (no-tabs)
(#37) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#38) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#39) Extra space after key 'encodeProperties'. (key-spacing)
(#39) Unexpected tab character. (no-tabs)
(#39) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#40) Unexpected tab character. (no-tabs)
(#40) 'tmp' is not defined. (no-undef)
(#40) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#41) Unexpected tab character. (no-tabs)
(#41) There should be no spaces inside this paren. (space-in-parens)
(#41) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#42) Unexpected tab character. (no-tabs)
(#42) 'tmp' is not defined. (no-undef)
(#42) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#43) Unexpected tab character. (no-tabs)
(#43) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#44) Unexpected tab character. (no-tabs)
(#44) 'tmp' is not defined. (no-undef)
(#44) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#45) Unexpected tab character. (no-tabs)
(#45) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#46) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#46) Missing semicolon. (semi)
(#47) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#48) Missing JSDoc comment. (require-jsdoc)
(#48) Identifier 'geogebra_addEvent' is not in camel case. (camelcase)
(#48) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#49) Unexpected tab character. (no-tabs)
(#49) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#49) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#50) Unexpected tab character. (no-tabs)
(#50) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#51) Unexpected tab character. (no-tabs)
(#51) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#52) Unexpected tab character. (no-tabs)
(#52) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#53) Unexpected tab character. (no-tabs)
(#53) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#54) Unexpected tab character. (no-tabs)
(#54) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#55) Unexpected tab character. (no-tabs)
(#55) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#56) Unexpected tab character. (no-tabs)
(#56) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#57) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#58) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#59) Missing JSDoc comment. (require-jsdoc)
(#59) Identifier 'geogebra_submit_attempt' is not in camel case. (camelcase)
(#59) Missing space before opening brace. (space-before-blocks)
(#59) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#60) Unexpected tab character. (no-tabs)
(#60) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#61) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#62) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#63) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#64) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#65) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#66) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#67) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#68) Unexpected tab character. (no-tabs)
(#68) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#69) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#70) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#71) Missing JSDoc comment. (require-jsdoc)
(#71) Identifier 'init_ggb' is not in camel case. (camelcase)
(#71) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#72) Unexpected tab character. (no-tabs)
(#72) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#73) Unexpected tab character. (no-tabs)
(#73) 'applet' used outside of binding context. (block-scoped-var)
(#73) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#74) Unexpected tab character. (no-tabs)
(#74) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#75) Unexpected tab character. (no-tabs)
(#75) 'applet' is already defined. (no-redeclare)
(#75) 'applet' used outside of binding context. (block-scoped-var)
(#75) 'ggbApplet' is not defined. (no-undef)
(#75) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#76) Unexpected tab character. (no-tabs)
(#76) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#77) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#78) Unexpected tab character. (no-tabs)
(#78) 'applet' used outside of binding context. (block-scoped-var)
(#78) 'applet' used outside of binding context. (block-scoped-var)
(#78) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#79) Unexpected tab character. (no-tabs)
(#79) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#80) Unexpected tab character. (no-tabs)
(#80) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#81) Unexpected tab character. (no-tabs)
(#81) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#82) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#83) Unexpected tab character. (no-tabs)
(#83) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#84) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#85) Unexpected tab character. (no-tabs)
(#85) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#86) Unexpected tab character. (no-tabs)
(#86) 'applet' used outside of binding context. (block-scoped-var)
(#86) 'applet' used outside of binding context. (block-scoped-var)
(#86) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#87) Unexpected tab character. (no-tabs)
(#87) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#88) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#89) Unexpected tab character. (no-tabs)
(#89) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#90) Unexpected tab character. (no-tabs)
(#90) 'e' is defined but never used. (no-unused-vars)
(#90) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#91) Unexpected tab character. (no-tabs)
(#91) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#92) Unexpected tab character. (no-tabs)
(#92) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#93) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#94) Unexpected tab character. (no-tabs)
(#94) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#95) Unexpected tab character. (no-tabs)
(#95) 'e' is defined but never used. (no-unused-vars)
(#95) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#96) Unexpected tab character. (no-tabs)
(#96) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#97) Unexpected tab character. (no-tabs)
(#97) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#98) Unexpected tab character. (no-tabs)
(#98) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#99) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#100) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)

CSS problems

(111 errors, 4 warnings)

This section shows CSS problems detected by stylelint [More info]

mod/geogebra/styles.css
(#9) Expected newline before "}" (block-closing-brace-newline-before)
(#10) Expected newline before "}" (block-closing-brace-newline-before)
(#12) Expected newline before "}" (block-closing-brace-newline-before)
(#14) Expected newline before "}" (block-closing-brace-newline-before)
(#16) Expected newline before "}" (block-closing-brace-newline-before)
(#17) Expected newline before "}" (block-closing-brace-newline-before)
(#18) Expected newline before "}" (block-closing-brace-newline-before)
(#19) Expected newline before "}" (block-closing-brace-newline-before)
(#21) Expected newline before "}" (block-closing-brace-newline-before)
(#22) Expected newline before "}" (block-closing-brace-newline-before)
(#24) Expected newline before "}" (block-closing-brace-newline-before)
(#26) Expected newline before "}" (block-closing-brace-newline-before)
(#27) Expected newline before "}" (block-closing-brace-newline-before)
(#29) Expected newline before "}" (block-closing-brace-newline-before)
(#30) Expected newline before "}" (block-closing-brace-newline-before)
(#32) Expected newline before "}" (block-closing-brace-newline-before)
(#9) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#10) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#12) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#14) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#16) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#17) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#18) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#19) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#21) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#22) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#24) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#26) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#27) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#29) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#30) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#32) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#9) Expected newline after "{" (block-opening-brace-newline-after)
(#10) Expected newline after "{" (block-opening-brace-newline-after)
(#12) Expected newline after "{" (block-opening-brace-newline-after)
(#14) Expected newline after "{" (block-opening-brace-newline-after)
(#16) Expected newline after "{" (block-opening-brace-newline-after)
(#17) Expected newline after "{" (block-opening-brace-newline-after)
(#18) Expected newline after "{" (block-opening-brace-newline-after)
(#19) Expected newline after "{" (block-opening-brace-newline-after)
(#21) Expected newline after "{" (block-opening-brace-newline-after)
(#22) Expected newline after "{" (block-opening-brace-newline-after)
(#24) Expected newline after "{" (block-opening-brace-newline-after)
(#26) Expected newline after "{" (block-opening-brace-newline-after)
(#27) Expected newline after "{" (block-opening-brace-newline-after)
(#29) Expected newline after "{" (block-opening-brace-newline-after)
(#30) Expected newline after "{" (block-opening-brace-newline-after)
(#32) Expected newline after "{" (block-opening-brace-newline-after)
(#9) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#10) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#12) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#14) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#16) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#17) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#18) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#19) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#21) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#22) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#24) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#26) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#27) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#29) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#30) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#32) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#12) Expected single space before "{" (block-opening-brace-space-before)
(#14) Expected single space before "{" (block-opening-brace-space-before)
(#16) Expected single space before "{" (block-opening-brace-space-before)
(#17) Expected single space before "{" (block-opening-brace-space-before)
(#18) Expected single space before "{" (block-opening-brace-space-before)
(#19) Expected single space before "{" (block-opening-brace-space-before)
(#24) Expected single space before "{" (block-opening-brace-space-before)
(#26) Expected single space before "{" (block-opening-brace-space-before)
(#27) Expected single space before "{" (block-opening-brace-space-before)
(#29) Expected single space before "{" (block-opening-brace-space-before)
(#32) Expected single space before "{" (block-opening-brace-space-before)
(#34) Expected single space before "{" (block-opening-brace-space-before)
(#9) Expected "#DFFFDF" to be "#dfffdf" (color-hex-case)
(#10) Expected "#FFDFDF" to be "#ffdfdf" (color-hex-case)
(#32) Expected "#FFD991" to be "#ffd991" (color-hex-case)
(#9) Expected single space before "!" (declaration-bang-space-before)
(#10) Expected single space before "!" (declaration-bang-space-before)
(#12) Expected single space before "!" (declaration-bang-space-before)
(#14) Expected single space before "!" (declaration-bang-space-before)
(#16) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#16) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#12) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#16) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#21) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#22) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#27) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#29) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#9) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#10) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#12) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#12) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#14) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#16) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#16) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#16) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#17) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#18) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#21) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#21) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#22) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#22) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#29) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#29) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#40) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#9) Unexpected !important (declaration-no-important)
(#10) Unexpected !important (declaration-no-important)
(#12) Unexpected !important (declaration-no-important)
(#14) Unexpected !important (declaration-no-important)
(#26) Unexpected extra semicolon (no-extra-semicolons)
(#34) Expected single space after ">" (selector-combinator-space-after)
(#34) Expected single space before ">" (selector-combinator-space-before)

PHPDocs style problems

(108 errors, 22 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

mod/geogebra/attempt.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/geogebra/backup/moodle1/lib.php
(#21) Package mod is not valid
(#2) Empty line found after PHP open tag
(#64) Phpdocs for function moodle1_mod_geogebra_handler::process_geogebra has incomplete parameters list
(#32) Class moodle1_mod_geogebra_handler does not have @copyright tag
(#32) Class moodle1_mod_geogebra_handler does not have @license tag
mod/geogebra/backup/moodle2/backup_geogebra_activity_task.class.php
(#20) Package mod is not valid
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#30) No one-line description found in phpdocs for class backup_geogebra_activity_task
(#51) Phpdocs for function backup_geogebra_activity_task::encode_content_links has incomplete parameters list
(#30) Class backup_geogebra_activity_task does not have @copyright tag
(#30) Class backup_geogebra_activity_task does not have @license tag
mod/geogebra/backup/moodle2/backup_geogebra_stepslib.php
(#22) Package mod is not valid
(#2) Empty line found after PHP open tag
(#34) Function backup_geogebra_activity_structure_step::define_structure is not documented
(#29) Class backup_geogebra_activity_structure_step does not have @copyright tag
(#29) Class backup_geogebra_activity_structure_step does not have @license tag
mod/geogebra/backup/moodle2/restore_geogebra_activity_task.class.php
(#20) Package mod is not valid
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#32) No one-line description found in phpdocs for class restore_geogebra_activity_task
(#32) Class restore_geogebra_activity_task does not have @copyright tag
(#32) Class restore_geogebra_activity_task does not have @license tag
mod/geogebra/backup/moodle2/restore_geogebra_stepslib.php
(#22) Package mod is not valid
(#2) Empty line found after PHP open tag
(#34) Function restore_geogebra_activity_structure_step::define_structure is not documented
(#48) Function restore_geogebra_activity_structure_step::process_geogebra is not documented
(#67) Function restore_geogebra_activity_structure_step::process_geogebra_attempt is not documented
(#80) Function restore_geogebra_activity_structure_step::after_execute is not documented
(#29) Class restore_geogebra_activity_structure_step does not have @copyright tag
(#29) Class restore_geogebra_activity_structure_step does not have @license tag
mod/geogebra/classes/event/course_module_viewed.php
(#28) Class course_module_viewed does not have @copyright tag
(#28) Class course_module_viewed does not have @license tag
mod/geogebra/db/access.php
(#43) Package mod is not valid
(#2) Empty line found after PHP open tag
mod/geogebra/db/log.php
(#25) Package mod is not valid
(#2) Empty line found after PHP open tag
mod/geogebra/db/upgrade.php
(#28) Package mod is not valid
(#2) Empty line found after PHP open tag
(#103) Found comment starting with three or more slashes
(#108) Found comment starting with three or more slashes
(#125) Found comment starting with three or more slashes
mod/geogebra/db/upgradelib.php
(#21) Package mod is not valid
(#2) Empty line found after PHP open tag
(#32) Phpdocs for function geogebra_migrate_files has incomplete parameters list
mod/geogebra/gradeform.php
(#21) Package mod is not valid
(#2) Empty line found after PHP open tag
(#40) Class mod_geogebra_grade_form is not documented
mod/geogebra/index.php
(#24) Package mod is not valid
(#2) Empty line found after PHP open tag
mod/geogebra/lang/en/geogebra.php
(#25) Package mod is not valid
(#2) Empty line found after PHP open tag
mod/geogebra/lib.php
(#27) Package mod is not valid
(#2) Empty line found after PHP open tag
(#61) Found comment starting with three or more slashes
(#63) Found comment starting with three or more slashes
(#335) Found comment starting with three or more slashes
(#337) Found comment starting with three or more slashes
(#528) Found comment starting with three or more slashes
(#530) Found comment starting with three or more slashes
(#664) Found comment starting with three or more slashes
(#666) Found comment starting with three or more slashes
(#703) Found comment starting with three or more slashes
(#705) Found comment starting with three or more slashes
(#104) Phpdocs for function geogebra_add_instance has incomplete parameters list
(#133) Phpdocs for function geogebra_update_instance has incomplete parameters list
(#231) Phpdocs for function geogebra_user_complete has incomplete parameters list
(#247) Phpdocs for function geogebra_print_recent_activity has incomplete parameters list
(#277) Phpdocs for function geogebra_print_recent_mod_activity has incomplete parameters list
(#347) Phpdocs for function geogebra_scale_used has incomplete parameters list
(#366) Phpdocs for function geogebra_scale_used_anywhere has incomplete parameters list
(#709) Phpdocs for function geogebra_reset_gradebook has incomplete parameters list
(#732) Phpdocs for function geogebra_reset_userdata has incomplete parameters list
(#759) Phpdocs for function geogebra_reset_course_form_definition has incomplete parameters list
(#767) Phpdocs for function geogebra_reset_course_form_defaults has incomplete parameters list
(#68) Invalid phpdocs tag @todo: used
(#102) Invalid phpdocs tag @todo: used
(#159) Invalid phpdocs tag @todo: used
(#235) Invalid phpdocs tag @todo: used
(#252) Invalid phpdocs tag @todo: used
(#263) Invalid phpdocs tag @todo: used
(#280) Invalid phpdocs tag @todo: used
(#328) Not recommended phpdocs tag @example used
(#432) Not recommended phpdocs tag @global used
(#278) Invalid inline phpdocs tag @see found
mod/geogebra/locallib.php
(#23) Package mod is not valid
(#34) Function geogebra_before_add_or_update is not documented
(#45) Function geogebra_after_add_or_update is not documented
(#251) Function geogebra_get_id is not documented
(#261) Function geogebra_get_script_param is not documented
(#265) Function geogebra_print_content is not documented
(#493) Function geogebra_get_filemanager_options is not documented
(#504) Function geogebra_set_mainfile is not documented
(#555) Function geogebra_is_valid_external_url is not documented
(#559) Function geogebra_is_valid_file is not documented
(#585) Function geogebra_view_results is not documented
(#755) Function geogebra_get_results_table_columns is not documented
(#779) Function geogebra_view_userid_results is not documented
(#955) Function geogebra_add_table_row_tuple is not documented
(#1083) Function geogebra_get_tabs is not documented
(#899) There is no description in phpdocs for function geogebra_get_attempt_row
(#99) Phpdocs for function geogebra_view_intro has incomplete parameters list
(#112) Phpdocs for function geogebra_view_dates has incomplete parameters list
(#144) Phpdocs for function geogebra_view_applet has incomplete parameters list
(#408) Phpdocs for function geogebra_submittedlink has incomplete parameters list
(#568) Phpdocs for function geogebra_format_time has incomplete parameters list
(#902) Phpdocs for function geogebra_get_attempt_row has incomplete parameters list
(#974) Phpdocs for function geogebra_count_finished_attempts has incomplete parameters list
(#987) Phpdocs for function geogebra_get_unfinished_attempt has incomplete parameters list
(#1012) Phpdocs for function geogebra_get_user_attempts has incomplete parameters list
(#1051) Phpdocs for function geogebra_update_attempt has incomplete parameters list
(#1104) Phpdocs for function geogebra_update_attributes has incomplete parameters list
(#406) Not recommended phpdocs tag @global used
(#406) Not recommended phpdocs tag @global used
(#901) Not recommended phpdocs tag @global used
mod/geogebra/mod_form.php
(#24) Package mod is not valid
(#2) Empty line found after PHP open tag
(#155) Function mod_geogebra_mod_form::data_preprocessing is not documented
(#163) Function mod_geogebra_mod_form::validation is not documented
(#197) Function mod_geogebra_mod_form::set_data is not documented
(#230) Function mod_geogebra_mod_form::completion_rule_enabled is not documented
(#36) Class mod_geogebra_mod_form does not have @copyright tag
(#36) Class mod_geogebra_mod_form does not have @license tag
mod/geogebra/report.php
(#24) Package mod is not valid
(#2) Empty line found after PHP open tag
mod/geogebra/version.php
(#24) Package mod is not valid
mod/geogebra/view.php
(#24) Package mod is not valid
(#2) Empty line found after PHP open tag

Update savepoints problems

(5 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

mod/geogebra/db/upgrade.php
Detected more 'if' blocks (7) than 'savepoint' calls (4)
Wrong order in versions: 2012082100 and 2011122902
version 2012030100 is missing corresponding savepoint call
version 2012030101 is missing corresponding savepoint call
version 2012082100 is missing corresponding savepoint call

Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Task "stylelint:css" failed. Use --force to continue.
Problems running grunt

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]