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

(281 errors, 304 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
(#7) Inline comments must end in full-stops, exclamation marks, or question marks
(#8) Inline comments must start with a capital letter, digit or 3-dots sequence
(#8) Inline comments must end in full-stops, exclamation marks, or question marks
(#9) Inline comments must start with a capital letter, digit or 3-dots sequence
(#9) Inline comments must end in full-stops, exclamation marks, or question marks
(#10) 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
(#21) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() 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
(#28) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#61) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#63) Inline control structures are not allowed
(#64) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#55) The static declaration must come after the visibility declaration
(#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.
(#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
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) 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.
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#58) The static declaration must come after the visibility declaration
(#70) The static declaration must come after the visibility declaration
(#86) The static declaration must come after the visibility declaration
(#106) The static declaration must come after the visibility declaration
(#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.
(#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/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) 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 ======//"
(#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) Inline comments must start with a capital letter, digit or 3-dots sequence
(#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.
(#32) "require_once" must be immediately followed by an open parenthesis
(#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
(#37) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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/ca/geogebra.php
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) No space found before comment text; expected "// Unused" but found "//Unused"
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) No space found before comment text; expected "// Unused" but found "//Unused"
(#103) Expected 1 space before "="; 0 found
(#103) Expected 1 space after "="; 0 found
(#111) Inline comments must start with a capital letter, digit or 3-dots sequence
(#111) This comment is 78% valid code; is this commented out code?
(#111) No space found before comment text; expected "// $string['save'] = 'Desa';" but found "//$string['save'] = 'Desa';"
(#160) Expected 1 space before "="; 0 found
(#168) Expected 1 space before "="; 0 found
mod/geogebra/lang/en/geogebra.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/geogebra/lang/es/geogebra.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) No space found before comment text; expected "// Unused" but found "//Unused"
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) No space found before comment text; expected "// Unused" but found "//Unused"
(#145) Expected 1 space before "="; 0 found
(#145) Expected 1 space after "="; 0 found
(#146) Expected 1 space before "="; 0 found
(#146) Expected 1 space after "="; 0 found
(#164) Expected 1 space before "="; 0 found
(#172) Expected 1 space before "="; 0 found
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
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) 80 slashes comments are not allowed; use "// Comment." instead
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) 80 slashes comments are not allowed; use "// Comment." instead
(#82) Closing brace must be on a line by itself
(#83) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) This comment is 50% valid code; is this commented out code?
(#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) Closing brace must be on a line by itself
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) This comment is 56% valid code; is this commented out code?
(#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
(#88) Closing brace must be on a line by itself
(#89) Inline comments must start with a capital letter, digit or 3-dots sequence
(#89) This comment is 50% valid code; is this commented out code?
(#89) Line indented incorrectly; expected at least 8 spaces, found 0
(#89) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Line indented incorrectly; expected at least 8 spaces, found 0
(#90) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#91) Closing brace must be on a line by itself
(#92) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) This comment is 50% valid code; is this commented out code?
(#92) Line indented incorrectly; expected at least 8 spaces, found 0
(#92) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Line indented incorrectly; expected at least 8 spaces, found 0
(#93) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#95) Line indented incorrectly; expected at least 12 spaces, found 10
(#95) Inline control structures are not allowed
(#95) Expected 1 space before "=="; 0 found
(#95) Expected 1 space after "=="; 0 found
(#96) Line indented incorrectly; expected 12 spaces, found 10
(#96) Inline control structures are not allowed
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#125) Expected 1 space before "=>"; 0 found
(#125) Expected 1 space after "=>"; 0 found
(#173) Expected 1 space before "=>"; 0 found
(#173) Expected 1 space after "=>"; 0 found
(#181) Inline comments must start with a capital letter, digit or 3-dots sequence
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#182) Expected "if (...) {\n"; found "if(...){\n"
(#186) Inline doc block comments are not allowed; use "// Comment." instead
(#193) Inline comments must start with a capital letter, digit or 3-dots sequence
(#193) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) Expected 1 space before "=>"; 0 found
(#194) Expected 1 space after "=>"; 0 found
(#194) Expected 1 space before "=>"; 0 found
(#194) Expected 1 space after "=>"; 0 found
(#196) Inline comments must start with a capital letter, digit or 3-dots sequence
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#227) Inline comments must start with a capital letter, digit or 3-dots sequence
(#227) Inline comments must end in full-stops, exclamation marks, or question marks
(#227) 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"
(#248) The use of function print_r() is forbidden
(#263) Inline comments must end in full-stops, exclamation marks, or question marks
(#263) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#308) Inline comments must end in full-stops, exclamation marks, or question marks
(#308) No space found before comment text; expected "// Get students" but found "//Get students"
(#314) Inline comments must end in full-stops, exclamation marks, or question marks
(#314) No space found before comment text; expected "// Get teachers" but found "//Get teachers"
(#321) Inline comments must end in full-stops, exclamation marks, or question marks
(#321) No space found before comment text; expected "// Add teachers to students" but found "//Add teachers to students"
(#327) Inline comments must end in full-stops, exclamation marks, or question marks
(#327) 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)"
(#341) 80 slashes comments are not allowed; use "// Comment." instead
(#343) Inline comments must end in full-stops, exclamation marks, or question marks
(#343) 80 slashes comments are not allowed; use "// Comment." instead
(#360) Expected 1 space before "=>"; 0 found
(#360) Expected 1 space after "=>"; 0 found
(#360) Commas (,) must be followed by white space.
(#360) Expected 1 space before "=>"; 0 found
(#360) Expected 1 space after "=>"; 0 found
(#378) Expected 1 space before "=>"; 0 found
(#378) Expected 1 space after "=>"; 0 found
(#397) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#422) Inline comments must start with a capital letter, digit or 3-dots sequence
(#422) Inline comments must end in full-stops, exclamation marks, or question marks
(#425) Expected 1 space before "==="; 2 found
(#427) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#446) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#446) Expected 1 space before "=>"; 0 found
(#446) Expected 1 space after "=>"; 0 found
(#446) Line exceeds 132 characters; contains 142 characters
(#462) Inline comments must start with a capital letter, digit or 3-dots sequence
(#462) Inline comments must end in full-stops, exclamation marks, or question marks
(#494) Inline comments must start with a capital letter, digit or 3-dots sequence
(#494) Line indented incorrectly; expected at least 4 spaces, found 0
(#494) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#517) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#517) Expected 1 space before "=>"; 0 found
(#517) Expected 1 space after "=>"; 0 found
(#517) Expected 1 space before "=>"; 0 found
(#517) Expected 1 space after "=>"; 0 found
(#526) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#534) 80 slashes comments are not allowed; use "// Comment." instead
(#536) Inline comments must end in full-stops, exclamation marks, or question marks
(#536) 80 slashes comments are not allowed; use "// Comment." instead
(#574) Inline comments must start with a capital letter, digit or 3-dots sequence
(#588) Inline comments must start with a capital letter, digit or 3-dots sequence
(#588) Inline comments must end in full-stops, exclamation marks, or question marks
(#603) Inline comments must start with a capital letter, digit or 3-dots sequence
(#603) Inline comments must end in full-stops, exclamation marks, or question marks
(#609) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#611) Inline comments must start with a capital letter, digit or 3-dots sequence
(#611) Inline comments must end in full-stops, exclamation marks, or question marks
(#642) Inline comments must start with a capital letter, digit or 3-dots sequence
(#642) Inline comments must end in full-stops, exclamation marks, or question marks
(#646) Inline comments must start with a capital letter, digit or 3-dots sequence
(#646) Inline comments must end in full-stops, exclamation marks, or question marks
(#655) This comment is 64% valid code; is this commented out code?
(#655) Line indented incorrectly; expected at least 8 spaces, found 0
(#663) Line indented incorrectly; expected at least 8 spaces, found 1
(#666) Inline comments must start with a capital letter, digit or 3-dots sequence
(#666) Inline comments must end in full-stops, exclamation marks, or question marks
(#670) 80 slashes comments are not allowed; use "// Comment." instead
(#672) Inline comments must end in full-stops, exclamation marks, or question marks
(#672) 80 slashes comments are not allowed; use "// Comment." instead
(#696) Expected 1 space before "=>"; 0 found
(#696) Expected 1 space after "=>"; 0 found
(#709) 80 slashes comments are not allowed; use "// Comment." instead
(#711) Inline comments must end in full-stops, exclamation marks, or question marks
(#711) 80 slashes comments are not allowed; use "// Comment." instead
(#721) Expected 1 space before "=>"; 0 found
(#721) Expected 1 space after "=>"; 0 found
(#751) Inline comments must start with a capital letter, digit or 3-dots sequence
(#751) Inline comments must end in full-stops, exclamation marks, or question marks
(#756) Expected 1 space before "=>"; 0 found
(#756) Expected 1 space after "=>"; 0 found
(#756) Expected 1 space before "=>"; 0 found
(#756) Expected 1 space after "=>"; 0 found
(#756) Expected 1 space before "=>"; 0 found
(#756) Expected 1 space after "=>"; 0 found
(#759) Line indented incorrectly; expected at least 4 spaces, found 3
mod/geogebra/locallib.php
(#89) Inline comments must start with a capital letter, digit or 3-dots sequence
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#174) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#195) Inline comments must end in full-stops, exclamation marks, or question marks
(#197) Inline comments must end in full-stops, exclamation marks, or question marks
(#209) Inline comments must end in full-stops, exclamation marks, or question marks
(#219) Inline comments must end in full-stops, exclamation marks, or question marks
(#225) Inline comments must end in full-stops, exclamation marks, or question marks
(#233) Inline comments must end in full-stops, exclamation marks, or question marks
(#245) Inline comments must end in full-stops, exclamation marks, or question marks
(#286) Inline comments must end in full-stops, exclamation marks, or question marks
(#305) Inline comments must start with a capital letter, digit or 3-dots sequence
(#305) This comment is 78% valid code; is this commented out code?
(#328) Inline comments must end in full-stops, exclamation marks, or question marks
(#347) Inline comments must end in full-stops, exclamation marks, or question marks
(#364) Inline comments must end in full-stops, exclamation marks, or question marks
(#370) Inline comments must end in full-stops, exclamation marks, or question marks
(#384) Inline comments must end in full-stops, exclamation marks, or question marks
(#396) Inline comments must start with a capital letter, digit or 3-dots sequence
(#396) Inline comments must end in full-stops, exclamation marks, or question marks
(#396) This comment is 80% valid code; is this commented out code?
(#396) No space found before comment text; expected "// debugging("Empty content");" but found "//debugging("Empty content");"
(#426) This comment is 58% valid code; is this commented out code?
(#505) Inline comments must start with a capital letter, digit or 3-dots sequence
(#505) Inline comments must end in full-stops, exclamation marks, or question marks
(#505) This comment is 100% valid code; is this commented out code?
(#523) This comment is 60% valid code; is this commented out code?
(#548) Inline comments must start with a capital letter, digit or 3-dots sequence
(#548) Inline comments must end in full-stops, exclamation marks, or question marks
(#553) Inline comments must end in full-stops, exclamation marks, or question marks
(#571) Inline comments must end in full-stops, exclamation marks, or question marks
(#587) Spaces must be used for alignment; tabs are not allowed
(#590) Expected 1 space before "/"; 0 found
(#590) Expected 1 space after "/"; 0 found
(#590) Commas (,) must be followed by white space.
(#590) Commas (,) must be followed by white space.
(#596) Inline comments must end in full-stops, exclamation marks, or question marks
(#602) Inline comments must end in full-stops, exclamation marks, or question marks
(#606) Inline comments must end in full-stops, exclamation marks, or question marks
(#617) Inline comments must end in full-stops, exclamation marks, or question marks
(#623) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#625) Inline comments must end in full-stops, exclamation marks, or question marks
(#628) Inline comments must end in full-stops, exclamation marks, or question marks
(#658) Inline comments must end in full-stops, exclamation marks, or question marks
(#684) Inline comments must end in full-stops, exclamation marks, or question marks
(#687) Inline comments must end in full-stops, exclamation marks, or question marks
(#705) Line exceeds 132 characters; contains 147 characters
(#705) Inline comments must end in full-stops, exclamation marks, or question marks
(#707) Inline comments must start with a capital letter, digit or 3-dots sequence
(#707) This comment is 65% valid code; is this commented out code?
(#719) Inline comments must end in full-stops, exclamation marks, or question marks
(#726) Expected 1 space before "?"; 0 found
(#726) Expected 1 space after "?"; 0 found
(#726) Expected 1 space before ":"; 0 found
(#726) Expected 1 space after ":"; 0 found
(#740) Inline comments must end in full-stops, exclamation marks, or question marks
(#743) Inline comments must end in full-stops, exclamation marks, or question marks
(#747) Inline comments must end in full-stops, exclamation marks, or question marks
(#749) This comment is 66% valid code; is this commented out code?
(#756) Inline comments must end in full-stops, exclamation marks, or question marks
(#764) Line exceeds 132 characters; contains 136 characters
(#764) Inline comments must start with a capital letter, digit or 3-dots sequence
(#764) This comment is 68% valid code; is this commented out code?
(#805) Inline comments must end in full-stops, exclamation marks, or question marks
(#808) Inline comments must end in full-stops, exclamation marks, or question marks
(#814) Inline comments must start with a capital letter, digit or 3-dots sequence
(#814) This comment is 67% valid code; is this commented out code?
(#816) Inline comments must end in full-stops, exclamation marks, or question marks
(#818) Inline comments must end in full-stops, exclamation marks, or question marks
(#834) Inline comments must end in full-stops, exclamation marks, or question marks
(#847) Inline comments must end in full-stops, exclamation marks, or question marks
(#851) Inline comments must end in full-stops, exclamation marks, or question marks
(#861) Inline comments must end in full-stops, exclamation marks, or question marks
(#868) Inline comments must end in full-stops, exclamation marks, or question marks
(#874) Inline comments must end in full-stops, exclamation marks, or question marks
(#881) Inline comments must end in full-stops, exclamation marks, or question marks
(#883) Inline comments must end in full-stops, exclamation marks, or question marks
(#887) Inline comments must start with a capital letter, digit or 3-dots sequence
(#887) Inline comments must end in full-stops, exclamation marks, or question marks
(#887) This comment is 57% valid code; is this commented out code?
(#887) No space found before comment text; expected "// echo $picture.' '.$userlink.' ('.$user->email.')';" but found "//echo $picture.' '.$userlink.' ('.$user->email.')';"
(#889) Inline comments must end in full-stops, exclamation marks, or question marks
(#896) Inline comments must end in full-stops, exclamation marks, or question marks
(#903) Inline comments must end in full-stops, exclamation marks, or question marks
(#935) Inline comments must end in full-stops, exclamation marks, or question marks
(#940) Inline comments must start with a capital letter, digit or 3-dots sequence
(#940) This comment is 71% valid code; is this commented out code?
(#942) Line exceeds 132 characters; contains 134 characters
(#958) Line exceeds 132 characters; contains 168 characters
(#1074) Inline comments must end in full-stops, exclamation marks, or question marks
(#1096) Line exceeds 132 characters; contains 152 characters
(#1101) Line exceeds 132 characters; contains 149 characters
(#1104) Line exceeds 132 characters; contains 160 characters
(#1156) Inline comments must end in full-stops, exclamation marks, or question marks
(#1185) Inline comments must end in full-stops, exclamation marks, or question marks
(#1195) Inline comments must end in full-stops, exclamation marks, or question marks
(#1238) Inline comments must end in full-stops, exclamation marks, or question marks
(#1286) Inline comments must end in full-stops, exclamation marks, or question marks
(#1337) Inline comments must end in full-stops, exclamation marks, or question marks
(#1338) 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
(#1343) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1343) Inline comments must end in full-stops, exclamation marks, or question marks
(#1403) Inline comments must end in full-stops, exclamation marks, or question marks
(#1404) Inline comments must end in full-stops, exclamation marks, or question marks
(#1408) Inline comments must end in full-stops, exclamation marks, or question marks
(#1409) Inline comments must start with a capital letter, digit or 3-dots sequence
(#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 "//-------------------------------------------------------------------------------"
(#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 "//-------------------------------------------------------------------------------"
(#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) 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 "//-------------------------------------------------------------------------------"
(#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
(#42) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) 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
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) 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
(#48) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#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
(#88) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead

Javascript coding style problems

(4 errors, 12 warnings)

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

mod/geogebra/geogebra_view.js
(#9) Unexpected space before function parentheses. (space-before-function-paren)
(#20) Unexpected console statement. (no-console)
(#28) Unexpected space before function parentheses. (space-before-function-paren)
(#36) Unexpected space before function parentheses. (space-before-function-paren)
(#45) Missing JSDoc comment. (require-jsdoc)
(#45) Identifier 'geogebra_addEvent' is not in camel case. (camelcase)
(#46) Use '===' to compare with null. (no-eq-null)
(#56) Missing JSDoc comment. (require-jsdoc)
(#56) Identifier 'geogebra_submit_attempt' is not in camel case. (camelcase)
(#64) Unexpected space before function parentheses. (space-before-function-paren)
(#68) Missing JSDoc comment. (require-jsdoc)
(#68) Identifier 'init_ggb' is not in camel case. (camelcase)
(#70) Trailing spaces not allowed. (no-trailing-spaces)
(#74) 'ggbApplet' is not defined. (no-undef)
(#90) Unexpected space before function parentheses. (space-before-function-paren)
(#96) Unexpected space before function parentheses. (space-before-function-paren)

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

(106 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
(#40) Inline phpdocs tag {@link convert_path} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#40) Inline phpdocs tag {@link convert_path} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
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
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
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
(#82) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#84) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#98) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#100) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
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
mod/geogebra/classes/privacy/provider.php
(#194) Phpdocs for function provider::export_geogebra_data_for_user has incomplete parameters list
mod/geogebra/db/access.php
(#42) Package mod is not valid
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/ca/geogebra.php
(#24) Package mod is not valid
mod/geogebra/lang/en/geogebra.php
(#25) Package mod is not valid
(#2) Empty line found after PHP open tag
mod/geogebra/lang/es/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
(#67) Found comment starting with three or more slashes
(#69) Found comment starting with three or more slashes
(#341) Found comment starting with three or more slashes
(#343) Found comment starting with three or more slashes
(#534) Found comment starting with three or more slashes
(#536) Found comment starting with three or more slashes
(#670) Found comment starting with three or more slashes
(#672) Found comment starting with three or more slashes
(#709) Found comment starting with three or more slashes
(#711) Found comment starting with three or more slashes
(#110) Phpdocs for function geogebra_add_instance has incomplete parameters list
(#139) Phpdocs for function geogebra_update_instance has incomplete parameters list
(#237) Phpdocs for function geogebra_user_complete has incomplete parameters list
(#253) Phpdocs for function geogebra_print_recent_activity has incomplete parameters list
(#283) Phpdocs for function geogebra_print_recent_mod_activity has incomplete parameters list
(#353) Phpdocs for function geogebra_scale_used has incomplete parameters list
(#372) Phpdocs for function geogebra_scale_used_anywhere has incomplete parameters list
(#715) Phpdocs for function geogebra_reset_gradebook has incomplete parameters list
(#738) Phpdocs for function geogebra_reset_userdata has incomplete parameters list
(#765) Phpdocs for function geogebra_reset_course_form_definition has incomplete parameters list
(#773) Phpdocs for function geogebra_reset_course_form_defaults has incomplete parameters list
(#74) Invalid phpdocs tag @todo: used
(#108) Invalid phpdocs tag @todo: used
(#165) Invalid phpdocs tag @todo: used
(#241) Invalid phpdocs tag @todo: used
(#258) Invalid phpdocs tag @todo: used
(#269) Invalid phpdocs tag @todo: used
(#286) Invalid phpdocs tag @todo: used
(#334) Not recommended phpdocs tag @example used
(#438) Not recommended phpdocs tag @global used
(#542) Inline phpdocs tag {@link file_browser::get_file_info_context_module()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#680) Inline phpdocs tag {@link settings_navigation} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#681) Inline phpdocs tag {@link navigation_node} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
mod/geogebra/locallib.php
(#23) Package mod is not valid
(#34) Function geogebra_before_add_or_update is not documented
(#48) Function geogebra_after_add_or_update is not documented
(#258) Function geogebra_get_id is not documented
(#268) Function geogebra_get_script_param is not documented
(#272) Function geogebra_print_content is not documented
(#501) Function geogebra_get_filemanager_options is not documented
(#512) Function geogebra_set_mainfile is not documented
(#563) Function geogebra_is_valid_external_url is not documented
(#567) Function geogebra_is_valid_file is not documented
(#593) Function geogebra_view_results is not documented
(#763) Function geogebra_get_results_table_columns is not documented
(#787) Function geogebra_view_userid_results is not documented
(#964) Function geogebra_add_table_row_tuple is not documented
(#1092) Function geogebra_get_tabs is not documented
(#908) There is no description in phpdocs for function geogebra_get_attempt_row
(#106) Phpdocs for function geogebra_view_intro has incomplete parameters list
(#119) Phpdocs for function geogebra_view_dates has incomplete parameters list
(#151) Phpdocs for function geogebra_view_applet has incomplete parameters list
(#416) Phpdocs for function geogebra_submittedlink has incomplete parameters list
(#576) Phpdocs for function geogebra_format_time has incomplete parameters list
(#911) Phpdocs for function geogebra_get_attempt_row has incomplete parameters list
(#983) Phpdocs for function geogebra_count_finished_attempts has incomplete parameters list
(#996) Phpdocs for function geogebra_get_unfinished_attempt has incomplete parameters list
(#1021) Phpdocs for function geogebra_get_user_attempts has incomplete parameters list
(#1060) Phpdocs for function geogebra_update_attempt has incomplete parameters list
(#1113) Phpdocs for function geogebra_update_attributes has incomplete parameters list
(#414) Not recommended phpdocs tag @global used
(#414) Not recommended phpdocs tag @global used
(#910) 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
mod/geogebra/report.php
(#24) Package mod is not valid
(#2) Empty line found after PHP open tag
mod/geogebra/tests/generator/lib.php
(#38) Function mod_geogebra_generator::create_instance is not documented
mod/geogebra/version.php
(#23) 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]

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

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]


Gherkin .feature problems

(1 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]

mod/geogebra/tests/behat/preview_activity.feature
(#30) New line at EOF(end of file) is required