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

(0 errors, 0 warnings)

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


Javascript coding style problems

(13 errors, 35 warnings)

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

blocks/navbuttons/completion.js
(#4) Identifier 'block_navbuttons' is not in camel case. (camelcase)
(#8) Identifier 'handle_success' is not in camel case. (camelcase)
(#8) Unexpected space before function parentheses. (space-before-function-paren)
(#11) This line has a length of 133. Maximum allowed is 132. (max-len)
(#11) Unexpected alert. (no-alert)
(#11) Expected space or tab after '//' in comment. (spaced-comment)
(#16) 'modulename' is assigned a value but never used. (no-unused-vars)
(#24) Expected space(s) after "if". (keyword-spacing)
(#35) Expected space(s) after "if". (keyword-spacing)
(#48) Identifier 'handle_failure' is not in camel case. (camelcase)
(#48) Unexpected space before function parentheses. (space-before-function-paren)
(#49) Unexpected alert. (no-alert)
(#49) Expected space or tab after '//' in comment. (spaced-comment)
(#53) Unexpected space before function parentheses. (space-before-function-paren)
(#90) Comments should not begin with a lowercase character. (capitalized-comments)
(#96) This line has a length of 136. Maximum allowed is 132. (max-len)
(#98) Identifier 'handle_success' is not in camel case. (camelcase)
(#99) Identifier 'handle_failure' is not in camel case. (camelcase)
(#104) Unexpected space before function parentheses. (space-before-function-paren)
(#110) Comments should not begin with a lowercase character. (capitalized-comments)
(#111) Unexpected space before function parentheses. (space-before-function-paren)
(#119) Too many blank lines at the end of file. Max of 2 allowed. (no-multiple-empty-lines)
blocks/navbuttons/edit.js
(#1) 'navbuttons' is not defined. (no-undef)
(#8) 'YAHOO' is not defined. (no-undef)
(#8) Operator '+' must be spaced. (space-infix-ops)
(#11) This line has a length of 157. Maximum allowed is 132. (max-len)
(#13) Comments should not begin with a lowercase character. (capitalized-comments)
(#13) Expected space or tab after '//' in comment. (spaced-comment)
(#14) 'YAHOO' is not defined. (no-undef)
(#32) 'YAHOO' is not defined. (no-undef)
(#35) Comments should not begin with a lowercase character. (capitalized-comments)
(#35) Expected space or tab after '//' in comment. (spaced-comment)
(#37) 'YAHOO' is not defined. (no-undef)
(#38) Operator '+' must be spaced. (space-infix-ops)
(#38) 'YAHOO' is not defined. (no-undef)
(#43) Missing semicolon. (semi)
blocks/navbuttons/edit24.js
(#1) Expected space or tab after '/*' in comment. (spaced-comment)
(#1) 'document' is already defined as a built-in global variable. (no-redeclare)
(#5) Unexpected space before function parentheses. (space-before-function-paren)
(#7) This line has a length of 134. Maximum allowed is 132. (max-len)
(#7) Unexpected space before function parentheses. (space-before-function-paren)
(#8) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#11) This line has a length of 161. Maximum allowed is 132. (max-len)
(#13) Comments should not begin with a lowercase character. (capitalized-comments)
(#13) Expected space or tab after '//' in comment. (spaced-comment)
(#35) Comments should not begin with a lowercase character. (capitalized-comments)
(#35) Expected space or tab after '//' in comment. (spaced-comment)
(#36) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(55 errors, 0 warnings)

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

blocks/navbuttons/activityready.php
(#17) File-level phpdocs block is not found
(#66) There is no description in phpdocs for function navbuttons_mod_assignment_showbuttons
(#108) There is no description in phpdocs for function navbuttons_mod_choice_showbuttons
(#120) There is no description in phpdocs for function navbuttons_mod_quiz_showbuttons
(#137) There is no description in phpdocs for function navbuttons_mod_questionnaire_showbuttons
(#109) Phpdocs for function navbuttons_mod_choice_showbuttons has incomplete parameters list
(#121) Phpdocs for function navbuttons_mod_quiz_showbuttons has incomplete parameters list
(#138) Phpdocs for function navbuttons_mod_questionnaire_showbuttons has incomplete parameters list
(#24) Package is not specified for function navbuttons_activity_showbuttons. It is also not specified in file-level phpdocs
(#66) Package is not specified for function navbuttons_mod_assignment_showbuttons. It is also not specified in file-level phpdocs
(#108) Package is not specified for function navbuttons_mod_choice_showbuttons. It is also not specified in file-level phpdocs
(#120) Package is not specified for function navbuttons_mod_quiz_showbuttons. It is also not specified in file-level phpdocs
(#137) Package is not specified for function navbuttons_mod_questionnaire_showbuttons. It is also not specified in file-level phpdocs
blocks/navbuttons/block_navbuttons.php
(#17) File-level phpdocs block is not found
(#19) Class block_navbuttons is not documented
(#20) Function block_navbuttons::init is not documented
(#24) Function block_navbuttons::applicable_formats is not documented
(#28) Function block_navbuttons::has_config is not documented
(#32) Function block_navbuttons::get_content is not documented
(#63) Function block_navbuttons::instance_create is not documented
(#96) Function block_navbuttons::instance_delete is not documented
(#19) Package is not specified for class block_navbuttons. It is also not specified in file-level phpdocs
blocks/navbuttons/classes/privacy/provider.php
(#29) Class provider is not documented
(#30) Function provider::get_reason is not documented
blocks/navbuttons/db/access.php
(#17) File-level phpdocs block is not found
blocks/navbuttons/db/upgrade.php
(#17) File-level phpdocs block is not found
(#19) Function xmldb_block_navbuttons_upgrade is not documented
(#19) Package is not specified for function xmldb_block_navbuttons_upgrade. It is also not specified in file-level phpdocs
blocks/navbuttons/definitions.php
(#17) File-level phpdocs block is not found
blocks/navbuttons/edit.php
(#17) File-level phpdocs block is not found
(#32) Class block_navbuttons_edit_form is not documented
(#33) Function block_navbuttons_edit_form::definition is not documented
(#304) Function block_navbutton_settings_header is not documented
(#32) Package is not specified for class block_navbuttons_edit_form. It is also not specified in file-level phpdocs
(#304) Package is not specified for function block_navbutton_settings_header. It is also not specified in file-level phpdocs
blocks/navbuttons/footer.php
(#17) File-level phpdocs block is not found
(#22) Function draw_navbuttons is not documented
(#308) Function navbutton_get_icon is not documented
(#335) Function make_navbutton is not documented
(#375) Phpdocs for function make_activitycomplete_button has incomplete parameters list
(#22) Package is not specified for function draw_navbuttons. It is also not specified in file-level phpdocs
(#308) Package is not specified for function navbutton_get_icon. It is also not specified in file-level phpdocs
(#335) Package is not specified for function make_navbutton. It is also not specified in file-level phpdocs
(#372) Package is not specified for function make_activitycomplete_button. It is also not specified in file-level phpdocs
blocks/navbuttons/lang/de/block_navbuttons.php
(#18) File-level phpdocs block is not found
blocks/navbuttons/lang/en/block_navbuttons.php
(#17) File-level phpdocs block is not found
blocks/navbuttons/lang/es/block_navbuttons.php
(#17) File-level phpdocs block is not found
blocks/navbuttons/lang/fr/block_navbuttons.php
(#17) File-level phpdocs block is not found
blocks/navbuttons/lib.php
(#17) File-level phpdocs block is not found
(#19) Function block_navbuttons_pluginfile is not documented
(#42) Function block_navbuttons_before_footer is not documented
(#19) Package is not specified for function block_navbuttons_pluginfile. It is also not specified in file-level phpdocs
(#42) Package is not specified for function block_navbuttons_before_footer. It is also not specified in file-level phpdocs
blocks/navbuttons/settings.php
(#17) File-level phpdocs block is not found
blocks/navbuttons/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]


Gherkin .feature problems

(0 errors, 0 warnings)

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