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

(20 errors, 11 warnings)

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

report/assign/classes/event/assignment_dump.php
(#85) File must end with a newline character
report/assign/classes/event/assignment_export.php
(#85) File must end with a newline character
report/assign/classes/event/assignment_viewed.php
(#85) File must end with a newline character
report/assign/classes/event/report_viewed.php
(#80) File must end with a newline character
report/assign/classes/forms/dumpselect.php
(#65) File must end with a newline character
report/assign/classes/lib.php
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) This comment is 78% valid code; is this commented out code?
(#32) No space found before comment text; expected "// require_once($CFG->dirroot.'/mod/assign/locallib.php');" but found "//require_once($CFG->dirroot.'/mod/assign/locallib.php');"
(#355) Commas (,) must be followed by white space.
(#358) Whitespace found at end of line
report/assign/classes/output/listassign.php
(#102) File must end with a newline character
report/assign/db/services.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#45) File must end with a newline character
report/assign/externallib.php
(#25) Whitespace found at end of line
(#59) Whitespace found at end of line
(#66) Whitespace found at end of line
(#74) Whitespace found at end of line
report/assign/index.php
(#81) Inline comments must start with a capital letter, digit or 3-dots sequence
(#81) This comment is 66% valid code; is this commented out code?
(#81) No space found before comment text; expected "// $assignment = $DB->get_record('assign', ['id' => $assignid], '*', MUST_EXIST);" but found "//$assignment = $DB->get_record('assign', ['id' => $assignid], '*', MUST_EXIST);"
(#87) Line exceeds 132 characters; contains 153 characters
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) Line exceeds 132 characters; contains 153 characters
report/assign/settings.php
(#55) File must end with a newline character
report/assign/userlog.php
(#35) Line exceeds 132 characters; contains 142 characters
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Whitespace found at end of line within string
(#86) Commas (,) must be followed by white space.
(#100) File must end with a newline character

Javascript coding style problems

(0 errors, 3 warnings)

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

report/assign/amd/src/filter.js
(#22) Expected catch,fail() or return (promise/catch-or-return)
(#33) Each then() should return a value or throw (promise/always-return)
(#36) Comments should not begin with a lowercase character. (capitalized-comments)

CSS problems

(1 errors, 0 warnings)

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

report/assign/styles.css
(#6) Expected indentation of 0 spaces (indentation)

PHPDocs style problems

(48 errors, 0 warnings)

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

report/assign/classes/event/assignment_dump.php
(#29) Class assignment_dump is not documented
report/assign/classes/event/assignment_export.php
(#29) Class assignment_export is not documented
report/assign/classes/event/assignment_viewed.php
(#29) Class assignment_viewed is not documented
report/assign/classes/event/report_viewed.php
(#29) Class report_viewed is not documented
report/assign/classes/forms/dumpselect.php
(#21) Package report is not valid
(#32) Class dumpselect is not documented
(#34) Function dumpselect::definition is not documented
report/assign/classes/lib.php
(#20) Package report is not valid
(#38) Class lib is not documented
(#319) Phpdocs for function lib::add_files_zipfiles has incomplete parameters list
(#503) Phpdocs for function lib::add_assignment_data has incomplete parameters list
(#892) Phpdocs for function lib::download_feedback_files has incomplete parameters list
report/assign/classes/output/listassign.php
(#35) Class listassign is not documented
(#43) Function listassign::__construct is not documented
(#90) Function listassign::export_for_template is not documented
(#37) Variable listassign::$course is not documented
(#39) Variable listassign::$fullurl is not documented
(#41) Variable listassign::$assignments is not documented
(#51) Phpdocs for function listassign::groupmode_name has incomplete parameters list
report/assign/classes/output/renderer.php
(#20) Package report is not valid
(#33) Class renderer is not documented
(#37) Phpdocs for function renderer::render_listassign has incomplete parameters list
(#46) Phpdocs for function renderer::render_reportassign has incomplete parameters list
report/assign/classes/output/reportassign.php
(#35) Class reportassign is not documented
(#51) Function reportassign::__construct is not documented
(#75) Function reportassign::export_for_template is not documented
(#37) Variable reportassign::$course is not documented
(#39) Variable reportassign::$context is not documented
(#41) Variable reportassign::$fullurl is not documented
(#43) Variable reportassign::$submissions is not documented
(#45) Variable reportassign::$assignment is not documented
(#47) Variable reportassign::$showparticipantnumber is not documented
(#49) Variable reportassign::$extensionsok is not documented
report/assign/classes/privacy/provider.php
(#20) Package report_aassign is not valid
report/assign/db/access.php
(#17) File-level phpdocs block does not have @copyright tag
report/assign/db/install.php
(#20) Package report is not valid
(#27) Function xmldb_report_assign_install is not documented
(#17) File-level phpdocs block does not have @copyright tag
report/assign/dump.php
(#21) Package report is not valid
report/assign/index.php
(#21) Package report is not valid
report/assign/lang/en/report_assign.php
(#20) Package report is not valid
(#17) File-level phpdocs block does not have @copyright tag
report/assign/lib.php
(#20) Package report is not valid
report/assign/settings.php
(#20) Package report is not valid
(#17) File-level phpdocs block does not have @copyright tag
report/assign/userlog.php
(#21) Package report is not valid
report/assign/version.php
(#20) Package report is not valid
(#17) File-level phpdocs block does not have @copyright tag

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

(1 errors, 1 warnings)

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

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

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 6 warnings)

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

report/assign/templates/extensionpopup.mustache
(#1) Example context missing (@template section not found.)
report/assign/templates/listassign.mustache
(#1) Example context missing (@template section not found.)
report/assign/templates/reportassign.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 7: “th” start tag in table body. ( <thead> <th>[[user)
report/assign/templates/userlog.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 3: Empty heading. (d><body><h1></h1>)

Gherkin .feature problems

(0 errors, 0 warnings)

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