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

(27 errors, 2 warnings)

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

course/format/masonry/colorpicker.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#50) method name "MoodleQuickForm_colorpicker::MoodleQuickForm_colorpicker" must be in lower-case letters only
(#50) PHP4 style constructors are not allowed; use "__construct()" instead
(#50) Visibility must be declared on method "MoodleQuickForm_colorpicker"
(#50) Variable "elementName" must be all lower-case
(#50) Variable "elementLabel" must be all lower-case
(#51) PHP4 style calls to parent constructors are not allowed; use "parent::__construct()" instead
(#51) Variable "elementName" must be all lower-case
(#51) Variable "elementLabel" must be all lower-case
(#54) method name "MoodleQuickForm_colorpicker::setHiddenLabel" must be in lower-case letters only
(#54) Visibility must be declared on method "setHiddenLabel"
(#58) method name "MoodleQuickForm_colorpicker::toHtml" must be in lower-case letters only
(#58) Visibility must be declared on method "toHtml"
(#65) Expected 1 space before "=>"; 0 found
(#65) Expected 1 space after "=>"; 0 found
(#72) method name "MoodleQuickForm_colorpicker::_generateId" must be in lower-case letters only
(#72) Visibility must be declared on method "_generateId"
(#79) method name "MoodleQuickForm_colorpicker::setHelpButton" must be in lower-case letters only
(#79) Visibility must be declared on method "setHelpButton"
(#83) method name "MoodleQuickForm_colorpicker::getHelpButton" must be in lower-case letters only
(#83) Visibility must be declared on method "getHelpButton"
(#87) method name "MoodleQuickForm_colorpicker::getElementTemplateType" must be in lower-case letters only
(#87) Visibility must be declared on method "getElementTemplateType"
(#99) Expected 1 space before "!=="; 0 found
course/format/masonry/format.php
(#18) Whitespace found at end of line
(#33) Expected 1 space after ">="; 0 found
course/format/masonry/lib.php
(#212) This comment is 47% valid code; is this commented out code?
(#309) This comment is 43% valid code; is this commented out code?
course/format/masonry/renderer.php
(#57) Whitespace found at end of line

Javascript coding style problems

(0 errors, 2 warnings)

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

course/format/masonry/format.js
(#19) 'n' is already defined.
(#34) A leading decimal point can be confused with a dot: '.5'.

CSS problems

(0 errors, 3 warnings)

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

course/format/masonry/styles.css
(#67) Rule is empty.
(#135) Use of !important
(#181) Use of !important

PHPDocs style problems

(21 errors, 1 warnings)

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

course/format/masonry/colorpicker.php
(#35) Class MoodleQuickForm_colorpicker is not documented
(#54) Function MoodleQuickForm_colorpicker::setHiddenLabel is not documented
(#58) Function MoodleQuickForm_colorpicker::toHtml is not documented
(#72) Function MoodleQuickForm_colorpicker::_generateId is not documented
(#79) Function MoodleQuickForm_colorpicker::setHelpButton is not documented
(#83) Function MoodleQuickForm_colorpicker::getHelpButton is not documented
(#87) Function MoodleQuickForm_colorpicker::getElementTemplateType is not documented
(#95) Function MoodleQuickForm_colorpicker::verify is not documented
(#37) Variable MoodleQuickForm_colorpicker::$_helpbutton is not documented
(#38) Variable MoodleQuickForm_colorpicker::$_hiddenlabel is not documented
(#32) Not recommended phpdocs tag @access used
(#20) Package course format is not valid
course/format/masonry/format.php
(#17) No one-line description found in phpdocs for file
course/format/masonry/lang/en/format_masonry.php
(#20) Package course format is not valid
course/format/masonry/lang/nl/format_masonry.php
(#20) Package course format is not valid
course/format/masonry/lib.php
(#29) Class format_masonry is not documented
(#20) Package course format is not valid
course/format/masonry/renderer.php
(#29) Class format_masonry_renderer is not documented
(#142) Phpdocs for function format_masonry_renderer::section_nav_selection has incomplete parameters list
(#20) Package course format is not valid
course/format/masonry/settings.php
(#20) Package course format is not valid
course/format/masonry/version.php
(#20) Package course format 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]


Mustache template problems

(0 errors, 0 warnings)

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