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

(6 errors, 0 warnings)

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

blocks/catalogue/block_catalogue.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/catalogue/chooseplace.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/catalogue/index.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/catalogue/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/catalogue/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/catalogue/toggle.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"

Javascript coding style problems

(39 errors, 16 warnings)

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

blocks/catalogue/js/block_catalogue.js
(#36) Missing JSDoc comment. (require-jsdoc)
(#36) 'flipflop' is defined but never used. (no-unused-vars)
(#44) Missing JSDoc comment. (require-jsdoc)
(#44) Missing space before opening brace. (space-before-blocks)
(#47) Expected space(s) after "if". (keyword-spacing)
(#49) 'ActiveXObject' is not defined. (no-undef)
(#51) 'ActiveXObject' is not defined. (no-undef)
(#54) Unexpected alert. (no-alert)
(#59) Missing JSDoc comment. (require-jsdoc)
(#59) 'showdescr' is defined but never used. (no-unused-vars)
(#60) Unexpected alert. (no-alert)
(#63) Missing JSDoc comment. (require-jsdoc)
(#63) 'toggle' is defined but never used. (no-unused-vars)
(#66) Expected space(s) after "if". (keyword-spacing)
(#67) 'response' is not defined. (no-undef)
(#68) 'newdata' is not defined. (no-undef)
(#68) 'response' is not defined. (no-undef)
(#69) 'docelementid' is not defined. (no-undef)
(#70) 'starzone' is not defined. (no-undef)
(#70) 'docelementid' is not defined. (no-undef)
(#71) 'favzones' is not defined. (no-undef)
(#72) 'newdata' is not defined. (no-undef)
(#72) 'starzone' is not defined. (no-undef)
(#73) 'starzone' is not defined. (no-undef)
(#73) 'newdata' is not defined. (no-undef)
(#75) 'newdata' is not defined. (no-undef)
(#75) 'favzones' is not defined. (no-undef)
(#76) 'nbfavzones' is not defined. (no-undef)
(#76) 'favzones' is not defined. (no-undef)
(#77) 'nbfavzones' is not defined. (no-undef)
(#78) 'favzones' is not defined. (no-undef)
(#78) 'newdata' is not defined. (no-undef)
(#82) Missing semicolon. (semi)
(#84) A space is required after ','. (comma-spacing)
(#85) Line 85 exceeds the maximum line length of 132. (max-len)
(#85) 'args' is not defined. (no-undef)
(#86) 'args' is not defined. (no-undef)
(#89) Missing JSDoc comment. (require-jsdoc)
(#89) 'modaction' is defined but never used. (no-unused-vars)
(#92) Expected space(s) after "if". (keyword-spacing)
(#93) 'response' is not defined. (no-undef)
(#94) 'docelementid' is not defined. (no-undef)
(#95) 'docelementid' is not defined. (no-undef)
(#95) 'response' is not defined. (no-undef)
(#97) Missing semicolon. (semi)
(#99) A space is required after ','. (comma-spacing)
(#100) 'args' is not defined. (no-undef)
(#101) 'args' is not defined. (no-undef)
(#104) Missing JSDoc comment. (require-jsdoc)
(#104) 'sectionaction' is defined but never used. (no-unused-vars)
(#107) Expected space(s) after "if". (keyword-spacing)
(#110) Missing semicolon. (semi)
(#112) A space is required after ','. (comma-spacing)
(#113) 'args' is not defined. (no-undef)
(#114) 'args' is not defined. (no-undef)

CSS problems

(1 errors, 0 warnings)

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

blocks/catalogue/block_catalogue.css
(#28) Unknown word (CssSyntaxError)

PHPDocs style problems

(67 errors, 91 warnings)

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

blocks/catalogue/block_catalogue.php
(#43) Class block_catalogue is not documented
(#45) Function block_catalogue::init is not documented
(#51) Function block_catalogue::specialization is not documented
(#55) Function block_catalogue::applicable_formats is not documented
(#59) Function block_catalogue::get_content is not documented
(#100) Function block_catalogue::has_config is not documented
(#17) No one-line description found in phpdocs for file
blocks/catalogue/chooseplace.php
(#17) No one-line description found in phpdocs for file
blocks/catalogue/db/access.php
(#17) No one-line description found in phpdocs for file
blocks/catalogue/db/upgrade.php
(#37) Function xmldb_block_catalogue_upgrade is not documented
(#17) No one-line description found in phpdocs for file
blocks/catalogue/index.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
blocks/catalogue/lang/en/block_catalogue.php
(#17) No one-line description found in phpdocs for file
blocks/catalogue/lib.php
(#17) No one-line description found in phpdocs for file
(#36) Phpdocs for function block_catalogue_all_favorites has incomplete parameters list
(#74) Phpdocs for function block_catalogue_check_sequences has incomplete parameters list
(#230) Phpdocs for function block_catalogue_display_category has incomplete parameters list
(#384) Phpdocs for function block_catalogue_extract_titles has incomplete parameters list
(#412) Phpdocs for function block_catalogue_get_listnames has incomplete parameters list
(#473) Phpdocs for function block_catalogue_main_table has incomplete parameters list
(#630) Phpdocs for function block_catalogue_show_favorites has incomplete parameters list
(#843) Phpdocs for function block_catalogue_proximityarrow has incomplete parameters list
(#886) Phpdocs for function block_catalogue_proximod has incomplete parameters list
(#73) Not recommended phpdocs tag @global used
(#229) Not recommended phpdocs tag @global used
(#263) Not recommended phpdocs tag @global used
(#326) Not recommended phpdocs tag @global used
(#326) Not recommended phpdocs tag @global used
(#372) Not recommended phpdocs tag @global used
(#411) Not recommended phpdocs tag @global used
(#431) Not recommended phpdocs tag @global used
(#629) Not recommended phpdocs tag @global used
(#721) Not recommended phpdocs tag @global used
(#721) Not recommended phpdocs tag @global used
(#721) Not recommended phpdocs tag @global used
(#721) Not recommended phpdocs tag @global used
(#768) Not recommended phpdocs tag @global used
(#768) Not recommended phpdocs tag @global used
(#800) Not recommended phpdocs tag @global used
(#800) Not recommended phpdocs tag @global used
(#800) Not recommended phpdocs tag @global used
(#840) Not recommended phpdocs tag @global used
(#840) Not recommended phpdocs tag @global used
(#840) Not recommended phpdocs tag @global used
(#914) Not recommended phpdocs tag @global used
blocks/catalogue/list/activities/blockcatalogue.list.php
(#38) Class blockcatalogue_list_activities is not documented
(#39) Function blockcatalogue_list_activities::__construct is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#57) Not recommended phpdocs tag @global used
(#73) Not recommended phpdocs tag @global used
(#73) Not recommended phpdocs tag @global used
(#95) Not recommended phpdocs tag @global used
(#95) Not recommended phpdocs tag @global used
(#133) Not recommended phpdocs tag @global used
(#162) Not recommended phpdocs tag @global used
(#162) Not recommended phpdocs tag @global used
blocks/catalogue/list/blocks/blockcatalogue.list.php
(#38) Class blockcatalogue_list_blocks is not documented
(#40) Function blockcatalogue_list_blocks::__construct is not documented
(#17) No one-line description found in phpdocs for file
(#207) Phpdocs for function blockcatalogue_list_blocks::sortout has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#57) Not recommended phpdocs tag @global used
(#80) Not recommended phpdocs tag @global used
(#111) Not recommended phpdocs tag @global used
(#111) Not recommended phpdocs tag @global used
(#147) Not recommended phpdocs tag @global used
(#175) Not recommended phpdocs tag @global used
(#175) Not recommended phpdocs tag @global used
(#206) Not recommended phpdocs tag @global used
(#223) Not recommended phpdocs tag @global used
(#223) Not recommended phpdocs tag @global used
blocks/catalogue/list/customlabels/blockcatalogue.list.php
(#42) Class blockcatalogue_list_customlabels is not documented
(#43) Function blockcatalogue_list_customlabels::__construct is not documented
(#17) No one-line description found in phpdocs for file
(#111) Phpdocs for function blockcatalogue_list_customlabels::get_first_icon has incomplete parameters list
(#141) Phpdocs for function blockcatalogue_list_customlabels::get_local_data has incomplete parameters list
(#186) Phpdocs for function blockcatalogue_list_customlabels::sortout has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#63) Not recommended phpdocs tag @global used
(#79) Not recommended phpdocs tag @global used
(#110) Not recommended phpdocs tag @global used
(#140) Not recommended phpdocs tag @global used
(#185) Not recommended phpdocs tag @global used
(#206) Not recommended phpdocs tag @global used
(#206) Not recommended phpdocs tag @global used
blocks/catalogue/list/enrols/blockcatalogue.list.php
(#38) Class blockcatalogue_list_enrols is not documented
(#39) Function blockcatalogue_list_enrols::__construct is not documented
(#17) No one-line description found in phpdocs for file
(#129) Phpdocs for function blockcatalogue_list_enrols::get_local_data has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#65) Not recommended phpdocs tag @global used
(#128) Not recommended phpdocs tag @global used
(#187) Not recommended phpdocs tag @global used
(#187) Not recommended phpdocs tag @global used
blocks/catalogue/list/grades/blockcatalogue.list.php
(#45) Function blockcatalogue_list_grades::__construct is not documented
(#17) No one-line description found in phpdocs for file
(#75) Phpdocs for function blockcatalogue_list_grades::enlist has incomplete parameters list
(#95) Not recommended phpdocs tag @global used
(#118) Not recommended phpdocs tag @global used
(#151) Not recommended phpdocs tag @global used
(#239) Not recommended phpdocs tag @global used
(#239) Not recommended phpdocs tag @global used
blocks/catalogue/list/list.class.php
(#17) No one-line description found in phpdocs for file
(#200) Phpdocs for function blockcatalogue_list::display_all_buttons has incomplete parameters list
(#588) Phpdocs for function blockcatalogue_list::tab has incomplete parameters list
(#45) Not recommended phpdocs tag @abstract used
(#139) Not recommended phpdocs tag @global used
(#155) Not recommended phpdocs tag @global used
(#288) Not recommended phpdocs tag @global used
(#322) Not recommended phpdocs tag @global used
(#375) Not recommended phpdocs tag @global used
(#375) Not recommended phpdocs tag @global used
(#427) Not recommended phpdocs tag @global used
(#544) Not recommended phpdocs tag @global used
blocks/catalogue/list/mods/blockcatalogue.list.php
(#38) Class blockcatalogue_list_mods is not documented
(#39) Function blockcatalogue_list_mods::__construct is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#56) Not recommended phpdocs tag @global used
(#72) Not recommended phpdocs tag @global used
(#72) Not recommended phpdocs tag @global used
(#94) Not recommended phpdocs tag @global used
(#94) Not recommended phpdocs tag @global used
(#133) Not recommended phpdocs tag @global used
(#163) Not recommended phpdocs tag @global used
(#163) Not recommended phpdocs tag @global used
blocks/catalogue/list/reports/blockcatalogue.list.php
(#38) Class blockcatalogue_list_reports is not documented
(#39) Function blockcatalogue_list_reports::__construct is not documented
(#17) No one-line description found in phpdocs for file
(#102) Phpdocs for function blockcatalogue_list_reports::get_local_data has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#66) Not recommended phpdocs tag @global used
(#101) Not recommended phpdocs tag @global used
(#127) Not recommended phpdocs tag @global used
(#127) Not recommended phpdocs tag @global used
blocks/catalogue/list/resources/blockcatalogue.list.php
(#17) No one-line description found in phpdocs for file
(#59) Not recommended phpdocs tag @global used
(#75) Not recommended phpdocs tag @global used
(#75) Not recommended phpdocs tag @global used
(#97) Not recommended phpdocs tag @global used
(#97) Not recommended phpdocs tag @global used
(#135) Not recommended phpdocs tag @global used
(#168) Not recommended phpdocs tag @global used
(#168) Not recommended phpdocs tag @global used
blocks/catalogue/list/sections/blockcatalogue.list.php
(#17) No one-line description found in phpdocs for file
(#62) Not recommended phpdocs tag @global used
(#62) Not recommended phpdocs tag @global used
(#100) Not recommended phpdocs tag @global used
(#100) Not recommended phpdocs tag @global used
(#128) Not recommended phpdocs tag @global used
(#128) Not recommended phpdocs tag @global used
blocks/catalogue/list/sections/choosesection.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
blocks/catalogue/settings.php
(#17) No one-line description found in phpdocs for file
blocks/catalogue/toggle.php
(#17) No one-line description found in phpdocs for file
blocks/catalogue/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 "stylelint:css" 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]