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]

course/format/noticebd/config.php
(#50) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
course/format/noticebd/db/upgrade.php
(#43) Expected MOODLE_INTERNAL check or config.php inclusion
course/format/noticebd/version.php
(#47) This comment is 45% valid code; is this commented out code?

Javascript coding style problems

(0 errors, 20 warnings)

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

course/format/noticebd/format.js
(#44) Identifier 'get_config' is not in camel case. (camelcase)
(#46) Identifier 'container_node' is not in camel case. (camelcase)
(#46) Extra space after key 'container_node'. (key-spacing)
(#47) Extra space after key 'container_class'. (key-spacing)
(#47) Identifier 'container_class' is not in camel case. (camelcase)
(#48) Identifier 'section_node' is not in camel case. (camelcase)
(#48) Extra space after key 'section_node'. (key-spacing)
(#49) Identifier 'section_class' is not in camel case. (camelcase)
(#49) Extra space after key 'section_class'. (key-spacing)
(#53) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#61) Identifier 'swap_sections' is not in camel case. (camelcase)
(#63) Extra space after key 'COURSECONTENT'. (key-spacing)
(#64) Extra space after key 'SECTIONADDMENUS'. (key-spacing)
(#72) Unexpected @return tag; function has no return statement. (valid-jsdoc)
(#72) Expected JSDoc for 'sectionlist' but found 'response'. (valid-jsdoc)
(#72) Expected JSDoc for 'response' but found 'sectionfrom'. (valid-jsdoc)
(#72) Expected JSDoc for 'sectionfrom' but found 'sectionto'. (valid-jsdoc)
(#81) Identifier 'process_sections' is not in camel case. (camelcase)
(#83) Extra space after key 'SECTIONNAME'. (key-spacing)
(#84) Extra space after key 'SECTIONLEFTSIDE'. (key-spacing)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(18 errors, 8 warnings)

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

course/format/noticebd/config.php
(#17) No one-line description found in phpdocs for file
(#23) Not recommended phpdocs tag @version used
(#21) Package course/format is not valid
course/format/noticebd/db/upgrade.php
(#43) Function xmldb_format_noticebd_upgrade is not documented
(#17) No one-line description found in phpdocs for file
(#23) Not recommended phpdocs tag @version used
(#21) Package course/format is not valid
course/format/noticebd/format.php
(#17) No one-line description found in phpdocs for file
(#23) Not recommended phpdocs tag @version used
(#21) Package course/format is not valid
course/format/noticebd/lang/en/format_noticebd.php
(#17) No one-line description found in phpdocs for file
(#23) Not recommended phpdocs tag @version used
(#21) Package course/format is not valid
course/format/noticebd/lib.php
(#17) No one-line description found in phpdocs for file
(#336) Phpdocs for function callback_noticebd_load_content has incomplete parameters list
(#23) Not recommended phpdocs tag @version used
(#21) Package course/format is not valid
course/format/noticebd/renderer.php
(#17) No one-line description found in phpdocs for file
(#46) Class format_noticebd_renderer does not have @copyright tag
(#46) Class format_noticebd_renderer does not have @license tag
(#23) Not recommended phpdocs tag @version used
(#160) Not recommended phpdocs tag @global used
(#21) Package course/format is not valid
course/format/noticebd/version.php
(#17) No one-line description found in phpdocs for file
(#23) Not recommended phpdocs tag @version used
(#21) Package course/format is not valid

Update savepoints problems

(2 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

course/format/noticebd/db/upgrade.php
Detected more 'if' blocks (1) than 'savepoint' calls (0)
version 2114052000 is missing corresponding savepoint call

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]