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

(6 errors, 22 warnings)

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

blocks/completion_progress/module.js
(#1) Identifier 'block_completion_progress' is not in camel case. (camelcase)
(#5) Unexpected space before function parentheses. (space-before-function-paren)
(#13) 'e' is defined but never used. (no-unused-vars)
(#13) Requires a space after '{'. (block-spacing)
(#13) Statement inside of curly braces should be on next line. (brace-style)
(#13) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#13) Requires a space before '}'. (block-spacing)
(#16) Unexpected space before function parentheses. (space-before-function-paren)
(#26) Unexpected space before function parentheses. (space-before-function-paren)
(#32) A space is required after ','. (comma-spacing)
(#40) 'YUIObject' is defined but never used. (no-unused-vars)
(#48) Expected space(s) after "if". (keyword-spacing)
(#53) Expected space(s) after "if". (keyword-spacing)
(#55) Line 55 exceeds the maximum line length of 132. (max-len)
(#55) Requires a space after '{'. (block-spacing)
(#55) Statement inside of curly braces should be on next line. (brace-style)
(#55) This line has 3 statements. Maximum allowed is 2. (max-statements-per-line)
(#55) Requires a space before '}'. (block-spacing)
(#55) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#55) Missing semicolon. (semi)
(#56) Line 56 exceeds the maximum line length of 132. (max-len)
(#56) Requires a space after '{'. (block-spacing)
(#56) Statement inside of curly braces should be on next line. (brace-style)
(#56) This line has 3 statements. Maximum allowed is 2. (max-statements-per-line)
(#56) Requires a space before '}'. (block-spacing)
(#56) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#56) Missing semicolon. (semi)
(#95) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)

CSS problems

(1 errors, 7 warnings)

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

blocks/completion_progress/styles.css
(#187) Expected "#F00" to be "#f00" (color-hex-case)
(#189) Expected "#F66" to be "#f66" (color-hex-case)
(#197) Expected "#cccccc" to be "#ccc" (color-hex-length)
(#199) Unexpected !important (declaration-no-important)
(#108) Unexpected unit (length-zero-no-unit)
(#108) Unexpected unit (length-zero-no-unit)
(#117) Unexpected unit (length-zero-no-unit)
(#117) Unexpected unit (length-zero-no-unit)

PHPDocs style problems

(26 errors, 2 warnings)

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

blocks/completion_progress/backup/moodle2/restore_completion_progress_block_task.class.php
(#17) File-level phpdocs block is not found
(#31) Not recommended phpdocs tag @global used
blocks/completion_progress/db/upgrade.php
(#41) There is no description in phpdocs for function xmldb_block_completion_progress_upgrade
(#42) Not recommended phpdocs tag @global used
blocks/completion_progress/edit_form.php
(#38) Function block_completion_progress_edit_form::specific_definition is not documented
blocks/completion_progress/lib.php
(#30) Constant DEFAULT_COMPLETIONPROGRESS_WRAPAFTER is not documented
(#31) Constant DEFAULT_COMPLETIONPROGRESS_LONGBARS is not documented
(#32) Constant DEFAULT_COMPLETIONPROGRESS_SCROLLCELLWIDTH is not documented
(#33) Constant DEFAULT_COMPLETIONPROGRESS_COURSENAMETOSHOW is not documented
(#34) Constant DEFAULT_COMPLETIONPROGRESS_SHOWINACTIVE is not documented
(#35) Constant DEFAULT_COMPLETIONPROGRESS_PROGRESSBARICONS is not documented
(#36) Constant DEFAULT_COMPLETIONPROGRESS_ORDERBY is not documented
(#37) Constant DEFAULT_COMPLETIONPROGRESS_SHOWPERCENTAGE is not documented
(#38) Constant DEFAULT_COMPLETIONPROGRESS_ACTIVITIESINCLUDED is not documented
(#43) Phpdocs for function block_completion_progress_student_submissions has incomplete parameters list
(#88) Phpdocs for function block_completion_progress_course_submissions has incomplete parameters list
(#165) Phpdocs for function block_completion_progress_get_activities has incomplete parameters list
(#339) Phpdocs for function block_completion_progress_bar has incomplete parameters list
(#659) Phpdocs for function block_completion_progress_group_membership has incomplete parameters list
blocks/completion_progress/overview.php
(#32) Constant USER_SMALL_CLASS is not documented
(#33) Constant USER_LARGE_CLASS is not documented
(#34) Constant DEFAULT_PAGE_SIZE is not documented
(#35) Constant SHOW_ALL_PAGE_SIZE is not documented
blocks/completion_progress/tests/base_test.php
(#33) Class block_completion_progress_base_testcase is not documented
(#35) Invalid phpdocs tag @const used
(#37) Invalid phpdocs tag @const used
(#20) Package blocks_completion_progress is not valid
(#21) Category phpunit is not valid

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, 0 warnings)

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