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

(23 errors, 3 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/db/upgrade.php
(#35) Expected MOODLE_INTERNAL check or config.php inclusion
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"
(#38) Expected MOODLE_INTERNAL check or config.php inclusion
(#651) Spaces must be used to indent lines; tabs are not allowed
(#651) Tab found within whitespace
(#651) Line indented incorrectly; expected 8 spaces, found 2
(#651) Closing brace indented incorrectly; expected 8 spaces, found 2
(#660) Whitespace found at end of line within string
(#661) Whitespace found at end of line within string
(#662) Whitespace found at end of line within string
blocks/catalogue/list/activities/blockcatalogue.list.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/catalogue/list/blocks/blockcatalogue.list.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/catalogue/list/customlabels/blockcatalogue.list.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/catalogue/list/enrols/blockcatalogue.list.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/catalogue/list/grades/blockcatalogue.list.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/catalogue/list/list.class.php
(#45) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/catalogue/list/mods/blockcatalogue.list.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/catalogue/list/reports/blockcatalogue.list.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/catalogue/list/resources/blockcatalogue.list.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/catalogue/list/sections/blockcatalogue.list.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/catalogue/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/catalogue/toggle.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"

Javascript coding style problems

(36 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) 'favzone' 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) 'favzone' is not defined. (no-undef)
(#76) 'favzone' is not defined. (no-undef)
(#76) 'newdata' is not defined. (no-undef)
(#79) Missing semicolon. (semi)
(#81) A space is required after ','. (comma-spacing)
(#82) Line 82 exceeds the maximum line length of 132. (max-len)
(#82) 'args' is not defined. (no-undef)
(#83) 'args' is not defined. (no-undef)
(#86) Missing JSDoc comment. (require-jsdoc)
(#86) 'modaction' is defined but never used. (no-unused-vars)
(#89) Expected space(s) after "if". (keyword-spacing)
(#90) 'response' is not defined. (no-undef)
(#91) 'docelementid' is not defined. (no-undef)
(#92) 'docelementid' is not defined. (no-undef)
(#92) 'response' is not defined. (no-undef)
(#94) Missing semicolon. (semi)
(#96) A space is required after ','. (comma-spacing)
(#97) 'args' is not defined. (no-undef)
(#98) 'args' is not defined. (no-undef)
(#101) Missing JSDoc comment. (require-jsdoc)
(#101) 'sectionaction' is defined but never used. (no-unused-vars)
(#104) Expected space(s) after "if". (keyword-spacing)
(#107) Missing semicolon. (semi)
(#109) A space is required after ','. (comma-spacing)
(#110) 'args' is not defined. (no-undef)
(#111) '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
(#35) 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
(#34) Phpdocs for function block_catalogue_all_favorites has incomplete parameters list
(#72) Phpdocs for function block_catalogue_check_sequences has incomplete parameters list
(#219) Phpdocs for function block_catalogue_display_category has incomplete parameters list
(#374) Phpdocs for function block_catalogue_extract_titles has incomplete parameters list
(#402) Phpdocs for function block_catalogue_get_listnames has incomplete parameters list
(#463) Phpdocs for function block_catalogue_main_table has incomplete parameters list
(#618) Phpdocs for function block_catalogue_show_favorites has incomplete parameters list
(#826) Phpdocs for function block_catalogue_proximityarrow has incomplete parameters list
(#869) Phpdocs for function block_catalogue_proximod has incomplete parameters list
(#71) Not recommended phpdocs tag @global used
(#218) Not recommended phpdocs tag @global used
(#252) Not recommended phpdocs tag @global used
(#316) Not recommended phpdocs tag @global used
(#316) Not recommended phpdocs tag @global used
(#362) Not recommended phpdocs tag @global used
(#401) Not recommended phpdocs tag @global used
(#421) Not recommended phpdocs tag @global used
(#617) Not recommended phpdocs tag @global used
(#703) Not recommended phpdocs tag @global used
(#703) Not recommended phpdocs tag @global used
(#703) Not recommended phpdocs tag @global used
(#703) Not recommended phpdocs tag @global used
(#750) Not recommended phpdocs tag @global used
(#750) Not recommended phpdocs tag @global used
(#782) Not recommended phpdocs tag @global used
(#782) Not recommended phpdocs tag @global used
(#782) Not recommended phpdocs tag @global used
(#823) Not recommended phpdocs tag @global used
(#823) Not recommended phpdocs tag @global used
(#823) Not recommended phpdocs tag @global used
(#897) Not recommended phpdocs tag @global used
blocks/catalogue/list/activities/blockcatalogue.list.php
(#36) Class blockcatalogue_list_activities is not documented
(#37) 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
(#54) Not recommended phpdocs tag @global used
(#70) Not recommended phpdocs tag @global used
(#70) Not recommended phpdocs tag @global used
(#92) Not recommended phpdocs tag @global used
(#92) Not recommended phpdocs tag @global used
(#130) Not recommended phpdocs tag @global used
(#159) Not recommended phpdocs tag @global used
(#159) Not recommended phpdocs tag @global used
blocks/catalogue/list/blocks/blockcatalogue.list.php
(#36) Class blockcatalogue_list_blocks is not documented
(#38) Function blockcatalogue_list_blocks::__construct is not documented
(#17) No one-line description found in phpdocs for file
(#203) Phpdocs for function blockcatalogue_list_blocks::sortout has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#55) Not recommended phpdocs tag @global used
(#76) Not recommended phpdocs tag @global used
(#107) Not recommended phpdocs tag @global used
(#107) Not recommended phpdocs tag @global used
(#143) Not recommended phpdocs tag @global used
(#171) Not recommended phpdocs tag @global used
(#171) Not recommended phpdocs tag @global used
(#202) Not recommended phpdocs tag @global used
(#219) Not recommended phpdocs tag @global used
(#219) Not recommended phpdocs tag @global used
blocks/catalogue/list/customlabels/blockcatalogue.list.php
(#40) Class blockcatalogue_list_customlabels is not documented
(#41) Function blockcatalogue_list_customlabels::__construct is not documented
(#17) No one-line description found in phpdocs for file
(#109) Phpdocs for function blockcatalogue_list_customlabels::get_first_icon has incomplete parameters list
(#139) Phpdocs for function blockcatalogue_list_customlabels::get_local_data has incomplete parameters list
(#184) Phpdocs for function blockcatalogue_list_customlabels::sortout has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#61) Not recommended phpdocs tag @global used
(#77) Not recommended phpdocs tag @global used
(#108) Not recommended phpdocs tag @global used
(#138) Not recommended phpdocs tag @global used
(#183) Not recommended phpdocs tag @global used
(#204) Not recommended phpdocs tag @global used
(#204) Not recommended phpdocs tag @global used
blocks/catalogue/list/enrols/blockcatalogue.list.php
(#36) Class blockcatalogue_list_enrols is not documented
(#37) Function blockcatalogue_list_enrols::__construct is not documented
(#17) No one-line description found in phpdocs for file
(#130) Phpdocs for function blockcatalogue_list_enrols::get_local_data has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#63) Not recommended phpdocs tag @global used
(#129) Not recommended phpdocs tag @global used
(#180) Not recommended phpdocs tag @global used
(#180) Not recommended phpdocs tag @global used
blocks/catalogue/list/grades/blockcatalogue.list.php
(#43) Function blockcatalogue_list_grades::__construct is not documented
(#17) No one-line description found in phpdocs for file
(#73) Phpdocs for function blockcatalogue_list_grades::enlist has incomplete parameters list
(#93) Not recommended phpdocs tag @global used
(#116) Not recommended phpdocs tag @global used
(#149) Not recommended phpdocs tag @global used
(#237) Not recommended phpdocs tag @global used
(#237) Not recommended phpdocs tag @global used
blocks/catalogue/list/list.class.php
(#17) No one-line description found in phpdocs for file
(#198) Phpdocs for function blockcatalogue_list::display_all_buttons has incomplete parameters list
(#586) Phpdocs for function blockcatalogue_list::tab has incomplete parameters list
(#43) Not recommended phpdocs tag @abstract used
(#137) Not recommended phpdocs tag @global used
(#153) Not recommended phpdocs tag @global used
(#286) Not recommended phpdocs tag @global used
(#320) Not recommended phpdocs tag @global used
(#373) Not recommended phpdocs tag @global used
(#373) Not recommended phpdocs tag @global used
(#425) Not recommended phpdocs tag @global used
(#542) Not recommended phpdocs tag @global used
blocks/catalogue/list/mods/blockcatalogue.list.php
(#36) Class blockcatalogue_list_mods is not documented
(#37) 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
(#54) Not recommended phpdocs tag @global used
(#70) Not recommended phpdocs tag @global used
(#70) Not recommended phpdocs tag @global used
(#92) Not recommended phpdocs tag @global used
(#92) Not recommended phpdocs tag @global used
(#131) Not recommended phpdocs tag @global used
(#161) Not recommended phpdocs tag @global used
(#161) Not recommended phpdocs tag @global used
blocks/catalogue/list/reports/blockcatalogue.list.php
(#36) Class blockcatalogue_list_reports is not documented
(#37) Function blockcatalogue_list_reports::__construct is not documented
(#17) No one-line description found in phpdocs for file
(#100) Phpdocs for function blockcatalogue_list_reports::get_local_data has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#64) Not recommended phpdocs tag @global used
(#99) Not recommended phpdocs tag @global used
(#125) Not recommended phpdocs tag @global used
(#125) Not recommended phpdocs tag @global used
blocks/catalogue/list/resources/blockcatalogue.list.php
(#17) No one-line description found in phpdocs for file
(#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
(#166) Not recommended phpdocs tag @global used
(#166) Not recommended phpdocs tag @global used
blocks/catalogue/list/sections/blockcatalogue.list.php
(#17) No one-line description found in phpdocs for file
(#60) Not recommended phpdocs tag @global used
(#60) Not recommended phpdocs tag @global used
(#98) Not recommended phpdocs tag @global used
(#98) Not recommended phpdocs tag @global used
(#126) Not recommended phpdocs tag @global used
(#126) 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]