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

(1 errors, 2 warnings)

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

grade/report/gradedist/classes/privacy/provider.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
grade/report/gradedist/index.php
(#268) Whitespace found at end of line
grade/report/gradedist/mtablepdf.php
(#27) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.

Javascript coding style problems

(1 errors, 33 warnings)

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

grade/report/gradedist/amd/src/gradedist.js
(#34) Unexpected empty function. (no-empty-function)
(#37) Comments should not begin with a lowercase character (capitalized-comments)
(#46) Expected space(s) after "if". (keyword-spacing)
(#59) There should be no space after '{'. (object-curly-spacing)
(#59) There should be no space before '}'. (object-curly-spacing)
(#78) Comments should not begin with a lowercase character (capitalized-comments)
(#101) A space is required after ','. (comma-spacing)
(#121) Unexpected space before function parentheses. (space-before-function-paren)
(#132) Unexpected space before function parentheses. (space-before-function-paren)
(#143) Unexpected space before function parentheses. (space-before-function-paren)
(#161) Comments should not begin with a lowercase character (capitalized-comments)
(#182) Unexpected space before function parentheses. (space-before-function-paren)
(#215) 'Highcharts' is not defined. (no-undef)
(#278) Comments should not begin with a lowercase character (capitalized-comments)
(#314) Expected space(s) after "if". (keyword-spacing)
(#331) Statement inside of curly braces should be on next line. (brace-style)
(#331) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#331) Requires a space before '}'. (block-spacing)
(#338) Unexpected space before function parentheses. (space-before-function-paren)
(#350) Unexpected space before function parentheses. (space-before-function-paren)
(#364) Unexpected space before function parentheses. (space-before-function-paren)
(#376) Unexpected space before function parentheses. (space-before-function-paren)
(#394) Unexpected space before function parentheses. (space-before-function-paren)
(#396) Identifier 'values_new' is not in camel case. (camelcase)
(#398) Identifier 's_y' is not in camel case. (camelcase)
(#399) Identifier 'ext_y' is not in camel case. (camelcase)
(#402) Identifier 'values_new' is not in camel case. (camelcase)
(#403) Identifier 's_y' is not in camel case. (camelcase)
(#404) Identifier 'ext_y' is not in camel case. (camelcase)
(#407) Identifier 'values_new' is not in camel case. (camelcase)
(#408) Identifier 's_y' is not in camel case. (camelcase)
(#409) Identifier 'ext_y' is not in camel case. (camelcase)
(#423) Unexpected space before function parentheses. (space-before-function-paren)
(#425) Expected space(s) after "if". (keyword-spacing)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(29 errors, 0 warnings)

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

grade/report/gradedist/classes/event/confirmation_table_viewed.php
(#31) Class confirmation_table_viewed is not documented
grade/report/gradedist/classes/event/gradedist_downloaded.php
(#31) Class gradedist_downloaded is not documented
grade/report/gradedist/classes/event/gradedist_viewed.php
(#31) Class gradedist_viewed is not documented
grade/report/gradedist/classes/event/newletters_submitted.php
(#31) Class newletters_submitted is not documented
grade/report/gradedist/classes/privacy/provider.php
(#30) Class provider is not documented
grade/report/gradedist/confirm_form.php
(#33) Class confirm_letter_form is not documented
(#35) Function confirm_letter_form::definition is not documented
grade/report/gradedist/edit_form.php
(#33) Class edit_letter_form is not documented
(#35) Function edit_letter_form::definition is not documented
grade/report/gradedist/export.php
(#48) Function grade_export_gradedist::init is not documented
(#60) Function grade_export_gradedist::print_grades is not documented
(#38) Variable grade_export_gradedist::$course is not documented
(#39) Variable grade_export_gradedist::$grader is not documented
(#40) Variable grade_export_gradedist::$gradeitem is not documented
(#41) Variable grade_export_gradedist::$letters is not documented
(#42) Variable grade_export_gradedist::$newletters is not documented
(#43) Variable grade_export_gradedist::$exportformat is not documented
(#44) Variable grade_export_gradedist::$filename is not documented
(#45) Variable grade_export_gradedist::$groupid is not documented
(#46) Variable grade_export_gradedist::$groupingid is not documented
(#31) No one-line description found in phpdocs for class grade_export_gradedist
grade/report/gradedist/lib.php
(#320) Function grade_report_gradedist::get_gradeletter is not documented
(#249) Phpdocs for function grade_report_gradedist::load_distribution has incomplete parameters list
(#32) Class grade_report_gradedist does not have @copyright tag
(#32) Class grade_report_gradedist does not have @license tag
(#35) Package gradereport_overview is not valid
grade/report/gradedist/mtablepdf.php
(#20) Package mtablepdf is not valid
(#34) Package mod_checkmark is not valid
grade/report/gradedist/version.php
(#17) No one-line description found in phpdocs for file

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]

Task "eslint:amd" failed. Use --force to continue.
Problems running grunt

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]