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

(403 errors, 291 warnings)

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

plagiarism/drillbit/ajax.php
(#1) No one-line description found in phpdocs for docblock of file ajax.php
(#17) Missing @license tag
(#42) Short array syntax must be used to define arrays
(#52) Missing docblock for function drillbit_sandbox
(#55) File must end with a newline character
plagiarism/drillbit/analysis_page.php
(#28) Whitespace found at end of line
(#30) Whitespace found at end of line
(#31) Variable "paper_id" must not contain underscores.
(#35) Whitespace found at end of line
(#38) Whitespace found at end of line
(#39) Variable "analysis_page_url" must not contain underscores.
(#39) Variable "paper_id" must not contain underscores.
(#40) Whitespace found at end of line
(#42) Whitespace found at end of line
(#43) Variable "analysis_page_url_final" must not contain underscores.
(#43) Commas (,) must be followed by white space.
(#43) Variable "analysis_page_url" must not contain underscores.
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) This comment is 75% valid code; is this commented out code?
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) This comment is 75% valid code; is this commented out code?
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) This comment is 60% valid code; is this commented out code?
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Whitespace found at end of line
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) This comment is 75% valid code; is this commented out code?
(#53) Variable "analysis_page_url_final" must not contain underscores.
(#55) Whitespace found at end of line
(#73) Missing docblock for file analysis_page.php
(#73) Variable "analysis_page_url_final" must not contain underscores.
(#77) File must end with a newline character
plagiarism/drillbit/classes/_drillbit_view.php
(#17) Inline comments must start with a capital letter, digit or 3-dots sequence
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#17) This comment is 50% valid code; is this commented out code?
(#19) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
(#25) Missing @copyright tag
(#25) Missing @license tag
(#25) Missing docblock for class drillbit_view
(#26) Opening brace should be on the same line as the declaration for class drillbit_view
(#38) Opening brace should be on the same line as the declaration
(#58) Opening brace should be on the same line as the declaration
(#61) Short array syntax must be used to define arrays
(#76) Line exceeds 132 characters; contains 144 characters
(#98) Short array syntax must be used to define arrays
(#109) Docblock tag "@global" is not recommended.
(#113) Line exceeds 132 characters; contains 139 characters
(#114) Opening brace should be on the same line as the declaration
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) Short array syntax must be used to define arrays
(#130) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#138) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#150) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
(#156) There should be a comma after the last array item in a multi-line array.
(#158) Short array syntax must be used to define arrays
(#160) There should be a comma after the last array item in a multi-line array.
(#182) Short array syntax must be used to define arrays
(#190) Short array syntax must be used to define arrays
(#193) There should be a comma after the last array item in a multi-line array.
(#200) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
(#216) There should be a comma after the last array item in a multi-line array.
(#220) Short array syntax must be used to define arrays
(#223) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#236) There should be a comma after the last array item in a multi-line array.
(#239) Short array syntax must be used to define arrays
(#254) Line exceeds 132 characters; contains 138 characters
(#259) Short array syntax must be used to define arrays
(#261) There should be a comma after the last array item in a multi-line array.
(#264) Line exceeds 132 characters; contains 140 characters
(#269) Line exceeds 132 characters; contains 139 characters
(#273) Short array syntax must be used to define arrays
(#275) There should be a comma after the last array item in a multi-line array.
(#279) Line exceeds 132 characters; contains 144 characters
(#284) Line exceeds 132 characters; contains 151 characters
(#286) Line exceeds 132 characters; contains 144 characters
(#299) Line exceeds 132 characters; contains 134 characters
(#307) Short array syntax must be used to define arrays
(#310) Line exceeds 132 characters; contains 138 characters
(#314) Line exceeds 132 characters; contains 134 characters
(#318) Line exceeds 132 characters; contains 133 characters
(#356) Line exceeds 132 characters; contains 138 characters
(#362) Line exceeds 132 characters; contains 153 characters
(#379) Short array syntax must be used to define arrays
(#386) There should be a comma after the last array item in a multi-line array.
(#390) Short array syntax must be used to define arrays
(#391) Line exceeds 132 characters; contains 133 characters
(#405) Short array syntax must be used to define arrays
(#410) There should be a comma after the last array item in a multi-line array.
(#413) Short array syntax must be used to define arrays
(#416) There should be a comma after the last array item in a multi-line array.
(#447) Line exceeds 132 characters; contains 139 characters
(#450) Line exceeds 132 characters; contains 135 characters
(#457) Line exceeds 132 characters; contains 135 characters
(#464) Short array syntax must be used to define arrays
(#482) Short array syntax must be used to define arrays
(#487) Missing docblock for function show_file_errors_table
(#488) Opening brace should be on the same line as the declaration
(#498) Short array syntax must be used to define arrays
(#502) Short array syntax must be used to define arrays
(#503) Short array syntax must be used to define arrays
(#519) Short array syntax must be used to define arrays
(#522) Short array syntax must be used to define arrays
(#529) Short array syntax must be used to define arrays
(#534) Short array syntax must be used to define arrays
(#540) Short array syntax must be used to define arrays
(#544) Short array syntax must be used to define arrays
(#547) Short array syntax must be used to define arrays
(#548) Short array syntax must be used to define arrays
(#581) Line exceeds 132 characters; contains 136 characters
(#591) Short array syntax must be used to define arrays
(#592) Short array syntax must be used to define arrays
(#614) Short array syntax must be used to define arrays
(#633) Opening brace should be on the same line as the declaration
(#638) Short array syntax must be used to define arrays
plagiarism/drillbit/classes/drillbit_view.class.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#18) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
(#24) Missing @copyright tag
(#24) Missing @license tag
(#24) Missing docblock for class plagiarism_drillbit_view
(#25) Opening brace should be on the same line as the declaration for class plagiarism_drillbit_view
(#27) Missing docblock for function output_header
(#28) Opening brace should be on the same line as the declaration
(#42) Missing docblock for function add_elements_to_settings_form
(#50) This comment is 43% valid code; is this commented out code?
(#63) Short array syntax must be used to define arrays
plagiarism/drillbit/classes/forms/drillbit_default_setup_form.class.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#28) Missing docblock for class plagiarismdrillbit_default_setup_form
(#31) Missing docblock for function definition
(#31) Expected 0 spaces after "definition"; 1 found
(#39) Short array syntax must be used to define arrays
(#43) File must end with a newline character
plagiarism/drillbit/classes/forms/drillbit_setup_form.class.php
(#33) Missing docblock for class plagiarism_drillbit_setup_form
(#34) Opening brace should be on the same line as the declaration for class plagiarism_drillbit_setup_form
(#35) Missing docblock for function definition
(#36) Opening brace should be on the same line as the declaration
(#56) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#71) There should be a comma after the last array item in a multi-line array.
(#80) Line exceeds 132 characters; contains 150 characters
(#102) Inline comments must start with a capital letter, digit or 3-dots sequence
(#102) This comment is 66% valid code; is this commented out code?
(#113) Short array syntax must be used to define arrays
(#128) Short array syntax must be used to define arrays
(#130) There should be a comma after the last array item in a multi-line array.
(#164) Missing docblock for function validation
(#165) Opening brace should be on the same line as the declaration
(#166) Short array syntax must be used to define arrays
plagiarism/drillbit/classes/observer.php
(#17) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
(#23) Missing @copyright tag
(#23) Missing @license tag
(#23) Missing docblock for class plagiarism_drillbit_observer
(#24) Opening brace should be on the same line as the declaration for class plagiarism_drillbit_observer
(#35) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#67) Whitespace found at end of line
(#69) Expected 8 spaces before asterisk; 5 found
(#70) Expected 8 spaces before asterisk; 5 found
(#71) Expected 8 spaces before asterisk; 5 found
(#168) The use of function print_r() is forbidden
(#173) The use of function print_r() is forbidden
plagiarism/drillbit/classes/privacy/provider.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) Missing docblock for class provider
(#133) Short array syntax must be used to define arrays
(#211) File must end with a newline character
plagiarism/drillbit/classes/task/send_submissions.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Opening brace should be on the same line as the declaration for class send_submissions
(#36) Missing docblock for function get_name
(#37) Opening brace should be on the same line as the declaration
(#41) Missing docblock for function execute
(#42) Opening brace should be on the same line as the declaration
plagiarism/drillbit/classes/task/update_reports.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Opening brace should be on the same line as the declaration for class update_reports
(#36) Missing docblock for function get_name
(#37) Opening brace should be on the same line as the declaration
(#41) Missing docblock for function execute
(#42) Opening brace should be on the same line as the declaration
plagiarism/drillbit/db/access.php
(#1) No one-line description found in phpdocs for docblock of file access.php
(#17) Missing @license tag
(#24) Short array syntax must be used to define arrays
(#25) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#30) There should be a comma after the last array item in a multi-line array.
(#31) There should be a comma after the last array item in a multi-line array.
(#33) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#39) There should be a comma after the last array item in a multi-line array.
(#40) There should be a comma after the last array item in a multi-line array.
(#42) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#48) There should be a comma after the last array item in a multi-line array.
(#49) There should be a comma after the last array item in a multi-line array.
plagiarism/drillbit/db/events.php
(#1) No one-line description found in phpdocs for docblock of file events.php
(#17) Missing @license tag
(#24) Short array syntax must be used to define arrays
(#25) Short array syntax must be used to define arrays
(#27) There should be a comma after the last array item in a multi-line array.
(#29) Short array syntax must be used to define arrays
(#31) There should be a comma after the last array item in a multi-line array.
(#33) Short array syntax must be used to define arrays
(#35) There should be a comma after the last array item in a multi-line array.
(#37) Short array syntax must be used to define arrays
(#39) There should be a comma after the last array item in a multi-line array.
(#41) Short array syntax must be used to define arrays
(#43) There should be a comma after the last array item in a multi-line array.
(#45) Short array syntax must be used to define arrays
(#47) There should be a comma after the last array item in a multi-line array.
(#49) Short array syntax must be used to define arrays
(#51) There should be a comma after the last array item in a multi-line array.
(#53) Short array syntax must be used to define arrays
(#55) There should be a comma after the last array item in a multi-line array.
(#57) Short array syntax must be used to define arrays
(#59) There should be a comma after the last array item in a multi-line array.
(#61) Short array syntax must be used to define arrays
(#64) There should be a comma after the last array item in a multi-line array.
(#65) There should be a comma after the last array item in a multi-line array.
(#66) File must end with a newline character
plagiarism/drillbit/db/tasks.php
(#1) No one-line description found in phpdocs for docblock of file tasks.php
(#17) Missing @license tag
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
(#38) Short array syntax must be used to define arrays
(#45) There should be a comma after the last array item in a multi-line array.
(#47) File must end with a newline character
plagiarism/drillbit/db/upgrade.php
(#26) Missing docblock for function xmldb_plagiarism_drillbit_upgrade
(#26) Line indented incorrectly; expected 0 spaces, found 1
(#35) Whitespace found at end of line
(#40) Whitespace found at end of line
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) No space found before comment text; expected "// Adding aiscore column" but found "//Adding aiscore column"
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) No space found before comment text; expected "// Adding plagiarismcheck column" but found "//Adding plagiarismcheck column"
(#57) File must end with a newline character
(#57) Closing brace indented incorrectly; expected 1 spaces, found 0
plagiarism/drillbit/lang/en/plagiarism_drillbit.php
(#1) No one-line description found in phpdocs for docblock of file plagiarism_drillbit.php
(#17) Missing @license tag
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
plagiarism/drillbit/lib.php
(#1) No one-line description found in phpdocs for docblock of file lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#3) Line 2 of the opening comment must start "//".
(#8) Line 7 of the opening comment must start "//".
(#13) Line 12 of the opening comment must start "//".
(#17) Missing @license tag
(#24) Old MOODLE_INTERNAL check detected. Replace it by "defined('MOODLE_INTERNAL') || die();"
(#47) Missing docblock for class plagiarism_plugin_drillbit
(#48) Opening brace should be on the same line as the declaration for class plagiarism_plugin_drillbit
(#49) Missing member variable doc comment
(#57) Opening brace should be on the same line as the declaration
(#58) Short array syntax must be used to define arrays
(#60) There should be a comma after the last array item in a multi-line array.
(#63) Short array syntax must be used to define arrays
(#71) There should be a comma after the last array item in a multi-line array.
(#81) Opening brace should be on the same line as the declaration
(#89) No one-line description found in phpdocs for docblock of function plagiarism_drillbit_admin_config
(#90) Opening brace should be on the same line as the declaration
(#102) Opening brace should be on the same line as the declaration
(#104) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#127) Missing docblock for function is_plugin_configured
(#128) Opening brace should be on the same line as the declaration
(#143) Missing docblock for function get_configs
(#144) Opening brace should be on the same line as the declaration
(#145) Short array syntax must be used to define arrays
(#151) Docblock tag "@global" is not recommended.
(#155) Opening brace should be on the same line as the declaration
(#178) Short array syntax must be used to define arrays
(#181) Line exceeds 132 characters; contains 133 characters
(#186) Line exceeds 132 characters; contains 133 characters
(#196) Docblock tag "@global" is not recommended.
(#200) Opening brace should be on the same line as the declaration
(#223) Short array syntax must be used to define arrays
(#226) Line exceeds 132 characters; contains 133 characters
(#231) Line exceeds 132 characters; contains 133 characters
(#247) Opening brace should be on the same line as the declaration
(#289) Line exceeds 132 characters; contains 147 characters
(#294) Inline comments must start with a capital letter, digit or 3-dots sequence
(#294) This comment is 75% valid code; is this commented out code?
(#294) No space found before comment text; expected "// $this->get_course_data($cmid, $COURSE->id);" but found "//$this->get_course_data($cmid, $COURSE->id);"
(#295) Line exceeds 132 characters; contains 150 characters
(#308) Short array syntax must be used to define arrays
(#324) Missing docblock for function get_form_elements_module_drillbit
(#325) Opening brace should be on the same line as the declaration
(#367) Line exceeds 132 characters; contains 147 characters
(#372) Inline comments must start with a capital letter, digit or 3-dots sequence
(#372) This comment is 75% valid code; is this commented out code?
(#372) No space found before comment text; expected "// $this->get_course_data($cmid, $COURSE->id);" but found "//$this->get_course_data($cmid, $COURSE->id);"
(#373) Line exceeds 132 characters; contains 150 characters
(#386) Short array syntax must be used to define arrays
(#401) Missing docblock for function get_links
(#402) Opening brace should be on the same line as the declaration
(#410) Short array syntax must be used to define arrays
(#418) This comment is 41% valid code; is this commented out code?
(#420) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#421) Inline comments must end in full-stops, exclamation marks, or question marks
(#423) Inline comments must end in full-stops, exclamation marks, or question marks
(#440) Short array syntax must be used to define arrays
(#441) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#468) Inline comments must start with a capital letter, digit or 3-dots sequence
(#468) This comment is 58% valid code; is this commented out code?
(#470) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#475) Short array syntax must be used to define arrays
(#507) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#513) Expected "} else if (...) {\n"; found "}else if (...) {\n"
(#517) Inline comments must start with a capital letter, digit or 3-dots sequence
(#523) Short array syntax must be used to define arrays
(#536) Short array syntax must be used to define arrays
(#539) There should be a comma after the last array item in a multi-line array.
(#566) Short array syntax must be used to define arrays
(#572) Short array syntax must be used to define arrays
(#581) Short array syntax must be used to define arrays
(#587) Short array syntax must be used to define arrays
(#600) Short array syntax must be used to define arrays
(#603) Expected 1 space after "="; 2 found
(#603) Short array syntax must be used to define arrays
(#608) Short array syntax must be used to define arrays
(#610) Whitespace found at end of line
(#610) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#615) Variable "analysis_page_url" must not contain underscores.
(#616) Variable "analysis_page_url_final" must not contain underscores.
(#616) Commas (,) must be followed by white space.
(#616) Variable "analysis_page_url" must not contain underscores.
(#617) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#618) Whitespace found at end of line
(#619) Expected "if (...) {\n"; found "if(...) {\n"
(#623) Short array syntax must be used to define arrays
(#625) Variable "analysis_page_url_final" must not contain underscores.
(#626) There should be a comma after the last array item in a multi-line array.
(#632) Short array syntax must be used to define arrays
(#634) Whitespace found at end of line
(#635) Whitespace found at end of line
(#640) Short array syntax must be used to define arrays
(#643) There should be a comma after the last array item in a multi-line array.
(#646) Whitespace found at end of line
(#658) Short array syntax must be used to define arrays
(#660) Short array syntax must be used to define arrays
(#667) The use of function print_r() is forbidden
(#672) Missing docblock for function get_links_drillbit
(#673) Opening brace should be on the same line as the declaration
(#681) Short array syntax must be used to define arrays
(#689) This comment is 41% valid code; is this commented out code?
(#691) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#692) Inline comments must end in full-stops, exclamation marks, or question marks
(#694) Inline comments must end in full-stops, exclamation marks, or question marks
(#711) Short array syntax must be used to define arrays
(#712) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#739) Inline comments must start with a capital letter, digit or 3-dots sequence
(#739) This comment is 58% valid code; is this commented out code?
(#741) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#746) Short array syntax must be used to define arrays
(#778) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#784) Expected "} else if (...) {\n"; found "}else if (...) {\n"
(#788) Inline comments must start with a capital letter, digit or 3-dots sequence
(#794) Short array syntax must be used to define arrays
(#807) Short array syntax must be used to define arrays
(#809) There should be a comma after the last array item in a multi-line array.
(#836) Short array syntax must be used to define arrays
(#842) Short array syntax must be used to define arrays
(#851) Short array syntax must be used to define arrays
(#857) Short array syntax must be used to define arrays
(#868) Short array syntax must be used to define arrays
(#874) Short array syntax must be used to define arrays
(#880) Short array syntax must be used to define arrays
(#883) There should be a comma after the last array item in a multi-line array.
(#897) Short array syntax must be used to define arrays
(#899) Short array syntax must be used to define arrays
(#906) The use of function print_r() is forbidden
(#910) Missing docblock for function get_file_results
(#911) Opening brace should be on the same line as the declaration
(#912) Short array syntax must be used to define arrays
(#915) Missing docblock for function queue_submission_to_drillbit
(#915) Line exceeds 132 characters; contains 137 characters
(#916) Opening brace should be on the same line as the declaration
(#924) Inline comments must start with a capital letter, digit or 3-dots sequence
(#924) This comment is 67% valid code; is this commented out code?
(#926) This comment is 41% valid code; is this commented out code?
(#929) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#930) Inline comments must end in full-stops, exclamation marks, or question marks
(#934) Expected "if (...) {\n"; found "if(...){\n"
(#939) Short array syntax must be used to define arrays
(#963) Short array syntax must be used to define arrays
(#966) There should be a comma after the last array item in a multi-line array.
(#974) Short array syntax must be used to define arrays
(#976) There should be a comma after the last array item in a multi-line array.
(#994) Short array syntax must be used to define arrays
(#1001) Short array syntax must be used to define arrays
(#1004) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1004) This comment is 53% valid code; is this commented out code?
(#1005) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1006) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1007) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1008) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1009) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1010) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1011) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1012) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1013) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1014) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1015) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1016) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1017) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1018) Expected 1 space before comment text but found 13; use block comment if you need indentation
(#1019) Line exceeds 132 characters; contains 133 characters
(#1019) Expected 1 space before comment text but found 13; use block comment if you need indentation
(#1020) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1021) Line exceeds 132 characters; contains 133 characters
(#1021) Expected 1 space before comment text but found 13; use block comment if you need indentation
(#1022) Expected 1 space before comment text but found 13; use block comment if you need indentation
(#1023) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1024) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1025) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1027) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1028) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1029) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1030) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1031) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1032) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1033) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1034) Inline comments must end in full-stops, exclamation marks, or question marks
(#1034) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1036) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1036) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1037) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1038) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1039) Line exceeds 132 characters; contains 162 characters
(#1039) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1040) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1041) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1043) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1043) This comment is 56% valid code; is this commented out code?
(#1043) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1044) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1045) Line exceeds 132 characters; contains 133 characters
(#1045) Expected 1 space before comment text but found 13; use block comment if you need indentation
(#1046) Expected 1 space before comment text but found 13; use block comment if you need indentation
(#1047) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1048) Line exceeds 132 characters; contains 133 characters
(#1048) Expected 1 space before comment text but found 13; use block comment if you need indentation
(#1049) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1050) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1051) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1052) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1057) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1057) This comment is 48% valid code; is this commented out code?
(#1059) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1060) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1061) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1062) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1063) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1064) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1065) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1066) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1067) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1068) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1069) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1070) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1071) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1072) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1073) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1074) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1075) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1076) Inline comments must end in full-stops, exclamation marks, or question marks
(#1078) The use of function print_r() is forbidden
(#1088) Short array syntax must be used to define arrays
(#1143) Missing docblock for function event_handler
(#1144) Opening brace should be on the same line as the declaration
(#1147) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1174) Whitespace found at end of line
(#1175) Whitespace found at end of line
(#1176) Line indented incorrectly; expected 4 spaces, found 5
(#1176) Missing docblock for function event_handler_db_update
(#1177) Opening brace should be on the same line as the declaration
(#1180) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1182) Whitespace found at end of line within string
(#1183) Whitespace found at end of line within string
(#1184) Whitespace found at end of line within string
(#1187) Short array syntax must be used to define arrays
(#1190) There should be a comma after the last array item in a multi-line array.
(#1196) Closing brace indented incorrectly; expected 5 spaces, found 4
(#1199) Missing docblock for function event_handler_drillbit
(#1200) Opening brace should be on the same line as the declaration
(#1203) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#1233) Whitespace found at end of line
(#1238) Opening brace should be on the same line as the declaration
(#1255) Line exceeds 132 characters; contains 168 characters
(#1261) Line exceeds 132 characters; contains 168 characters
(#1262) Whitespace found at end of line
(#1274) Expected 6 spaces before asterisk; 5 found
(#1275) Expected 6 spaces before asterisk; 5 found
(#1275) Whitespace found at end of line
(#1276) Expected 6 spaces before asterisk; 5 found
(#1277) Expected 6 spaces before asterisk; 5 found
(#1278) Expected 6 spaces before asterisk; 5 found
(#1280) Opening brace should be on the same line as the declaration
(#1297) Line exceeds 132 characters; contains 168 characters
(#1303) Line exceeds 132 characters; contains 168 characters
(#1304) Whitespace found at end of line
(#1316) Whitespace found at end of line
(#1321) Opening brace should be on the same line as the declaration
(#1338) Short array syntax must be used to define arrays
(#1358) Inline comments must end in full-stops, exclamation marks, or question marks
(#1360) Line exceeds 132 characters; contains 171 characters
(#1387) Whitespace found at end of line
(#1392) Opening brace should be on the same line as the declaration
(#1408) Short array syntax must be used to define arrays
(#1421) Line exceeds 132 characters; contains 167 characters
(#1433) Whitespace found at end of line
(#1438) Opening brace should be on the same line as the declaration
(#1454) Short array syntax must be used to define arrays
(#1466) Short array syntax must be used to define arrays
(#1471) Line exceeds 132 characters; contains 167 characters
(#1481) Missing docblock for function create_new_drillbit_submission
(#1482) Opening brace should be on the same line as the declaration
(#1493) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1493) This comment is 64% valid code; is this commented out code?
(#1504) Missing docblock for function reset_drillbit_submission
(#1505) Opening brace should be on the same line as the declaration
(#1529) Opening brace should be on the same line as the declaration
(#1587) Line exceeds 132 characters; contains 143 characters
(#1591) Line exceeds 132 characters; contains 143 characters
(#1598) Missing docblock for function is_tutor
(#1599) Opening brace should be on the same line as the declaration
(#1603) Missing docblock for function get_tutor_capability
(#1604) Opening brace should be on the same line as the declaration
(#1608) Missing docblock for function user_enrolled_on_course
(#1609) Opening brace should be on the same line as the declaration
(#1613) Missing docblock for function get_author
(#1614) Opening brace should be on the same line as the declaration
(#1617) Short array syntax must be used to define arrays
(#1625) Missing docblock for function get_email_by_user_id
(#1626) Opening brace should be on the same line as the declaration
(#1629) Short array syntax must be used to define arrays
(#1636) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1636) This comment is 57% valid code; is this commented out code?
(#1638) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1639) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1640) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1641) Expected 1 space before comment text but found 13; use block comment if you need indentation
(#1642) Expected 1 space before comment text but found 13; use block comment if you need indentation
(#1643) Inline comments must end in full-stops, exclamation marks, or question marks
(#1643) Expected 1 space before comment text but found 13; use block comment if you need indentation
(#1645) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1645) This comment is 50% valid code; is this commented out code?
(#1645) Expected 1 space before comment text but found 13; use block comment if you need indentation
(#1646) Expected 1 space before comment text but found 17; use block comment if you need indentation
(#1647) Expected 1 space before comment text but found 17; use block comment if you need indentation
(#1648) Expected 1 space before comment text but found 13; use block comment if you need indentation
(#1649) Expected 1 space before comment text but found 9; use block comment if you need indentation
(#1650) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#1651) Inline comments must end in full-stops, exclamation marks, or question marks
(#1653) Missing docblock for function plagiarism_drillbit_coursemodule_edit_post_actions
(#1654) Opening brace should be on the same line as the declaration
(#1710) Opening brace should be on the same line as the declaration
(#1722) Missing docblock for function plagiarism_drillbit_update_cm_post_actions
(#1723) Opening brace should be on the same line as the declaration
(#1730) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1730) Inline comments must end in full-stops, exclamation marks, or question marks
(#1730) This comment is 75% valid code; is this commented out code?
(#1730) No space found before comment text; expected "// dd([$hash, $cm, $name, $value]);" but found "//dd([$hash, $cm, $name, $value]);"
(#1748) Missing docblock for function plagiarism_drillbit_send_queued_submissions
(#1749) Opening brace should be on the same line as the declaration
(#1777) Short array syntax must be used to define arrays
(#1814) Short array syntax must be used to define arrays
(#1816) There should be a comma after the last array item in a multi-line array.
(#1820) Short array syntax must be used to define arrays
(#1828) Short array syntax must be used to define arrays
(#1845) Short array syntax must be used to define arrays
(#1845) Line exceeds 132 characters; contains 147 characters
(#1849) Line exceeds 132 characters; contains 143 characters
(#1877) Line exceeds 132 characters; contains 134 characters
(#1904) Short array syntax must be used to define arrays
(#1907) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1907) This comment is 78% valid code; is this commented out code?
(#1907) No space found before comment text; expected "// $postdata["assignment_id"] = $folderid;" but found "//$postdata["assignment_id"] = $folderid;"
(#1943) Missing docblock for function mark_errored_submission
(#1944) Opening brace should be on the same line as the declaration
(#1947) Short array syntax must be used to define arrays
(#1964) Missing docblock for function plagiarism_drillbit_update_reports
(#1965) Opening brace should be on the same line as the declaration
(#1968) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1968) Inline comments must end in full-stops, exclamation marks, or question marks
(#1968) This comment is 80% valid code; is this commented out code?
(#1992) Short array syntax must be used to define arrays
(#1995) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1995) Inline comments must end in full-stops, exclamation marks, or question marks
(#1995) This comment is 72% valid code; is this commented out code?
(#2003) Missing docblock for function plagiarism_drillbit_has_access_to_view_report
(#2004) Opening brace should be on the same line as the declaration
(#2006) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2006) This comment is 67% valid code; is this commented out code?
(#2008) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2008) This comment is 65% valid code; is this commented out code?
(#2009) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#2010) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#2011) Inline comments must end in full-stops, exclamation marks, or question marks
(#2050) Missing docblock for function plagiarism_drillbit_get_file_headers
(#2051) Opening brace should be on the same line as the declaration
(#2052) Short array syntax must be used to define arrays
(#2054) There should be a comma after the last array item in a multi-line array.
(#2060) Missing docblock for function plagiarism_drillbit_update_expired_jwt_token
(#2061) Opening brace should be on the same line as the declaration
(#2069) Whitespace found at end of line
(#2069) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#2113) Missing docblock for function plagiarism_drillbit_get_existing_jwt_token
(#2114) Opening brace should be on the same line as the declaration
(#2120) Missing docblock for function plagiarism_drillbit_get_login_token
(#2121) Opening brace should be on the same line as the declaration
(#2122) Short array syntax must be used to define arrays
(#2126) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2126) This comment is 78% valid code; is this commented out code?
(#2126) No space found before comment text; expected "// $loginparams["submissions_key"] = $folderid;" but found "//$loginparams["submissions_key"] = $folderid;"
(#2143) Missing docblock for function plagiarism_drillbit_call_external_api
(#2143) Short array syntax must be used to define arrays
(#2144) Opening brace should be on the same line as the declaration
(#2145) Short array syntax must be used to define arrays
(#2146) Short array syntax must be used to define arrays
(#2165) Short array syntax must be used to define arrays
(#2166) There should be a comma after the last array item in a multi-line array.
(#2177) Missing docblock for function plagiarism_drillbit_tempfile
(#2178) Opening brace should be on the same line as the declaration
(#2218) Missing docblock for function plagiarism_drillbit_get_cm_settings
(#2219) Opening brace should be on the same line as the declaration
(#2229) Missing docblock for function plagiarism_drillbit_get_plugin_global_settings
(#2230) Opening brace should be on the same line as the declaration
(#2236) Missing docblock for function is_drillbit_pulgin_enabled
(#2237) Opening brace should be on the same line as the declaration
(#2241) Missing docblock for function plagiarism_drillbit_is_supported_file
(#2242) Opening brace should be on the same line as the declaration
(#2243) Short array syntax must be used to define arrays
(#2273) Missing docblock for function plagiarism_drillbit_update_submissions
(#2274) Opening brace should be on the same line as the declaration
(#2316) Missing docblock for function get_report_download_uri
(#2317) Opening brace should be on the same line as the declaration
(#2321) Missing docblock for function get_analysis_page_download_uri
(#2322) Opening brace should be on the same line as the declaration
(#2326) Missing docblock for function dd
(#2327) Opening brace should be on the same line as the declaration
(#2332) The use of function print_r() is forbidden
(#2344) Opening brace should be on the same line as the declaration
(#2361) Short array syntax must be used to define arrays
(#2363) Logical operator "and" is prohibited; use "&&" instead
(#2423) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#2427) Missing docblock for function get_allowed_modules_for_drillbit
(#2428) Opening brace should be on the same line as the declaration
plagiarism/drillbit/locallib.php
(#1) Moodle boilerplate not found
(#3) Missing @copyright tag
(#3) Missing @license tag
(#12) DocBlock missing a @package tag for function plagiarism_drillbit_retrieve_successful_submissions. Expected @package plagiarism_drillbit
(#13) Opening brace should be on the same line as the declaration
(#17) Short array syntax must be used to define arrays
(#23) Short array syntax must be used to define arrays
plagiarism/drillbit/report_file.php
(#1) No one-line description found in phpdocs for docblock of file report_file.php
(#17) Missing @license tag
(#35) Short array syntax must be used to define arrays
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) This comment is 86% valid code; is this commented out code?
(#36) No space found before comment text; expected "// print_r($drillbitfile);exit;" but found "//print_r($drillbitfile);exit;"
(#45) Short array syntax must be used to define arrays
(#46) There should be a comma after the last array item in a multi-line array.
plagiarism/drillbit/settings.php
(#1) No one-line description found in phpdocs for docblock of file settings.php
(#17) Missing @license tag
(#17) Missing @license tag
(#17) Missing @license tag
(#17) Missing @license tag
(#17) Missing @license tag
(#17) Missing @license tag
(#117) Missing docblock for file settings.php
(#120) Missing docblock for file settings.php
(#124) Missing docblock for file settings.php
(#131) Missing docblock for file settings.php
(#139) Missing docblock for file settings.php
plagiarism/drillbit/test.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file test.php
(#1) Moodle boilerplate not found
(#19) The use of function print_r() is forbidden
plagiarism/drillbit/vendor/autoload.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file autoload.php
(#1) Moodle boilerplate not found
(#3) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3) Inline comments must end in full-stops, exclamation marks, or question marks
(#5) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#5) "require_once" must be immediately followed by an open parenthesis
plagiarism/drillbit/version.php
(#1) No one-line description found in phpdocs for docblock of file version.php
(#17) Missing @license tag

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

(14 errors, 0 warnings)

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

plagiarism/drillbit/classes/_drillbit_view.php
(#55) Phpdocs for function drillbit_view::draw_settings_tab_menu has incomplete parameters list
(#110) Phpdocs for function drillbit_view::add_elements_to_settings_form has incomplete parameters list
(#629) Phpdocs for function drillbit_view::lock has incomplete parameters list
plagiarism/drillbit/classes/observer.php
(#41) Phpdocs for function plagiarism_drillbit_observer::course_reset has incomplete parameters list
(#70) Phpdocs for function plagiarism_drillbit_observer::assignsubmission_db_update has incomplete parameters list
(#130) Phpdocs for function plagiarism_drillbit_observer::coursework_submitted has incomplete parameters list
plagiarism/drillbit/classes/privacy/provider.php
(#49) Phpdocs for function provider::plagiarism_drillbit_get_metadata has incomplete parameters list
plagiarism/drillbit/lib.php
(#75) Phpdocs for function plagiarism_plugin_drillbit::get_config_settings has incomplete parameters list
(#242) Phpdocs for function plagiarism_plugin_drillbit::get_form_elements_module has incomplete parameters list
(#1525) Phpdocs for function plagiarism_plugin_drillbit::save_errored_submission has incomplete parameters list
(#1545) Phpdocs for function plagiarism_plugin_drillbit::save_submission has incomplete parameters list
(#1705) Phpdocs for function plagiarism_drillbit_coursemodule_standard_elements has incomplete parameters list
(#2387) Phpdocs for function plagiarism_drillbit_print_error has incomplete parameters list
plagiarism/drillbit/locallib.php
(#7) Phpdocs for function plagiarism_drillbit_retrieve_successful_submissions has incomplete parameters list

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]


Gherkin .feature problems

(0 errors, 0 warnings)

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