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

(231 errors, 173 warnings)

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

blocks/repo_filemanager/block_repo_filemanager.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/repo_filemanager/choosefile.php
(#50) Variable "repo_id" must not contain underscores.
(#54) Variable "client_id" must not contain underscores.
(#69) Variable "user_context" must not contain underscores.
(#77) Variable "repo_id" must not contain underscores.
(#82) Expected "try {\n...} catch (...) {\n"; found "try {\n...}\n catch (...) {\n"
(#83) Variable "repo_id" must not contain underscores.
(#94) Variable "client_id" must not contain underscores.
(#95) Variable "repo_id" must not contain underscores.
(#121) Variable "client_id" must not contain underscores.
blocks/repo_filemanager/index.php
(#30) No space found before comment text; expected "// In fact it is always 'formname.inputname'." but found "//In fact it is always 'formname.inputname'."
(#36) Variable "client_id" must not contain underscores.
(#112) Inline control structures are not allowed
(#126) Variable "data_params" must not contain underscores.
(#127) Variable "client_id" must not contain underscores.
(#129) Variable "form_params" must not contain underscores.
(#130) Variable "link_params" must not contain underscores.
(#132) Variable "data_params" must not contain underscores.
(#133) Variable "form_params" must not contain underscores.
(#134) Variable "link_params" must not contain underscores.
(#137) Variable "link_params" must not contain underscores.
(#164) Variable "form_params" must not contain underscores.
(#174) Variable "form_params" must not contain underscores.
(#202) Variable "data_params" must not contain underscores.
(#204) Variable "data_params" must not contain underscores.
(#245) Variable "form_params" must not contain underscores.
(#253) Variable "form_params" must not contain underscores.
(#270) Variable "form_params" must not contain underscores.
(#276) Variable "form_params" must not contain underscores.
(#292) Variable "form_params" must not contain underscores.
(#303) Variable "form_params" must not contain underscores.
(#328) Variable "form_params" must not contain underscores.
(#335) Variable "form_params" must not contain underscores.
(#358) Variable "form_params" must not contain underscores.
(#402) Variable "form_params" must not contain underscores.
(#437) Variable "form_params" must not contain underscores.
(#437) Variable "link_params" must not contain underscores.
(#437) Variable "data_params" must not contain underscores.
(#440) Variable "data_params" must not contain underscores.
(#441) Variable "data_params" must not contain underscores.
(#458) Variable "data_params" must not contain underscores.
(#459) Variable "data_params" must not contain underscores.
(#472) Usage of ELSEIF not allowed; use ELSE IF instead
(#486) Inline comments must start with a capital letter, digit or 3-dots sequence
(#486) No space found before comment text; expected "// *********What to do about this ??*********" but found "//*********What to do about this ??*********"
(#487) This comment is 46% valid code; is this commented out code?
(#487) No space found before comment text; expected "// if ($course->id == SITEID and $wdir != "/backupdata") {" but found "//if ($course->id == SITEID and $wdir != "/backupdata") {"
(#488) This comment is 67% valid code; is this commented out code?
(#488) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#489) Inline comments must end in full-stops, exclamation marks, or question marks
(#489) This comment is 100% valid code; is this commented out code?
(#489) No space found before comment text; expected "// }" but found "//}"
(#517) Variable "form_params" must not contain underscores.
(#521) Variable "form_params" must not contain underscores.
(#593) Inline comments must start with a capital letter, digit or 3-dots sequence
(#593) Inline comments must end in full-stops, exclamation marks, or question marks
(#593) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#595) Variable "data_params" must not contain underscores.
(#595) Variable "form_params" must not contain underscores.
(#595) Variable "link_params" must not contain underscores.
(#625) Variable "form_params" must not contain underscores.
(#644) Variable "link_params" must not contain underscores.
(#704) Variable "data_params" must not contain underscores.
(#705) Variable "data_params" must not contain underscores.
(#708) Variable "data_params" must not contain underscores.
(#708) Variable "data_params" must not contain underscores.
(#710) Variable "data_params" must not contain underscores.
(#710) Variable "data_params" must not contain underscores.
(#711) Variable "data_params" must not contain underscores.
(#712) Variable "data_params" must not contain underscores.
(#721) Line exceeds 132 characters; contains 155 characters
(#721) Line exceeds 132 characters; contains 155 characters
(#721) Line exceeds 132 characters; contains 155 characters
(#721) Line exceeds 132 characters; contains 155 characters
(#721) Line exceeds 132 characters; contains 155 characters
(#723) Line exceeds maximum limit of 180 characters; contains 190 characters
(#723) Line exceeds maximum limit of 180 characters; contains 190 characters
(#723) Line exceeds maximum limit of 180 characters; contains 190 characters
(#723) Line exceeds maximum limit of 180 characters; contains 190 characters
(#723) Line exceeds maximum limit of 180 characters; contains 190 characters
(#724) Line exceeds maximum limit of 180 characters; contains 186 characters
(#724) Line exceeds maximum limit of 180 characters; contains 186 characters
(#724) Line exceeds maximum limit of 180 characters; contains 186 characters
(#724) Line exceeds maximum limit of 180 characters; contains 186 characters
(#724) Line exceeds maximum limit of 180 characters; contains 186 characters
(#727) Expected 1 space before ".="; 0 found
(#727) Line exceeds 132 characters; contains 158 characters
(#727) Line exceeds 132 characters; contains 158 characters
(#727) Line exceeds 132 characters; contains 158 characters
(#727) Line exceeds 132 characters; contains 158 characters
(#727) Line exceeds 132 characters; contains 158 characters
(#733) Variable "form_params" must not contain underscores.
(#733) Line exceeds maximum limit of 180 characters; contains 307 characters
(#733) Line exceeds maximum limit of 180 characters; contains 307 characters
(#733) Line exceeds maximum limit of 180 characters; contains 307 characters
(#733) Line exceeds maximum limit of 180 characters; contains 307 characters
(#733) Line exceeds maximum limit of 180 characters; contains 307 characters
(#734) Inline doc block comments are not allowed; use "// Comment." instead
(#743) This comment is 62% valid code; is this commented out code?
(#744) This comment is 62% valid code; is this commented out code?
(#766) Variable "form_params" must not contain underscores.
(#775) Variable "form_params" must not contain underscores.
(#785) Variable "form_params" must not contain underscores.
(#827) Line exceeds 132 characters; contains 133 characters
(#827) Line exceeds 132 characters; contains 133 characters
(#827) Line exceeds 132 characters; contains 133 characters
(#827) Line exceeds 132 characters; contains 133 characters
(#827) Line exceeds 132 characters; contains 133 characters
(#838) Expected 1 space after first semicolon of FOR loop; 0 found
(#838) Expected 1 space after second semicolon of FOR loop; 0 found
(#846) Line exceeds 132 characters; contains 145 characters
(#846) Line exceeds 132 characters; contains 145 characters
(#846) Line exceeds 132 characters; contains 145 characters
(#846) Line exceeds 132 characters; contains 145 characters
(#846) Line exceeds 132 characters; contains 145 characters
(#857) Variable "form_params" must not contain underscores.
(#857) Variable "data_params" must not contain underscores.
(#863) Variable "form_params" must not contain underscores.
(#873) Variable "data_params" must not contain underscores.
(#877) Variable "data_params" must not contain underscores.
(#878) Variable "data_params" must not contain underscores.
(#883) Variable "data_params" must not contain underscores.
(#884) Variable "data_params" must not contain underscores.
(#886) Variable "data_params" must not contain underscores.
(#887) Variable "data_params" must not contain underscores.
(#908) Line exceeds 132 characters; contains 146 characters
(#908) Line exceeds 132 characters; contains 146 characters
(#908) Line exceeds 132 characters; contains 146 characters
(#908) Line exceeds 132 characters; contains 146 characters
(#908) Line exceeds 132 characters; contains 146 characters
(#909) Line exceeds 132 characters; contains 147 characters
(#909) Line exceeds 132 characters; contains 147 characters
(#909) Line exceeds 132 characters; contains 147 characters
(#909) Line exceeds 132 characters; contains 147 characters
(#909) Line exceeds 132 characters; contains 147 characters
(#918) Line exceeds 132 characters; contains 133 characters
(#918) Line exceeds 132 characters; contains 133 characters
(#918) Line exceeds 132 characters; contains 133 characters
(#918) Line exceeds 132 characters; contains 133 characters
(#918) Line exceeds 132 characters; contains 133 characters
(#919) Inline comments must start with a capital letter, digit or 3-dots sequence
(#919) 3 slashes comments are not allowed; use "// Comment." instead
(#920) 3 slashes comments are not allowed; use "// Comment." instead
(#923) Inline comments must end in full-stops, exclamation marks, or question marks
(#923) This comment is 67% valid code; is this commented out code?
(#944) Inline comments must end in full-stops, exclamation marks, or question marks
(#948) Expected 1 space before "=>"; 0 found
(#948) Expected 1 space after "=>"; 0 found
(#950) Line exceeds 132 characters; contains 147 characters
(#950) Line exceeds 132 characters; contains 147 characters
(#950) Line exceeds 132 characters; contains 147 characters
(#950) Line exceeds 132 characters; contains 147 characters
(#950) Line exceeds 132 characters; contains 147 characters
(#951) Inline comments must start with a capital letter, digit or 3-dots sequence
blocks/repo_filemanager/repos/block_repofile_type.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/repo_filemanager/repos/coursefilearea.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#26) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#26) Scope modifier not specified for member variable "$course"
(#27) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#27) Scope modifier not specified for member variable "$basedir"
(#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
(#113) This comment is 60% valid code; is this commented out code?
(#122) Expected 1 space after first semicolon of FOR loop; 0 found
(#122) Expected 1 space after second semicolon of FOR loop; 0 found
(#123) Expected 1 space before ".="; 0 found
(#124) Line exceeds 132 characters; contains 138 characters
(#178) Public method name "block_repofile_coursefilearea::checkURL" must be in lower-case letters only
(#195) Expected 1 space before ".="; 0 found
(#208) Expected 1 space before ".="; 0 found
(#220) Line exceeds 132 characters; contains 140 characters
(#223) Line exceeds 132 characters; contains 175 characters
(#224) Empty ELSE statement detected
(#227) This comment is 73% valid code; is this commented out code?
(#228) Inline comments must end in full-stops, exclamation marks, or question marks
(#228) This comment is 69% valid code; is this commented out code?
(#252) Line exceeds 132 characters; contains 135 characters
(#253) Line exceeds 132 characters; contains 136 characters
(#255) "require_once" must be immediately followed by an open parenthesis
(#258) "require_once" must be immediately followed by an open parenthesis
(#262) Variable "no_space" must not contain underscores.
(#263) Variable "no_space" must not contain underscores.
(#276) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/repo_filemanager/repos/filesystem.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#44) This comment is 69% valid code; is this commented out code?
(#45) This comment is 57% valid code; is this commented out code?
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) This comment is 54% valid code; is this commented out code?
blocks/repo_filemanager/repos/generic.php
(#15) Inline comments must end in full-stops, exclamation marks, or question marks
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#27) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#27) Scope modifier not specified for member variable "$baserepo"
(#28) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#28) Scope modifier not specified for member variable "$lastref"
(#29) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#29) Scope modifier not specified for member variable "$cacheddata"
(#41) This comment is 75% valid code; is this commented out code?
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) No space found before comment text; expected "// foreach($filelist as $f)" but found "//foreach($filelist as $f)"
(#42) This comment is 100% valid code; is this commented out code?
(#42) No space found before comment text; expected "// {" but found "//{"
(#43) This comment is 60% valid code; is this commented out code?
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) This comment is 100% valid code; is this commented out code?
(#44) No space found before comment text; expected "// }" but found "//}"
(#71) This comment is 92% valid code; is this commented out code?
(#71) No space found before comment text; expected "// if ($rpdata['path'][0]['path']==$rpdata['path'][1]['path'])" but found "//if ($rpdata['path'][0]['path']==$rpdata['path'][1]['path'])"
(#72) This comment is 86% valid code; is this commented out code?
(#73) This comment is 59% valid code; is this commented out code?
(#83) Inline control structures are not allowed
(#86) Line exceeds 132 characters; contains 139 characters
(#93) This comment is 86% valid code; is this commented out code?
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) No space found before comment text; expected "// $this->get_path($wdir);" but found "//$this->get_path($wdir);"
(#94) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) This comment is 75% valid code; is this commented out code?
(#94) No space found before comment text; expected "// echo '<br /><br />';" but found "//echo '<br /><br />';"
(#96) This comment is 62% valid code; is this commented out code?
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) No space found before comment text; expected "// foreach ($rpdata as $key => $value)" but found "//foreach ($rpdata as $key => $value)"
(#97) This comment is 55% valid code; is this commented out code?
(#97) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) This comment is 75% valid code; is this commented out code?
(#98) No space found before comment text; expected "// echo '<br /><br />';" but found "//echo '<br /><br />';"
(#103) This comment is 62% valid code; is this commented out code?
(#103) Inline comments must start with a capital letter, digit or 3-dots sequence
(#103) No space found before comment text; expected "// foreach ($item as $key => $value)" but found "//foreach ($item as $key => $value)"
(#104) This comment is 55% valid code; is this commented out code?
(#105) This comment is 69% valid code; is this commented out code?
(#105) No space found before comment text; expected "// foreach ($item['children'] as $key => $value)" but found "//foreach ($item['children'] as $key => $value)"
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) This comment is 55% valid code; is this commented out code?
(#107) Inline control structures are not allowed
(#108) Inline control structures are not allowed
(#109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) This comment is 75% valid code; is this commented out code?
(#109) No space found before comment text; expected "// echo '<br />';" but found "//echo '<br />';"
(#110) Whitespace found at end of line
(#133) Line indented incorrectly; expected at least 12 spaces, found 8
(#133) Line exceeds 132 characters; contains 171 characters
(#135) Line exceeds maximum limit of 180 characters; contains 198 characters
(#141) Line exceeds 132 characters; contains 142 characters
(#143) Line exceeds maximum limit of 180 characters; contains 190 characters
blocks/repo_filemanager/repos/get_repo.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion
(#20) "require_once" must be immediately followed by an open parenthesis
(#25) "require_once" must be immediately followed by an open parenthesis
(#28) "require_once" must be immediately followed by an open parenthesis
(#30) This comment is 66% valid code; is this commented out code?
(#34) Whitespace found at end of line
(#40) "require_once" must be immediately followed by an open parenthesis
blocks/repo_filemanager/repos/mdlinternal.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#17) "require_once" must be immediately followed by an open parenthesis
blocks/repo_filemanager/repos/youtube.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#17) "require_once" must be immediately followed by an open parenthesis
(#31) This comment is 77% valid code; is this commented out code?
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) No space found before comment text; expected "// $uns=unserialize(base64_decode($item['source']));" but found "//$uns=unserialize(base64_decode($item['source']));"
(#32) This comment is 62% valid code; is this commented out code?
(#32) No space found before comment text; expected "// foreach ($uns as $key => $value)" but found "//foreach ($uns as $key => $value)"
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) This comment is 55% valid code; is this commented out code?
(#34) Line exceeds 132 characters; contains 141 characters
(#53) This comment is 63% valid code; is this commented out code?
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) No space found before comment text; expected "// $this->baserepo->keyword=$ss;" but found "//$this->baserepo->keyword=$ss;"
(#54) This comment is 67% valid code; is this commented out code?
(#54) No space found before comment text; expected "// notify($this->baserepo->keyword);" but found "//notify($this->baserepo->keyword);"
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) This comment is 78% valid code; is this commented out code?
(#55) No space found before comment text; expected "// $this->baserepo->search($ss);" but found "//$this->baserepo->search($ss);"
blocks/repo_filemanager/uploadlib.php
(#36) Inline doc block comments are not allowed; use "// Comment." instead
(#40) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#40) Scope modifier not specified for member variable "$files"
(#41) Inline doc block comments are not allowed; use "// Comment." instead
(#45) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#45) Scope modifier not specified for member variable "$config"
(#46) Inline doc block comments are not allowed; use "// Comment." instead
(#51) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#51) Scope modifier not specified for member variable "$status"
(#52) Inline doc block comments are not allowed; use "// Comment." instead
(#57) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#57) Scope modifier not specified for member variable "$course"
(#58) Inline doc block comments are not allowed; use "// Comment." instead
(#63) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#63) Scope modifier not specified for member variable "$inputname"
(#64) Inline doc block comments are not allowed; use "// Comment." instead
(#69) The 'var' keyword is not permitted.Visibility must be explicitly declared with public, private or protected
(#69) Scope modifier not specified for member variable "$notify"
(#73) Line exceeds 132 characters; contains 144 characters
(#80) Line exceeds 132 characters; contains 154 characters
(#81) Line exceeds 132 characters; contains 152 characters
(#84) Line exceeds maximum limit of 180 characters; contains 201 characters
(#86) Visibility must be declared on method "__construct"
(#86) Line exceeds maximum limit of 180 characters; contains 216 characters
(#114) Visibility must be declared on method "preprocess_files"
(#117) Inline comments must start with a capital letter, digit or 3-dots sequence
(#123) Line exceeds 132 characters; contains 170 characters
(#124) Line exceeds 132 characters; contains 135 characters
(#124) Inline comments must start with a capital letter, digit or 3-dots sequence
(#138) Expected 1 space before ".="; 0 found
(#146) Expected 1 space before ".="; 0 found
(#157) Expected 1 space before ".="; 0 found
(#160) Inline comments must start with a capital letter, digit or 3-dots sequence
(#169) Inline comments must start with a capital letter, digit or 3-dots sequence
(#170) Whitespace found at end of line
(#178) Visibility must be declared on method "validate_file"
(#183) Expected 1 space before ".="; 0 found
(#187) Expected 1 space before ".="; 0 found
(#200) Visibility must be declared on method "save_files"
(#202) Inline comments must start with a capital letter, digit or 3-dots sequence
(#202) Inline comments must end in full-stops, exclamation marks, or question marks
(#205) Inline comments must start with a capital letter, digit or 3-dots sequence
(#212) Inline comments must start with a capital letter, digit or 3-dots sequence
(#212) Inline comments must end in full-stops, exclamation marks, or question marks
(#215) Inline comments must start with a capital letter, digit or 3-dots sequence
(#215) Inline comments must end in full-stops, exclamation marks, or question marks
(#222) Inline comments must start with a capital letter, digit or 3-dots sequence
(#223) No space found before comment text; expected "// need this later if we're deleting other files." but found "//need this later if we're deleting other files."
(#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
(#235) Expected 1 space before ".="; 0 found
(#247) Line exceeds 132 characters; contains 152 characters
(#256) Line exceeds 132 characters; contains 136 characters
(#260) Visibility must be declared on method "process_file_uploads"
(#272) Visibility must be declared on method "delete_other_files"
(#287) Expected 1 space before ".="; 0 found
(#297) Visibility must be declared on method "handle_filename_collision"
(#322) Expected 1 space before ".="; 0 found
(#331) Visibility must be declared on method "check_before_renaming"
(#337) Line exceeds 132 characters; contains 144 characters
(#337) Inline comments must start with a capital letter, digit or 3-dots sequence
(#338) Line exceeds 132 characters; contains 142 characters
(#354) Visibility must be declared on method "get_file_upload_error"
(#356) Inline comments must end in full-stops, exclamation marks, or question marks
(#360) Inline comments must start with a capital letter, digit or 3-dots sequence
(#360) Inline comments must end in full-stops, exclamation marks, or question marks
(#360) 3 slashes comments are not allowed; use "// Comment." instead
(#361) Whitespace found at end of line
(#364) Inline comments must end in full-stops, exclamation marks, or question marks
(#367) 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
(#373) Inline comments must end in full-stops, exclamation marks, or question marks
(#376) Inline comments must end in full-stops, exclamation marks, or question marks
(#377) Whitespace found at end of line
(#378) Inline comments must end in full-stops, exclamation marks, or question marks
(#381) 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) Visibility must be declared on method "print_upload_log"
(#402) Expected 1 space before ".="; 0 found
(#402) Line exceeds maximum limit of 180 characters; contains 255 characters
(#410) Line exceeds 132 characters; contains 144 characters
(#413) Visibility must be declared on method "get_new_filename"
(#420) Line exceeds 132 characters; contains 133 characters
(#423) Visibility must be declared on method "get_new_filepath"
(#430) Line exceeds 132 characters; contains 134 characters
(#433) Visibility must be declared on method "get_original_filename"
(#443) Visibility must be declared on method "get_errors"
(#471) Line exceeds 132 characters; contains 153 characters
(#482) Expected 1 space before ".="; 0 found
(#484) Expected 1 space before ".="; 0 found
(#484) Line exceeds 132 characters; contains 140 characters
(#488) Expected 1 space before ".="; 0 found
(#490) Expected 1 space before ".="; 0 found
(#495) Expected 1 space before ".="; 0 found
(#497) Expected 1 space before ".="; 0 found
(#502) Expected 1 space before ".="; 0 found
(#505) Inline comments must start with a capital letter, digit or 3-dots sequence
(#506) Expected 1 space before ".="; 0 found
(#508) Expected 1 space before ".="; 0 found
(#525) Line exceeds 132 characters; contains 149 characters
(#526) Inline comments must start with a capital letter, digit or 3-dots sequence
(#526) Inline comments must end in full-stops, exclamation marks, or question marks
(#529) Inline comments must start with a capital letter, digit or 3-dots sequence
(#532) Inline comments must start with a capital letter, digit or 3-dots sequence
(#533) Whitespace found at end of line
(#540) Expected 1 space before ".="; 0 found
(#541) Expected 1 space before ".="; 0 found
(#546) Expected 1 space before ".="; 0 found
(#549) Inline comments must start with a capital letter, digit or 3-dots sequence
(#549) Inline comments must end in full-stops, exclamation marks, or question marks
(#550) Whitespace found at end of line
(#553) Inline comments must start with a capital letter, digit or 3-dots sequence
(#553) Inline comments must end in full-stops, exclamation marks, or question marks
(#557) Inline comments must start with a capital letter, digit or 3-dots sequence
(#559) Whitespace found at end of line
(#560) Inline comments must start with a capital letter, digit or 3-dots sequence
(#569) Expected 1 space before ".="; 0 found
(#570) Expected 1 space before ".="; 0 found
(#574) Expected 1 space before ".="; 0 found
(#577) Inline comments must start with a capital letter, digit or 3-dots sequence
(#578) Whitespace found at end of line
(#580) Inline comments must start with a capital letter, digit or 3-dots sequence
(#580) Inline comments must end in full-stops, exclamation marks, or question marks
(#582) Expected 1 space before ".="; 0 found
(#585) Expected 1 space before ".="; 0 found
(#590) Expected 1 space before ".="; 0 found
(#593) Inline comments must start with a capital letter, digit or 3-dots sequence
(#594) Whitespace found at end of line
(#630) Inline comments must start with a capital letter, digit or 3-dots sequence
(#631) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/repo_filemanager/version.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(157 errors, 1 warnings)

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

blocks/repo_filemanager/block_repo_filemanager.php
(#17) File-level phpdocs block is not found
(#17) Class block_repo_filemanager is not documented
(#18) Function block_repo_filemanager::init is not documented
(#21) Function block_repo_filemanager::applicable_formats is not documented
(#24) Function block_repo_filemanager::get_content is not documented
(#17) Package is not specified for class block_repo_filemanager. It is also not specified in file-level phpdocs
blocks/repo_filemanager/choosefile.php
(#22) Package repo_filemanager is not valid
blocks/repo_filemanager/db/access.php
(#17) File-level phpdocs block does not have @copyright tag
(#20) Package block_repo_filemanger is not valid
blocks/repo_filemanager/index.php
(#18) File-level phpdocs block is not found
(#436) Function html_header is not documented
(#516) Function print_repo_list is not documented
(#535) Function html_footer is not documented
(#543) Function setfilelist is not documented
(#557) Function clearfilelist is not documented
(#563) Function printfilelist is not documented
(#578) Function print_cell is not documented
(#583) Function displaydir is not documented
(#592) Function displayfiledir is not documented
(#833) Function upload_print_form_fragment_old is not documented
(#856) Function searchabledisplay is not documented
(#918) Function block_repo_filemanager_print_textarea is not documented
(#919) Found comment starting with three or more slashes
(#920) Found comment starting with three or more slashes
(#794) Phpdocs for function is_editable_type has incomplete parameters list
(#806) Phpdocs for function is_zipfile has incomplete parameters list
(#905) Not recommended phpdocs tag @global used
(#436) Package is not specified for function html_header. It is also not specified in file-level phpdocs
(#516) Package is not specified for function print_repo_list. It is also not specified in file-level phpdocs
(#535) Package is not specified for function html_footer. It is also not specified in file-level phpdocs
(#543) Package is not specified for function setfilelist. It is also not specified in file-level phpdocs
(#557) Package is not specified for function clearfilelist. It is also not specified in file-level phpdocs
(#563) Package is not specified for function printfilelist. It is also not specified in file-level phpdocs
(#578) Package is not specified for function print_cell. It is also not specified in file-level phpdocs
(#583) Package is not specified for function displaydir. It is also not specified in file-level phpdocs
(#592) Package is not specified for function displayfiledir. It is also not specified in file-level phpdocs
(#794) Package is not specified for function is_editable_type. It is also not specified in file-level phpdocs
(#806) Package is not specified for function is_zipfile. It is also not specified in file-level phpdocs
(#833) Package is not specified for function upload_print_form_fragment_old. It is also not specified in file-level phpdocs
(#856) Package is not specified for function searchabledisplay. It is also not specified in file-level phpdocs
(#918) Package is not specified for function block_repo_filemanager_print_textarea. It is also not specified in file-level phpdocs
blocks/repo_filemanager/lang/en/block_repo_filemanager.php
(#20) Package block_repo_manager is not valid
blocks/repo_filemanager/repos/block_repofile_type.php
(#17) File-level phpdocs block is not found
(#34) Function block_repofile_type::get_all_paths is not documented
(#38) Function block_repofile_type::get_parent_link is not documented
(#42) Function block_repofile_type::get_nav_links is not documented
(#46) Function block_repofile_type::get_directory_listing is not documented
(#119) Function block_repofile_type::mkdir is not documented
(#128) Function block_repofile_type::upload is not documented
(#136) Function block_repofile_type::max_upload_bytes is not documented
(#154) Function block_repofile_type::zip_files is not documented
(#158) Function block_repofile_type::unzip_file is not documented
(#162) Function block_repofile_type::list_zip is not documented
(#166) Function block_repofile_type::is_browsable is not documented
(#170) Function block_repofile_type::is_searchable is not documented
(#174) Function block_repofile_type::search is not documented
(#83) Phpdocs for function block_repofile_type::delete_files has incomplete parameters list
(#93) Phpdocs for function block_repofile_type::move_files has incomplete parameters list
(#104) Phpdocs for function block_repofile_type::rename_file has incomplete parameters list
(#139) Phpdocs for function block_repofile_type::save_text has incomplete parameters list
(#146) Phpdocs for function block_repofile_type::get_text has incomplete parameters list
(#20) Class block_repofile_type does not have @copyright tag
(#20) Class block_repofile_type does not have @license tag
(#23) Invalid phpdocs tag @licence used
(#20) Package is not specified for class block_repofile_type. It is also not specified in file-level phpdocs
blocks/repo_filemanager/repos/coursefilearea.php
(#17) File-level phpdocs block is not found
(#29) Function block_repofile_coursefilearea::__construct is not documented
(#72) Function block_repofile_coursefilearea::get_all_paths is not documented
(#100) Function block_repofile_coursefilearea::get_parent_link is not documented
(#110) Function block_repofile_coursefilearea::get_nav_links is not documented
(#131) Function block_repofile_coursefilearea::get_directory_listing is not documented
(#178) Function block_repofile_coursefilearea::checkURL is not documented
(#190) Function block_repofile_coursefilearea::delete_files is not documented
(#201) Function block_repofile_coursefilearea::move_files is not documented
(#215) Function block_repofile_coursefilearea::rename_file is not documented
(#234) Function block_repofile_coursefilearea::mkdir is not documented
(#249) Function block_repofile_coursefilearea::upload is not documented
(#269) Function block_repofile_coursefilearea::max_upload_bytes is not documented
(#274) Function block_repofile_coursefilearea::save_text is not documented
(#281) Function block_repofile_coursefilearea::get_text is not documented
(#288) Function block_repofile_coursefilearea::zip_files is not documented
(#300) Function block_repofile_coursefilearea::unzip_file is not documented
(#307) Function block_repofile_coursefilearea::list_zip is not documented
(#314) Function block_repofile_coursefilearea::is_browsable is not documented
(#26) Variable block_repofile_coursefilearea::$course is not documented
(#27) Variable block_repofile_coursefilearea::$basedir is not documented
(#19) Class block_repofile_coursefilearea does not have @copyright tag
(#19) Class block_repofile_coursefilearea does not have @license tag
(#22) Invalid phpdocs tag @licence used
(#19) Package is not specified for class block_repofile_coursefilearea. It is also not specified in file-level phpdocs
blocks/repo_filemanager/repos/filesystem.php
(#17) File-level phpdocs block is not found
(#28) Function block_repofile_filesystem::process_directory_direnntry is not documented
(#39) Function block_repofile_filesystem::process_directory_fileentry is not documented
(#19) No one-line description found in phpdocs for class block_repofile_filesystem
(#19) Class block_repofile_filesystem does not have @copyright tag
(#19) Class block_repofile_filesystem does not have @license tag
(#23) Invalid phpdocs tag @licence used
(#19) Package is not specified for class block_repofile_filesystem. It is also not specified in file-level phpdocs
blocks/repo_filemanager/repos/generic.php
(#17) File-level phpdocs block is not found
(#31) Function block_repofile_generic::__construct is not documented
(#48) Function block_repofile_generic::get_list_data is not documented
(#56) Function block_repofile_generic::get_parent_link is not documented
(#66) Function block_repofile_generic::get_nav_links is not documented
(#91) Function block_repofile_generic::get_directory_listing is not documented
(#115) Function block_repofile_generic::process_directory_direnntry is not documented
(#126) Function block_repofile_generic::process_directory_fileentry is not documented
(#153) Function block_repofile_generic::get_path_data is not documented
(#260) Function block_repofile_generic::zip_files is not documented
(#264) Function block_repofile_generic::unzip_file is not documented
(#268) Function block_repofile_generic::list_zip is not documented
(#272) Function block_repofile_generic::is_browsable is not documented
(#27) Variable block_repofile_generic::$baserepo is not documented
(#28) Variable block_repofile_generic::$lastref is not documented
(#29) Variable block_repofile_generic::$cacheddata is not documented
(#19) No one-line description found in phpdocs for class block_repofile_generic
(#35) Phpdocs for function block_repofile_generic::get_all_paths has incomplete parameters list
(#188) Phpdocs for function block_repofile_generic::delete_files has incomplete parameters list
(#198) Phpdocs for function block_repofile_generic::move_files has incomplete parameters list
(#209) Phpdocs for function block_repofile_generic::rename_file has incomplete parameters list
(#220) Phpdocs for function block_repofile_generic::mkdir has incomplete parameters list
(#230) Phpdocs for function block_repofile_generic::upload has incomplete parameters list
(#245) Phpdocs for function block_repofile_generic::save_text has incomplete parameters list
(#252) Phpdocs for function block_repofile_generic::get_text has incomplete parameters list
(#19) Class block_repofile_generic does not have @copyright tag
(#19) Class block_repofile_generic does not have @license tag
(#23) Invalid phpdocs tag @licence used
(#19) Package is not specified for class block_repofile_generic. It is also not specified in file-level phpdocs
blocks/repo_filemanager/repos/get_repo.php
(#17) File-level phpdocs block is not found
(#17) Function get_repomanager_instance is not documented
(#17) Package is not specified for function get_repomanager_instance. It is also not specified in file-level phpdocs
blocks/repo_filemanager/repos/mdlinternal.php
(#17) File-level phpdocs block is not found
(#18) No one-line description found in phpdocs for class block_repofile_mdlinternal
(#39) Phpdocs for function block_repofile_mdlinternal::delete_files has incomplete parameters list
(#49) Phpdocs for function block_repofile_mdlinternal::move_files has incomplete parameters list
(#60) Phpdocs for function block_repofile_mdlinternal::rename_file has incomplete parameters list
(#72) Phpdocs for function block_repofile_mdlinternal::mkdir has incomplete parameters list
(#82) Phpdocs for function block_repofile_mdlinternal::upload has incomplete parameters list
(#18) Class block_repofile_mdlinternal does not have @copyright tag
(#18) Class block_repofile_mdlinternal does not have @license tag
(#22) Invalid phpdocs tag @licence used
(#18) Package is not specified for class block_repofile_mdlinternal. It is also not specified in file-level phpdocs
blocks/repo_filemanager/repos/youtube.php
(#17) File-level phpdocs block is not found
(#26) Function block_repofile_youtube::process_directory_fileentry is not documented
(#44) Function block_repofile_youtube::is_searchable is not documented
(#48) Function block_repofile_youtube::is_browsable is not documented
(#52) Function block_repofile_youtube::search is not documented
(#18) No one-line description found in phpdocs for class block_repofile_youtube
(#18) Class block_repofile_youtube does not have @copyright tag
(#18) Class block_repofile_youtube does not have @license tag
(#22) Invalid phpdocs tag @licence used
(#18) Package is not specified for class block_repofile_youtube. It is also not specified in file-level phpdocs
blocks/repo_filemanager/uploadlib.php
(#360) Found comment starting with three or more slashes
(#257) Phpdocs for function block_repo_filemanger_upload_manager::process_file_uploads has incomplete parameters list
(#394) Phpdocs for function block_repo_filemanger_upload_manager::print_upload_log has incomplete parameters list
(#257) Invalid phpdocs tag @parameter used
(#20) Package core is not valid
(#31) Package moodlecore is not valid
blocks/repo_filemanager/version.php
(#17) File-level phpdocs block is not found

Update savepoints problems

(0 errors, 0 warnings)

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


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

(0 errors, 0 warnings)

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


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]