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

(3 errors, 2 warnings)

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

blocks/semester_sortierung/ajax_modinfo.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/semester_sortierung/locallib.php
(#195) This comment is 50% valid code; is this commented out code?
(#196) This comment is 50% valid code; is this commented out code?
blocks/semester_sortierung/renderer.php
(#189) Line indented incorrectly; expected at least 16 spaces, found 12
(#296) Functions must not contain multiple empty lines in a row; found 2 empty lines

Javascript coding style problems

(0 errors, 16 warnings)

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

blocks/semester_sortierung/yui/semester_sortierung/semester_sortierung.js
(#44) Script URL.
(#54) Expected '===' and instead saw '=='.
(#68) Expected '===' and instead saw '=='.
(#73) Expected '===' and instead saw '=='.
(#106) 'i' is already defined.
(#112) 'a' is already defined.
(#113) 'b' is already defined.
(#127) Expected '===' and instead saw '=='.
(#127) Expected '===' and instead saw '=='.
(#127) Expected '===' and instead saw '=='.
(#144) Expected '===' and instead saw '=='.
(#161) Expected '!==' and instead saw '!='.
(#247) Expected '===' and instead saw '=='.
(#315) Line is too long.
(#27) 'config' is defined but never used.
(#156) 'k' is defined but never used.

CSS problems

(4 errors, 11 warnings)

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

blocks/semester_sortierung/styles.css
(#50) Use of !important
(#51) Use of !important
(#60) width can't be used with display: inline.
(#61) Duplicate property '*display' found.
(#61) Duplicate property '*height' found.
(#61) height can't be used with display: inline.
(#74) width can't be used with display: inline.
(#75) margin can't be used with display: inline.
(#76) height can't be used with display: inline.
(#76) Duplicate property '*display' found.
(#76) Duplicate property '*height' found.
(#130) Use of !important
(#150) Use of !important
(#167) Use of !important
(#183) Rule is empty.

PHPDocs style problems

(19 errors, 0 warnings)

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

blocks/semester_sortierung/block_semester_sortierung.php
(#31) Class block_semester_sortierung is not documented
(#17) No one-line description found in phpdocs for file
blocks/semester_sortierung/db/upgrade.php
(#31) Function xmldb_block_semester_sortierung_upgrade is not documented
blocks/semester_sortierung/locallib.php
(#30) Function block_sememster_sortierung_usort is not documented
(#34) Function block_semester_sortierung_toggle_fav is not documented
(#55) Function block_semester_sortierung_update_personal_sort is not documented
(#175) Function block_semester_sortierung_sort_user_personal_sort is not documented
(#117) Phpdocs for function block_semester_sortierung_fill_course_semester has incomplete parameters list
(#231) Phpdocs for function block_semester_sortierung_get_semester has incomplete parameters list
blocks/semester_sortierung/renderer.php
(#195) Function block_semester_sortierung_renderer::start_semester is not documented
(#218) Function block_semester_sortierung_renderer::end_semester is not documented
(#225) Function block_semester_sortierung_renderer::course_html is not documented
(#280) Function block_semester_sortierung_renderer::get_personalsort_icons is not documented
(#301) Function block_semester_sortierung_renderer::get_favorites_icon is not documented
(#317) Function block_semester_sortierung_renderer::get_move_target is not documented
(#39) Phpdocs for function block_semester_sortierung_renderer::semester_sortierung has incomplete parameters list
(#331) Phpdocs for function block_semester_sortierung_renderer::get_expand_image_button_html has incomplete parameters list
(#30) Class block_semester_sortierung_renderer does not have @copyright tag
(#30) Class block_semester_sortierung_renderer does not have @license tag

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]