Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(245 errors, 457 warnings)

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

mod/geogebra/attempt.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file attempt.php
(#1) Moodle boilerplate not found
(#3) "require_once" must be immediately followed by an open parenthesis
(#4) "require_once" must be immediately followed by an open parenthesis
(#5) "require_once" must be immediately followed by an open parenthesis
(#7) Inline comments must end in full-stops, exclamation marks, or question marks
(#8) Inline comments must end in full-stops, exclamation marks, or question marks
(#9) Inline comments must end in full-stops, exclamation marks, or question marks
(#10) Inline comments must end in full-stops, exclamation marks, or question marks
(#16) Usage of ELSEIF not allowed; use ELSE IF instead
(#27) Variable "parsedVars" must be all lower-case
(#41) Variable "attemptVars" must be all lower-case
(#42) Variable "attemptVars" must be all lower-case
(#47) Variable "parsedVars" must be all lower-case
(#48) Variable "parsedVars" must be all lower-case
(#49) Variable "parsedVars" must be all lower-case
(#53) Variable "parsedVars" must be all lower-case
(#54) Variable "parsedVars" must be all lower-case
(#55) Variable "parsedVars" must be all lower-case
(#56) Variable "parsedVars" must be all lower-case
(#60) Variable "parsedVars" must be all lower-case
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/backup/moodle1/lib.php
(#2) Moodle boilerplate not found at first line
(#21) Incorrect @package tag for file lib.php. Expected mod_geogebra, found mod.
(#30) "require_once" must be immediately followed by an open parenthesis
(#71) Inline comments must start with a capital letter, digit or 3-dots sequence
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Inline comments must start with a capital letter, digit or 3-dots sequence
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#85) Inline comments must start with a capital letter, digit or 3-dots sequence
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Variable "parsedVarsURL" must be all lower-case
(#92) Variable "parsedVarsURL" must be all lower-case
(#94) Variable "parsedVarsURL" must be all lower-case
(#94) Line exceeds maximum limit of 180 characters; contains 191 characters
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) Variable "parsedVarsURL" must be all lower-case
(#99) TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Variable "parsedVarsURL" must be all lower-case
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) Variable "parsedVarsURL" must be all lower-case
(#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
(#111) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#130) Inline comments must start with a capital letter, digit or 3-dots sequence
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) Inline comments must start with a capital letter, digit or 3-dots sequence
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Short array syntax must be used to define arrays
mod/geogebra/backup/moodle2/backup_geogebra_activity_task.class.php
(#1) No one-line description found in phpdocs for docblock of file backup_geogebra_activity_task.class.php
(#2) Moodle boilerplate not found at first line
(#19) Incorrect @package tag for file backup_geogebra_activity_task.class.php. Expected mod_geogebra, found mod.
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#26) "require_once" must be immediately followed by an open parenthesis
(#27) "require_once" must be immediately followed by an open parenthesis
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) 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) Moodle boilerplate not found at first line
(#21) Incorrect @package tag for file backup_geogebra_stepslib.php. Expected mod_geogebra, found mod.
(#33) Missing docblock for function define_structure
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) 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
(#52) 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
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) 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
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/backup/moodle2/restore_geogebra_activity_task.class.php
(#1) No one-line description found in phpdocs for docblock of file restore_geogebra_activity_task.class.php
(#2) Moodle boilerplate not found at first line
(#19) Incorrect @package tag for file restore_geogebra_activity_task.class.php. Expected mod_geogebra, found mod.
(#28) "require_once" must be immediately followed by an open parenthesis
(#29) "require_once" must be immediately followed by an open parenthesis
(#41) 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
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/backup/moodle2/restore_geogebra_stepslib.php
(#2) Moodle boilerplate not found at first line
(#22) Incorrect @package tag for file restore_geogebra_stepslib.php. Expected mod_geogebra, found mod.
(#34) Missing docblock for function define_structure
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Missing docblock for function process_geogebra
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Missing docblock for function process_geogebra_attempt
(#84) Missing docblock for function after_execute
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/classes/event/course_module_instance_list_viewed.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#50) There should be a comma after the last array item in a multi-line array.
(#53) Must use "self::" for local static member reference
mod/geogebra/classes/event/course_module_viewed.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/classes/privacy/provider.php
(#37) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#169) Line exceeds 132 characters; contains 133 characters
mod/geogebra/db/access.php
(#42) Incorrect @package tag for file access.php. Expected mod_geogebra, found mod.
mod/geogebra/db/log.php
(#2) Moodle boilerplate not found at first line
(#25) Incorrect @package tag for file log.php. Expected mod_geogebra, found mod.
(#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) Moodle boilerplate not found at first line
(#28) Incorrect @package tag for file upgrade.php. Expected mod_geogebra, found mod.
(#37) "require_once" must be immediately followed by an open parenthesis
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) No space found before comment text; expected "// Add grade field" but found "//Add grade field"
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) No space found before comment text; expected "// Add autograde field" but found "//Add autograde field"
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) No space found before comment text; expected "// Delete maxgrade field" but found "//Delete maxgrade field"
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) No space found before comment text; expected "// Make maxattempts signed" but found "//Make maxattempts signed"
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) No space found before comment text; expected "// Add gradecomment field" but found "//Add gradecomment field"
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) Inline comments must start with a capital letter, digit or 3-dots sequence
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Inline comments must start with a capital letter, digit or 3-dots sequence
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) "require_once" must be immediately followed by an open parenthesis
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Inline comments must start with a capital letter, digit or 3-dots sequence
(#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
(#169) Inline comments must start with a capital letter, digit or 3-dots sequence
(#169) 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
mod/geogebra/db/upgradelib.php
(#2) Moodle boilerplate not found at first line
(#21) Incorrect @package tag for file upgradelib.php. Expected mod_geogebra, found mod.
(#30) "require_once" must be immediately followed by an open parenthesis
(#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
(#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
(#68) Variable "file_record" must not contain underscores.
(#76) Variable "file_record" must not contain underscores.
(#77) Empty CATCH statement detected
(#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
mod/geogebra/gradeform.php
(#2) Moodle boilerplate not found at first line
(#21) Incorrect @package tag for file gradeform.php. Expected mod_geogebra, found mod.
(#30) "require_once" must be immediately followed by an open parenthesis
(#31) "require_once" must be immediately followed by an open parenthesis
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) "require_once" must be immediately followed by an open parenthesis
(#35) "require_once" must be immediately followed by an open parenthesis
(#37) Missing docblock for class mod_geogebra_grade_form
(#45) Visibility must be declared on method "definition"
(#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
(#68) Short array syntax must be used to define arrays
(#111) Visibility must be declared on method "validation"
(#116) Inline comments must start with a capital letter, digit or 3-dots sequence
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#121) No space found before comment text; expected "// TODO: Review to add validation" but found "//TODO: Review to add validation"
mod/geogebra/index.php
(#2) Moodle boilerplate not found at first line
(#24) Incorrect @package tag for file index.php. Expected mod_geogebra, found mod.
(#31) "require_once" must be immediately followed by an open parenthesis
(#32) "require_once" must be immediately followed by an open parenthesis
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/lang/ca/geogebra.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#24) Incorrect @package tag for file geogebra.php. Expected mod_geogebra, found mod.
(#35) The string key "name" is not in the correct order, it should be before "noattempts"
(#36) The string key "choosescripttype" is not in the correct order, it should be before "name"
(#37) Unexpected comment found. Auto-fixing will not work after this comment
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) No space found before comment text; expected "// Unused" but found "//Unused"
(#38) The string key "contentheader" is not in the correct order, it should be before "manualgrade"
(#41) The string key "height" is not in the correct order, it should be before "width_help"
(#46) The string key "showsubmit" is not in the correct order, it should be before "urlggb_help"
(#47) The string key "settings" is not in the correct order, it should be before "showsubmit"
(#48) The string key "maxattempts" is not in the correct order, it should be before "settings"
(#49) The string key "grademethod" is not in the correct order, it should be before "maxattempts"
(#51) The string key "average" is not in the correct order, it should be before "nograding"
(#54) The string key "firstattempt" is not in the correct order, it should be before "lowestattempt"
(#57) The string key "comment" is not in the correct order, it should be before "viewattempts"
(#59) The string key "lastattemptremaining" is not in the correct order, it should be before "unlimitedattempts"
(#61) The string key "attemptsremaining" is not in the correct order, it should be before "nomoreattempts"
(#62) The string key "activitynotopened" is not in the correct order, it should be before "attemptsremaining"
(#63) The string key "activityclosed" is not in the correct order, it should be before "activitynotopened"
(#65) The string key "report" is not in the correct order, it should be before "review"
(#66) The string key "for" is not in the correct order, it should be before "report"
(#67) The string key "description" is not in the correct order, it should be before "for"
(#69) The string key "grade" is not in the correct order, it should be before "weight"
(#71) The string key "attempts" is not in the correct order, it should be before "total"
(#72) The string key "attempt" is not in the correct order, it should be before "attempts"
(#76) The string key "results" is not in the correct order, it should be before "viewtab"
(#79) The string key "availabledate" is not in the correct order, it should be before "reviewtab"
(#82) The string key "enableRightClick" is not in the correct order, it should be before "filename"
(#83) The string key "enableLabelDrags" is not in the correct order, it should be before "enableRightClick"
(#85) The string key "showMenuBar" is not in the correct order, it should be before "showResetIcon"
(#88) The string key "showAlgebraInput" is not in the correct order, it should be before "showToolBarHelp"
(#88) Unexpected comment found. Auto-fixing will not work after this comment
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) No space found before comment text; expected "// Unused" but found "//Unused"
(#91) The string key "useBrowserForJS_geogebra" is not in the correct order, it should be before "useBrowserForJS_html"
(#92) The string key "functionalityoptionsgrp" is not in the correct order, it should be before "useBrowserForJS_geogebra"
(#94) The string key "filenotfound" is not in the correct order, it should be before "interfaceoptionsgrp"
(#97) The string key "savewithoutsubmitting" is not in the correct order, it should be before "submitandfinish"
(#98) The string key "redirecttocourse" is not in the correct order, it should be before "savewithoutsubmitting"
(#100) The string key "language" is not in the correct order, it should be before "unfinished"
(#100) Expected 1 space before "="; 0 found
(#100) Expected 1 space after "="; 0 found
(#102) The string key "coursewithoutstudents" is not in the correct order, it should be before "resumeattempt"
(#105) The string key "gradeit" is not in the correct order, it should be before "view"
(#108) The string key "autograde" is not in the correct order, it should be before "ungraded"
(#110) The string key "discardchanges" is not in the correct order, it should be before "savechanges"
(#114) The string key "privacy:metadata:geogebra_attempts:gradecomment" is not in the correct order, it should be before "privacy:metadata:geogebra_attempts:vars"
(#116) The string key "privacy:metadata:geogebra_attempts:finished" is not in the correct order, it should be before "privacy:metadata:geogebra_attempts:userid"
(#118) The string key "privacy:metadata:geogebra_attempts:dateteacher" is not in the correct order, it should be before "privacy:metadata:geogebra_attempts:geogebra"
(#119) The string key "privacy:metadata:geogebra_attempts:datestudent" is not in the correct order, it should be before "privacy:metadata:geogebra_attempts:dateteacher"
(#120) The string key "modulename_help" is not in the correct order, it should be before "privacy:metadata:geogebra_attempts:datestudent"
(#129) The string key "pluginadministration" is not in the correct order, it should be before "pluginname"
(#130) The string key "geogebra:view" is not in the correct order, it should be before "pluginadministration"
(#131) The string key "geogebra:submit" is not in the correct order, it should be before "geogebra:view"
(#132) The string key "geogebra:grade" is not in the correct order, it should be before "geogebra:submit"
(#133) The string key "geogebra:addinstance" is not in the correct order, it should be before "geogebra:grade"
(#134) Expected 1 space before "="; 0 found
(#134) Expected 1 space after "="; 0 found
(#135) The string key "filetype" is not in the correct order, it should be before "header_geogebra"
(#144) The string key "geogebraurl" is not in the correct order, it should be before "invalidurl"
(#147) The string key "geogebrafile" is not in the correct order, it should be before "seed_help"
(#151) The string key "datestudent" is not in the correct order, it should be before "urledit_help"
(#152) Expected 1 space before "="; 0 found
(#155) The string key "previewtab" is not in the correct order, it should be before "viewattempt"
(#156) The string key "preview_geogebra" is not in the correct order, it should be before "previewtab"
(#158) The string key "notopenyet" is not in the correct order, it should be before "preview_geogebra"
(#159) The string key "expired" is not in the correct order, it should be before "notopenyet"
(#160) Expected 1 space before "="; 0 found
(#161) The string key "lastmodifiedsubmission" is not in the correct order, it should be before "msg_noattempts"
(#161) The string key "datestudent" is not in the correct order, it should be before "lastmodifiedsubmission"
(#162) The string key "dateteacher" is not in the correct order, it should be before "lastmodifiedgrade"
(#164) The string key "extractedfromggb" is not in the correct order, it should be before "viewattempttab"
(#165) The string key "event_course_module_viewed" is not in the correct order, it should be before "extractedfromggb"
(#169) Unexpected comment found. Auto-fixing will not work after this comment
(#170) The string key "configintro" is not in the correct order, it should be before "msg_nosessions"
(#175) The string key "codebase" is not in the correct order, it should be before "fflate_desc"
mod/geogebra/lang/en/geogebra.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#24) Incorrect @package tag for file geogebra.php. Expected mod_geogebra, found mod.
(#35) The string key "name" is not in the correct order, it should be before "noattempts"
(#36) The string key "choosescripttype" is not in the correct order, it should be before "name"
(#38) The string key "contentheader" is not in the correct order, it should be before "manualgrade"
(#41) The string key "height" is not in the correct order, it should be before "width_help"
(#46) The string key "showsubmit" is not in the correct order, it should be before "urlggb_help"
(#47) The string key "settings" is not in the correct order, it should be before "showsubmit"
(#48) The string key "maxattempts" is not in the correct order, it should be before "settings"
(#49) The string key "grademethod" is not in the correct order, it should be before "maxattempts"
(#51) The string key "average" is not in the correct order, it should be before "nograding"
(#54) The string key "firstattempt" is not in the correct order, it should be before "lowestattempt"
(#57) The string key "comment" is not in the correct order, it should be before "viewattempts"
(#59) The string key "lastattemptremaining" is not in the correct order, it should be before "unlimitedattempts"
(#61) The string key "attemptsremaining" is not in the correct order, it should be before "nomoreattempts"
(#62) The string key "activitynotopened" is not in the correct order, it should be before "attemptsremaining"
(#63) The string key "activityclosed" is not in the correct order, it should be before "activitynotopened"
(#65) The string key "report" is not in the correct order, it should be before "review"
(#66) The string key "for" is not in the correct order, it should be before "report"
(#67) The string key "description" is not in the correct order, it should be before "for"
(#69) The string key "grade" is not in the correct order, it should be before "weight"
(#71) The string key "attempts" is not in the correct order, it should be before "total"
(#72) The string key "attempt" is not in the correct order, it should be before "attempts"
(#76) The string key "results" is not in the correct order, it should be before "viewtab"
(#79) The string key "availabledate" is not in the correct order, it should be before "reviewtab"
(#82) The string key "enableRightClick" is not in the correct order, it should be before "filename"
(#83) The string key "enableLabelDrags" is not in the correct order, it should be before "enableRightClick"
(#85) The string key "showMenuBar" is not in the correct order, it should be before "showResetIcon"
(#88) The string key "showAlgebraInput" is not in the correct order, it should be before "showToolBarHelp"
(#91) The string key "useBrowserForJS_geogebra" is not in the correct order, it should be before "useBrowserForJS_html"
(#92) The string key "functionalityoptionsgrp" is not in the correct order, it should be before "useBrowserForJS_geogebra"
(#94) The string key "filenotfound" is not in the correct order, it should be before "interfaceoptionsgrp"
(#97) The string key "savewithoutsubmitting" is not in the correct order, it should be before "submitandfinish"
(#98) The string key "redirecttocourse" is not in the correct order, it should be before "savewithoutsubmitting"
(#100) The string key "language" is not in the correct order, it should be before "unfinished"
(#102) The string key "coursewithoutstudents" is not in the correct order, it should be before "resumeattempt"
(#105) The string key "gradeit" is not in the correct order, it should be before "view"
(#108) The string key "autograde" is not in the correct order, it should be before "ungraded"
(#110) The string key "discardchanges" is not in the correct order, it should be before "savechanges"
(#114) The string key "privacy:metadata:geogebra_attempts:gradecomment" is not in the correct order, it should be before "privacy:metadata:geogebra_attempts:vars"
(#116) The string key "privacy:metadata:geogebra_attempts:finished" is not in the correct order, it should be before "privacy:metadata:geogebra_attempts:userid"
(#118) The string key "privacy:metadata:geogebra_attempts:dateteacher" is not in the correct order, it should be before "privacy:metadata:geogebra_attempts:geogebra"
(#119) The string key "privacy:metadata:geogebra_attempts:datestudent" is not in the correct order, it should be before "privacy:metadata:geogebra_attempts:dateteacher"
(#120) The string key "modulename_help" is not in the correct order, it should be before "privacy:metadata:geogebra_attempts:datestudent"
(#129) The string key "pluginadministration" is not in the correct order, it should be before "pluginname"
(#130) The string key "geogebra:view" is not in the correct order, it should be before "pluginadministration"
(#131) The string key "geogebra:submit" is not in the correct order, it should be before "geogebra:view"
(#132) The string key "geogebra:grade" is not in the correct order, it should be before "geogebra:submit"
(#133) The string key "geogebra:addinstance" is not in the correct order, it should be before "geogebra:grade"
(#134) Expected 1 space before "="; 0 found
(#134) Expected 1 space after "="; 0 found
(#135) The string key "filetype" is not in the correct order, it should be before "header_geogebra"
(#144) The string key "geogebraurl" is not in the correct order, it should be before "invalidurl"
(#147) The string key "geogebrafile" is not in the correct order, it should be before "seed_help"
(#151) The string key "datestudent" is not in the correct order, it should be before "urledit_help"
(#155) The string key "previewtab" is not in the correct order, it should be before "viewattempt"
(#156) The string key "preview_geogebra" is not in the correct order, it should be before "previewtab"
(#158) The string key "notopenyet" is not in the correct order, it should be before "preview_geogebra"
(#159) The string key "expired" is not in the correct order, it should be before "notopenyet"
(#161) The string key "lastmodifiedsubmission" is not in the correct order, it should be before "msg_noattempts"
(#162) The string key "lastmodifiedgrade" is not in the correct order, it should be before "lastmodifiedsubmission"
(#164) The string key "extractedfromggb" is not in the correct order, it should be before "viewattempttab"
(#165) The string key "event_course_module_viewed" is not in the correct order, it should be before "extractedfromggb"
(#169) Unexpected comment found. Auto-fixing will not work after this comment
(#170) The string key "configintro" is not in the correct order, it should be before "msg_nosessions"
(#175) The string key "codebase" is not in the correct order, it should be before "fflate_desc"
mod/geogebra/lang/es/geogebra.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#24) Incorrect @package tag for file geogebra.php. Expected mod_geogebra, found mod.
(#35) The string key "name" is not in the correct order, it should be before "noattempts"
(#36) The string key "choosescripttype" is not in the correct order, it should be before "name"
(#37) Unexpected comment found. Auto-fixing will not work after this comment
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) No space found before comment text; expected "// Unused" but found "//Unused"
(#38) The string key "contentheader" is not in the correct order, it should be before "manualgrade"
(#41) The string key "height" is not in the correct order, it should be before "width_help"
(#46) The string key "showsubmit" is not in the correct order, it should be before "urlggb_help"
(#47) The string key "settings" is not in the correct order, it should be before "showsubmit"
(#48) The string key "maxattempts" is not in the correct order, it should be before "settings"
(#49) The string key "grademethod" is not in the correct order, it should be before "maxattempts"
(#51) The string key "average" is not in the correct order, it should be before "nograding"
(#54) The string key "firstattempt" is not in the correct order, it should be before "lowestattempt"
(#57) The string key "comment" is not in the correct order, it should be before "viewattempts"
(#59) The string key "lastattemptremaining" is not in the correct order, it should be before "unlimitedattempts"
(#61) The string key "attemptsremaining" is not in the correct order, it should be before "nomoreattempts"
(#62) The string key "activitynotopened" is not in the correct order, it should be before "attemptsremaining"
(#63) The string key "activityclosed" is not in the correct order, it should be before "activitynotopened"
(#65) The string key "report" is not in the correct order, it should be before "review"
(#66) The string key "for" is not in the correct order, it should be before "report"
(#67) The string key "description" is not in the correct order, it should be before "for"
(#69) The string key "grade" is not in the correct order, it should be before "weight"
(#71) The string key "attempts" is not in the correct order, it should be before "total"
(#72) The string key "attempt" is not in the correct order, it should be before "attempts"
(#76) The string key "results" is not in the correct order, it should be before "viewtab"
(#79) The string key "availabledate" is not in the correct order, it should be before "reviewtab"
(#82) The string key "enableRightClick" is not in the correct order, it should be before "filename"
(#83) The string key "enableLabelDrags" is not in the correct order, it should be before "enableRightClick"
(#85) The string key "showMenuBar" is not in the correct order, it should be before "showResetIcon"
(#88) The string key "showAlgebraInput" is not in the correct order, it should be before "showToolBarHelp"
(#88) Unexpected comment found. Auto-fixing will not work after this comment
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) No space found before comment text; expected "// Unused" but found "//Unused"
(#91) The string key "useBrowserForJS_geogebra" is not in the correct order, it should be before "useBrowserForJS_html"
(#92) The string key "functionalityoptionsgrp" is not in the correct order, it should be before "useBrowserForJS_geogebra"
(#94) The string key "filenotfound" is not in the correct order, it should be before "interfaceoptionsgrp"
(#97) The string key "savewithoutsubmitting" is not in the correct order, it should be before "submitandfinish"
(#98) The string key "redirecttocourse" is not in the correct order, it should be before "savewithoutsubmitting"
(#100) The string key "language" is not in the correct order, it should be before "unfinished"
(#102) The string key "coursewithoutstudents" is not in the correct order, it should be before "resumeattempt"
(#105) The string key "gradeit" is not in the correct order, it should be before "view"
(#108) The string key "autograde" is not in the correct order, it should be before "ungraded"
(#110) The string key "discardchanges" is not in the correct order, it should be before "savechanges"
(#114) The string key "privacy:metadata:geogebra_attempts:gradecomment" is not in the correct order, it should be before "privacy:metadata:geogebra_attempts:vars"
(#116) The string key "privacy:metadata:geogebra_attempts:finished" is not in the correct order, it should be before "privacy:metadata:geogebra_attempts:userid"
(#118) The string key "privacy:metadata:geogebra_attempts:dateteacher" is not in the correct order, it should be before "privacy:metadata:geogebra_attempts:geogebra"
(#119) The string key "privacy:metadata:geogebra_attempts:datestudent" is not in the correct order, it should be before "privacy:metadata:geogebra_attempts:dateteacher"
(#120) The string key "modulename_help" is not in the correct order, it should be before "privacy:metadata:geogebra_attempts:datestudent"
(#129) The string key "pluginadministration" is not in the correct order, it should be before "pluginname"
(#130) The string key "geogebra:view" is not in the correct order, it should be before "pluginadministration"
(#131) The string key "geogebra:submit" is not in the correct order, it should be before "geogebra:view"
(#132) The string key "geogebra:grade" is not in the correct order, it should be before "geogebra:submit"
(#133) The string key "geogebra:addinstance" is not in the correct order, it should be before "geogebra:grade"
(#134) Expected 1 space before "="; 0 found
(#134) Expected 1 space after "="; 0 found
(#135) The string key "filetype" is not in the correct order, it should be before "header_geogebra"
(#144) The string key "geogebraurl" is not in the correct order, it should be before "invalidurl"
(#147) The string key "geogebrafile" is not in the correct order, it should be before "seed_help"
(#151) The string key "datestudent" is not in the correct order, it should be before "urledit_help"
(#152) Expected 1 space before "="; 0 found
(#155) The string key "previewtab" is not in the correct order, it should be before "viewattempt"
(#156) The string key "preview_geogebra" is not in the correct order, it should be before "previewtab"
(#158) The string key "notopenyet" is not in the correct order, it should be before "preview_geogebra"
(#159) The string key "expired" is not in the correct order, it should be before "notopenyet"
(#160) Expected 1 space before "="; 0 found
(#161) The string key "lastmodifiedsubmission" is not in the correct order, it should be before "msg_noattempts"
(#161) The string key "datestudent" is not in the correct order, it should be before "lastmodifiedsubmission"
(#162) The string key "dateteacher" is not in the correct order, it should be before "lastmodifiedgrade"
(#164) The string key "extractedfromggb" is not in the correct order, it should be before "viewattempttab"
(#165) The string key "event_course_module_viewed" is not in the correct order, it should be before "extractedfromggb"
(#169) Unexpected comment found. Auto-fixing will not work after this comment
(#170) The string key "configintro" is not in the correct order, it should be before "msg_nosessions"
(#175) The string key "codebase" is not in the correct order, it should be before "fflate_desc"
mod/geogebra/lib.php
(#2) Moodle boilerplate not found at first line
(#27) Incorrect @package tag for file lib.php. Expected mod_geogebra, found mod.
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Missing docblock for constant GEOGEBRA_FILE_TYPE_LOCAL
(#38) Missing docblock for constant GEOGEBRA_FILE_TYPE_EXTERNAL
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Missing docblock for constant GEOGEBRA_NO_GRADING
(#42) Missing docblock for constant GEOGEBRA_AVERAGE_GRADE
(#43) Missing docblock for constant GEOGEBRA_HIGHEST_GRADE
(#44) Missing docblock for constant GEOGEBRA_LOWEST_GRADE
(#45) Missing docblock for constant GEOGEBRA_FIRST_GRADE
(#46) Missing docblock for constant GEOGEBRA_LAST_GRADE
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Missing docblock for constant GEOGEBRA_UPDATE_STUDENT
(#50) Missing docblock for constant GEOGEBRA_UPDATE_TEACHER
(#52) "require_once" must be immediately followed by an open parenthesis
(#53) "require_once" must be immediately followed by an open parenthesis
(#63) Invalid docblock tag "@todo:".
(#102) Invalid docblock tag "@todo:".
(#104) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $mform.
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $mform.
(#163) Invalid docblock tag "@todo:".
(#177) Inline comments must start with a capital letter, digit or 3-dots sequence
(#177) Inline comments must end in full-stops, exclamation marks, or question marks
(#182) Inline doc block comments are not allowed; use "// Comment." instead
(#192) Inline comments must start with a capital letter, digit or 3-dots sequence
(#216) "require_once" must be immediately followed by an open parenthesis
(#226) Inline comments must start with a capital letter, digit or 3-dots sequence
(#226) Inline comments must end in full-stops, exclamation marks, or question marks
(#226) 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"
(#244) Invalid docblock tag "@todo:".
(#250) The use of function print_r() is forbidden
(#262) Invalid docblock tag "@todo:".
(#279) Invalid docblock tag "@todo:".
(#288) Invalid docblock tag "@todo:".
(#342) Docblock tag "@example" is not recommended.
(#396) Logical operator "and" is prohibited; use "&&" instead
(#412) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#415) "require_once" must be immediately followed by an open parenthesis
(#423) Whitespace found at end of line
(#443) Inline comments must start with a capital letter, digit or 3-dots sequence
(#443) Inline comments must end in full-stops, exclamation marks, or question marks
(#448) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#466) "require_once" must be immediately followed by an open parenthesis
(#475) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#492) "require_once" must be immediately followed by an open parenthesis
(#494) Inline comments must start with a capital letter, digit or 3-dots sequence
(#494) Inline comments must end in full-stops, exclamation marks, or question marks
(#540) "require_once" must be immediately followed by an open parenthesis
(#554) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#605) Inline comments must start with a capital letter, digit or 3-dots sequence
(#619) Inline comments must start with a capital letter, digit or 3-dots sequence
(#619) Inline comments must end in full-stops, exclamation marks, or question marks
(#633) Logical operator "and" is prohibited; use "&&" instead
(#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
(#644) Inline comments must start with a capital letter, digit or 3-dots sequence
(#644) Inline comments must end in full-stops, exclamation marks, or question marks
(#676) Inline comments must start with a capital letter, digit or 3-dots sequence
(#676) Inline comments must end in full-stops, exclamation marks, or question marks
(#680) Inline comments must start with a capital letter, digit or 3-dots sequence
(#680) Inline comments must end in full-stops, exclamation marks, or question marks
(#708) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $geogebranode.
(#731) Whitespace found at end of line
(#801) Inline comments must start with a capital letter, digit or 3-dots sequence
mod/geogebra/locallib.php
(#23) Incorrect @package tag for file locallib.php. Expected mod_geogebra, found mod.
(#32) "require_once" must be immediately followed by an open parenthesis
(#34) Missing docblock for function geogebra_before_add_or_update
(#50) Missing docblock for function geogebra_after_add_or_update
(#207) 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
(#222) Inline comments must end in full-stops, exclamation marks, or question marks
(#249) Inline comments must end in full-stops, exclamation marks, or question marks
(#264) Inline comments must end in full-stops, exclamation marks, or question marks
(#281) Missing docblock for function geogebra_get_id
(#295) Missing docblock for function geogebra_get_script_param
(#304) No one-line description found in phpdocs for docblock of function geogebra_print_content
(#336) Inline comments must end in full-stops, exclamation marks, or question marks
(#355) Inline comments must start with a capital letter, digit or 3-dots sequence
(#355) This comment is 78% valid code; is this commented out code?
(#359) Space found before semicolon; expected "return;" but found "return ;"
(#362) Inline comments must end in full-stops, exclamation marks, or question marks
(#365) 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
(#410) "require_once" must be immediately followed by an open parenthesis
(#412) Inline comments must end in full-stops, exclamation marks, or question marks
(#429) Inline comments must end in full-stops, exclamation marks, or question marks
(#435) Inline comments must end in full-stops, exclamation marks, or question marks
(#449) Inline comments must end in full-stops, exclamation marks, or question marks
(#461) Inline comments must start with a capital letter, digit or 3-dots sequence
(#461) Inline comments must end in full-stops, exclamation marks, or question marks
(#461) This comment is 80% valid code; is this commented out code?
(#461) No space found before comment text; expected "// debugging("Empty content");" but found "//debugging("Empty content");"
(#466) Inline comments must end in full-stops, exclamation marks, or question marks
(#547) Missing docblock for function geogebra_get_filemanager_options
(#552) Inline comments must start with a capital letter, digit or 3-dots sequence
(#552) Inline comments must end in full-stops, exclamation marks, or question marks
(#552) This comment is 100% valid code; is this commented out code?
(#561) Missing docblock for function geogebra_set_mainfile
(#589) Inline comments must start with a capital letter, digit or 3-dots sequence
(#589) Inline comments must end in full-stops, exclamation marks, or question marks
(#604) Missing docblock for function geogebra_is_valid_external_url
(#611) Inline comments must end in full-stops, exclamation marks, or question marks
(#619) Missing docblock for function geogebra_is_valid_file
(#644) Missing docblock for function geogebra_view_results
(#648) Inline comments must end in full-stops, exclamation marks, or question marks
(#649) "require_once" must be immediately followed by an open parenthesis
(#655) Inline comments must end in full-stops, exclamation marks, or question marks
(#659) Inline comments must end in full-stops, exclamation marks, or question marks
(#670) 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
(#706) "require_once" must be immediately followed by an open parenthesis
(#713) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
(#803) Inline comments must end in full-stops, exclamation marks, or question marks
(#806) 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
(#817) Inline comments must end in full-stops, exclamation marks, or question marks
(#825) Missing docblock for function geogebra_get_results_table_columns
(#827) Line exceeds 132 characters; contains 136 characters
(#827) Inline comments must start with a capital letter, digit or 3-dots sequence
(#827) This comment is 68% valid code; is this commented out code?
(#852) Missing docblock for function geogebra_view_userid_results
(#855) "require_once" must be immediately followed by an open parenthesis
(#870) 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
(#879) 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
(#900) "require_once" must be immediately followed by an open parenthesis
(#912) Inline comments must end in full-stops, exclamation marks, or question marks
(#917) Inline comments must end in full-stops, exclamation marks, or question marks
(#927) Inline comments must end in full-stops, exclamation marks, or question marks
(#934) Inline comments must end in full-stops, exclamation marks, or question marks
(#940) Inline comments must end in full-stops, exclamation marks, or question marks
(#947) Inline comments must end in full-stops, exclamation marks, or question marks
(#949) Inline comments must end in full-stops, exclamation marks, or question marks
(#953) Inline comments must start with a capital letter, digit or 3-dots sequence
(#953) Inline comments must end in full-stops, exclamation marks, or question marks
(#953) This comment is 57% valid code; is this commented out code?
(#953) No space found before comment text; expected "// echo $picture.' '.$userlink.' ('.$user->email.')';" but found "//echo $picture.' '.$userlink.' ('.$user->email.')';"
(#955) Inline comments must end in full-stops, exclamation marks, or question marks
(#962) Inline comments must end in full-stops, exclamation marks, or question marks
(#980) Docblock tag "@global" is not recommended.
(#1015) Line exceeds 132 characters; contains 134 characters
(#1033) Line exceeds 132 characters; contains 173 characters
(#1041) Missing docblock for function geogebra_add_table_row_tuple
(#1164) Inline comments must end in full-stops, exclamation marks, or question marks
(#1183) Missing docblock for function geogebra_get_tabs
(#1188) Line exceeds 132 characters; contains 154 characters
(#1193) Line exceeds 132 characters; contains 151 characters
(#1196) Line exceeds 132 characters; contains 162 characters
(#1254) 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
(#1299) Inline comments must end in full-stops, exclamation marks, or question marks
(#1381) Inline comments must end in full-stops, exclamation marks, or question marks
(#1431) Inline comments must end in full-stops, exclamation marks, or question marks
(#1432) Inline comments must end in full-stops, exclamation marks, or question marks
(#1436) Inline comments must end in full-stops, exclamation marks, or question marks
(#1437) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1437) Inline comments must end in full-stops, exclamation marks, or question marks
(#1477) Inline comments must end in full-stops, exclamation marks, or question marks
(#1478) Inline comments must end in full-stops, exclamation marks, or question marks
(#1482) Inline comments must end in full-stops, exclamation marks, or question marks
(#1483) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1483) Inline comments must end in full-stops, exclamation marks, or question marks
mod/geogebra/mod_form.php
(#2) Moodle boilerplate not found at first line
(#24) Incorrect @package tag for file mod_form.php. Expected mod_geogebra, found mod.
(#33) "require_once" must be immediately followed by an open parenthesis
(#34) "require_once" must be immediately followed by an open parenthesis
(#54) Expected 1 space before "=>"; 0 found
(#54) Expected 1 space after "=>"; 0 found
(#60) Whitespace found at end of line
(#68) Expected 1 space before "=>"; 0 found
(#68) Expected 1 space after "=>"; 0 found
(#69) Expected 1 space before "=>"; 0 found
(#69) Expected 1 space after "=>"; 0 found
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Expected 1 space before "=>"; 0 found
(#76) Expected 1 space after "=>"; 0 found
(#81) Expected 1 space before "=>"; 0 found
(#81) Expected 1 space after "=>"; 0 found
(#81) Line exceeds 132 characters; contains 155 characters
(#124) Expected 1 space before "=>"; 0 found
(#124) Expected 1 space after "=>"; 0 found
(#129) Expected 1 space before "=>"; 0 found
(#129) Expected 1 space after "=>"; 0 found
(#135) Line exceeds 132 characters; contains 140 characters
(#136) Line exceeds 132 characters; contains 140 characters
(#137) Line exceeds 132 characters; contains 134 characters
(#139) Line exceeds 132 characters; contains 144 characters
(#156) Line exceeds 132 characters; contains 134 characters
(#157) Line exceeds 132 characters; contains 136 characters
(#166) Inline comments must start with a capital letter, digit or 3-dots sequence
(#166) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Inline comments must start with a capital letter, digit or 3-dots sequence
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#173) Missing docblock for function data_preprocessing
(#173) Visibility must be declared on method "data_preprocessing"
(#177) Line exceeds 132 characters; contains 136 characters
(#183) Missing docblock for function validation
(#219) Missing docblock for function set_data
(#219) Visibility must be declared on method "set_data"
(#224) 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
(#253) Missing docblock for function completion_rule_enabled
(#253) Visibility must be declared on method "completion_rule_enabled"
mod/geogebra/report.php
(#2) Moodle boilerplate not found at first line
(#24) Incorrect @package tag for file report.php. Expected mod_geogebra, found mod.
(#31) "require_once" must be immediately followed by an open parenthesis
(#32) "require_once" must be immediately followed by an open parenthesis
(#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
(#48) Short array syntax must be used to define arrays
(#64) 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
mod/geogebra/settings.php
(#20) Incorrect @package tag for file settings.php. Expected mod_geogebra, found mod.
mod/geogebra/tests/generator/lib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#38) Missing docblock for function create_instance
(#38) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $options.
(#45) Short array syntax must be used to define arrays
mod/geogebra/tests/generator_test.php
(#37) Testcase mod_geogebra_generator_testcase should be declared as abstract.
(#37) PHPUnit testcase name "mod_geogebra_generator_testcase" does not match file name "generator_test"
(#37) PHPUnit class "mod_geogebra_generator_testcase" does not have any namespace. It is recommended to add it to the "mod_geogebra" namespace, using more levels if needed, in order to match the code being tested
(#39) Test method test_create_instance() is missing any coverage information, own or at class level
(#39) Test method test_create_instance() is missing a return type
(#50) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
mod/geogebra/tests/privacy_provider_test.php
(#42) Testcase mod_geogebra_privacy_provider_testcase should be declared as abstract.
(#42) PHPUnit testcase name "mod_geogebra_privacy_provider_testcase" does not match file name "privacy_provider_test"
(#42) PHPUnit class "mod_geogebra_privacy_provider_testcase" does not have any namespace. It is recommended to add it to the "mod_geogebra" namespace, using more levels if needed, in order to match the code being tested
(#69) There should be a comma after the last array item in a multi-line array.
(#91) Test method test_get_metadata() is missing any coverage information, own or at class level
(#91) Test method test_get_metadata() is missing a return type
(#115) Test method test_get_contexts_for_userid() is missing any coverage information, own or at class level
(#115) Test method test_get_contexts_for_userid() is missing a return type
(#128) Test method test_export_for_context() is missing any coverage information, own or at class level
(#128) Test method test_export_for_context() is missing a return type
(#141) Test method test_delete_data_for_all_users_in_context() is missing any coverage information, own or at class level
(#141) Test method test_delete_data_for_all_users_in_context() is missing a return type
(#172) Test method test_delete_data_for_user_() is missing any coverage information, own or at class level
(#172) Test method test_delete_data_for_user_() is missing a return type
(#185) There should be a comma after the last array item in a multi-line array.
(#229) Test method test_get_users_in_context() is missing any coverage information, own or at class level
(#229) Test method test_get_users_in_context() is missing a return type
(#245) Test method test_get_users_in_context_invalid_context_type() is missing any coverage information, own or at class level
(#245) Test method test_get_users_in_context_invalid_context_type() is missing a return type
(#257) Test method test_delete_data_for_users() is missing any coverage information, own or at class level
(#257) Test method test_delete_data_for_users() is missing a return type
(#270) There should be a comma after the last array item in a multi-line array.
mod/geogebra/version.php
(#23) Incorrect @package tag for file version.php. Expected mod_geogebra, found mod.
(#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) Moodle boilerplate not found at first line
(#24) Incorrect @package tag for file view.php. Expected mod_geogebra, found mod.
(#31) "require_once" must be immediately followed by an open parenthesis
(#32) "require_once" must be immediately followed by an open parenthesis
(#33) "require_once" must be immediately followed by an open parenthesis
(#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
(#55) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) 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

Javascript coding style problems

(4 errors, 13 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)
(#46) Identifier 'geogebra_addEvent' is not in camel case. (camelcase)
(#47) Use '===' to compare with null. (no-eq-null)
(#57) Identifier 'geogebra_submit_attempt' is not in camel case. (camelcase)
(#65) Identifier 'init_ggb' is not in camel case. (camelcase)
(#67) 'applet' declared on line 69 column 13 is used outside of binding context. (block-scoped-var)
(#69) 'applet' is already defined. (no-redeclare)
(#69) 'applet' declared on line 67 column 13 is used outside of binding context. (block-scoped-var)
(#69) 'ggbApplet' is not defined. (no-undef)
(#74) Trailing spaces not allowed. (no-trailing-spaces)
(#83) 'applet' declared on line 67 column 13 is used outside of binding context. (block-scoped-var)
(#83) 'applet' declared on line 69 column 13 is used outside of binding context. (block-scoped-var)
(#88) Unexpected space before function parentheses. (space-before-function-paren)
(#94) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(4 errors, 3 warnings)

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

mod/geogebra/styles.css
(#10) Expected "#DFFFDF" to be "#dfffdf" (color-hex-case)
(#14) Expected "#FFDFDF" to be "#ffdfdf" (color-hex-case)
(#77) Expected "#FFD991" to be "#ffd991" (color-hex-case)
(#10) Unexpected !important (declaration-no-important)
(#14) Unexpected !important (declaration-no-important)
(#18) Unexpected !important (declaration-no-important)
(#23) Unexpected !important (declaration-no-important)

PHPDocs style problems

(27 errors, 0 warnings)

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

mod/geogebra/backup/moodle1/lib.php
(#65) 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] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#40) Inline phpdocs tag {@link convert_path} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/geogebra/backup/moodle2/backup_geogebra_activity_task.class.php
(#50) Phpdocs for function backup_geogebra_activity_task::encode_content_links has incomplete parameters list
mod/geogebra/backup/moodle2/restore_geogebra_activity_task.class.php
(#86) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#88) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#104) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#106) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/geogebra/lib.php
(#238) Phpdocs for function geogebra_user_complete has incomplete parameters list
(#256) Phpdocs for function geogebra_print_recent_activity has incomplete parameters list
(#284) Phpdocs for function geogebra_print_recent_mod_activity has incomplete parameters list
(#364) Phpdocs for function geogebra_scale_used has incomplete parameters list
(#388) Phpdocs for function geogebra_scale_used_anywhere has incomplete parameters list
(#831) Phpdocs for function geogebra_reset_course_form_defaults has incomplete parameters list
(#568) Inline phpdocs tag {@link file_browser::get_file_info_context_module()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#703) Inline phpdocs tag {@link settings_navigation} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#704) Inline phpdocs tag {@link navigation_node} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/geogebra/locallib.php
(#112) Phpdocs for function geogebra_view_intro has incomplete parameters list
(#127) Phpdocs for function geogebra_view_dates has incomplete parameters list
(#299) Phpdocs for function geogebra_print_content has incomplete parameters list
(#976) Phpdocs for function geogebra_get_attempt_row has incomplete parameters list
(#1065) Phpdocs for function geogebra_count_finished_attempts has incomplete parameters list
(#1076) Phpdocs for function geogebra_get_unfinished_attempt has incomplete parameters list
(#1101) Phpdocs for function geogebra_get_user_attempts has incomplete parameters list
(#1145) Phpdocs for function geogebra_update_attempt has incomplete parameters list
(#1206) Phpdocs for function geogebra_update_attributes has incomplete parameters list
(#1503) Phpdocs for function geogebra_prepare_return_values_for_attempt_grade has incomplete parameters list

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 (10) than 'savepoint' calls (7)
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 "gherkinlint" 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