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

(179 errors, 95 warnings)

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

blocks/simple_nav/block_simple_nav.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
(#61) Visibility must be declared on method "init"
(#73) Visibility must be declared on method "instance_allow_multiple"
(#82) Visibility must be declared on method "applicable_formats"
(#92) Visibility must be declared on method "specialization"
(#106) Visibility must be declared on method "instance_allow_config"
(#116) Visibility must be declared on method "instance_can_be_hidden"
(#125) Visibility must be declared on method "instance_can_be_docked"
(#135) Visibility must be declared on method "get_required_javascript"
(#157) Visibility must be declared on method "simple_nav_collect_items"
(#195) Usage of ELSEIF not allowed; use ELSE IF instead
(#199) Usage of ELSEIF not allowed; use ELSE IF instead
(#214) Usage of ELSEIF not allowed; use ELSE IF instead
(#218) Usage of ELSEIF not allowed; use ELSE IF instead
(#239) "require_once" must be immediately followed by an open parenthesis
(#240) Variable "module_frontpage_items" must not contain underscores.
(#241) Variable "module_items" must not contain underscores.
(#242) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#246) Inline comments must start with a capital letter, digit or 3-dots sequence
(#247) Inline comments must end in full-stops, exclamation marks, or question marks
(#252) Inline comments must start with a capital letter, digit or 3-dots sequence
(#253) Inline comments must end in full-stops, exclamation marks, or question marks
(#255) This comment is 67% valid code; is this commented out code?
(#255) Inline comments must start with a capital letter, digit or 3-dots sequence
(#256) Inline comments must end in full-stops, exclamation marks, or question marks
(#256) This comment is 60% valid code; is this commented out code?
(#259) Inline comments must start with a capital letter, digit or 3-dots sequence
(#259) Inline comments must end in full-stops, exclamation marks, or question marks
(#262) Inline comments must start with a capital letter, digit or 3-dots sequence
(#263) Inline comments must end in full-stops, exclamation marks, or question marks
(#264) Variable "show_mods" must not contain underscores.
(#267) Inline comments must start with a capital letter, digit or 3-dots sequence
(#268) Inline comments must end in full-stops, exclamation marks, or question marks
(#269) Variable "show_mods" must not contain underscores.
(#270) Variable "mods_value" must not contain underscores.
(#270) Variable "show_mods" must not contain underscores.
(#272) Expected "} else {\n"; found "} // if this is not the case, we just turn it off\n else {\n"
(#273) Variable "mods_value" must not contain underscores.
(#276) Usage of ELSEIF not allowed; use ELSE IF instead
(#277) Variable "mods_value" must not contain underscores.
(#279) Variable "mods_value" must not contain underscores.
(#282) Variable "mods_value" must not contain underscores.
(#283) Variable "module_items" must not contain underscores.
(#288) Variable "show_mods_frontpage" must not contain underscores.
(#289) Variable "mods_value_frontpage" must not contain underscores.
(#292) Inline comments must start with a capital letter, digit or 3-dots sequence
(#293) Inline comments must end in full-stops, exclamation marks, or question marks
(#294) Variable "show_mods_frontpage" must not contain underscores.
(#295) Variable "mods_value_frontpage" must not contain underscores.
(#295) Variable "show_mods_frontpage" must not contain underscores.
(#297) Expected "} else {\n"; found "} // if this is not the case, we just turn it off\n else {\n"
(#298) Variable "mods_value_frontapge" must not contain underscores.
(#300) Usage of ELSEIF not allowed; use ELSE IF instead
(#301) Variable "mods_value_frontpage" must not contain underscores.
(#303) Variable "mods_value_frontpage" must not contain underscores.
(#306) Variable "mods_value_frontpage" must not contain underscores.
(#307) Variable "module_frontpage_items" must not contain underscores.
(#311) Inline comments must end in full-stops, exclamation marks, or question marks
(#313) Variable "sn_home" must not contain underscores.
(#315) Variable "sn_home" must not contain underscores.
(#319) Variable "show_courses" must not contain underscores.
(#321) Variable "show_courses" must not contain underscores.
(#324) Variable "show_modules" must not contain underscores.
(#326) Variable "show_modules" must not contain underscores.
(#329) Variable "show_toplevelnode" must not contain underscores.
(#331) Variable "show_toplevelnode" must not contain underscores.
(#334) Inline comments must start with a capital letter, digit or 3-dots sequence
(#334) Inline comments must end in full-stops, exclamation marks, or question marks
(#336) Variable "is_active" must not contain underscores.
(#340) Inline comments must start with a capital letter, digit or 3-dots sequence
(#341) Inline comments must end in full-stops, exclamation marks, or question marks
(#342) Variable "check_startcategory" must not contain underscores.
(#343) Variable "check_startcategory" must not contain underscores.
(#344) Variable "startcategory_value" must not contain underscores.
(#344) Variable "check_startcategory" must not contain underscores.
(#346) Expected "} else {\n"; found "} // if this is not set, we assume that we want to display everything\n else {\n"
(#347) Variable "startcategory_value" must not contain underscores.
(#349) Variable "startcategory_value" must not contain underscores.
(#351) Variable "sn_home" must not contain underscores.
(#354) Inline comments must start with a capital letter, digit or 3-dots sequence
(#355) Inline comments must end in full-stops, exclamation marks, or question marks
(#357) Variable "sn_home" must not contain underscores.
(#361) Inline comments must end in full-stops, exclamation marks, or question marks
(#363) Inline comments must start with a capital letter, digit or 3-dots sequence
(#363) Inline comments must end in full-stops, exclamation marks, or question marks
(#365) Variable "check_startcategory" must not contain underscores.
(#366) Variable "check_startcategory" must not contain underscores.
(#367) Variable "startcategory_value" must not contain underscores.
(#367) Variable "check_startcategory" must not contain underscores.
(#369) Inline comments must end in full-stops, exclamation marks, or question marks
(#370) Usage of ELSEIF not allowed; use ELSE IF instead
(#371) Variable "startcategory_value" must not contain underscores.
(#373) Expected "} else {\n"; found "} // if there is no config object at all, we just show everything.\n else {\n"
(#374) Variable "startcategory_value" must not contain underscores.
(#377) Variable "startcategory_value" must not contain underscores.
(#379) Inline comments must start with a capital letter, digit or 3-dots sequence
(#379) Inline comments must end in full-stops, exclamation marks, or question marks
(#382) Inline comments must start with a capital letter, digit or 3-dots sequence
(#383) Inline comments must end in full-stops, exclamation marks, or question marks
(#384) Variable "show_toplevelnode" must not contain underscores.
(#386) Variable "category_name" must not contain underscores.
(#390) Variable "category_name" must not contain underscores.
(#393) Inline comments must start with a capital letter, digit or 3-dots sequence
(#394) Inline comments must end in full-stops, exclamation marks, or question marks
(#395) Variable "category_name" must not contain underscores.
(#401) Variable "active_category_id" must not contain underscores.
(#402) Variable "is_active" must not contain underscores.
(#407) Variable "show_courses" must not contain underscores.
(#414) Inline comments must start with a capital letter, digit or 3-dots sequence
(#414) Inline comments must end in full-stops, exclamation marks, or question marks
(#419) Inline comments must start with a capital letter, digit or 3-dots sequence
(#419) Inline comments must end in full-stops, exclamation marks, or question marks
(#421) Variable "is_active" must not contain underscores.
(#423) Variable "show_modules" must not contain underscores.
(#426) Inline comments must end in full-stops, exclamation marks, or question marks
(#433) Inline comments must start with a capital letter, digit or 3-dots sequence
(#433) Inline comments must end in full-stops, exclamation marks, or question marks
(#435) Inline comments must start with a capital letter, digit or 3-dots sequence
(#435) Inline comments must end in full-stops, exclamation marks, or question marks
(#436) Variable "module_items" must not contain underscores.
(#446) Inline comments must start with a capital letter, digit or 3-dots sequence
(#449) Variable "show_modules" must not contain underscores.
(#450) Inline comments must start with a capital letter, digit or 3-dots sequence
(#450) Inline comments must end in full-stops, exclamation marks, or question marks
(#454) Variable "module_frontpage_items" must not contain underscores.
(#468) Inline comments must end in full-stops, exclamation marks, or question marks
(#474) Visibility must be declared on method "has_config"
blocks/simple_nav/edit_form.php
(#20) Expected MOODLE_INTERNAL check or config.php inclusion
(#51) "require_once" must be immediately followed by an open parenthesis
(#52) Variable "module_names" must not contain underscores.
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) This comment is 60% valid code; is this commented out code?
(#83) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Inline comments must start with a capital letter, digit or 3-dots sequence
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Inline comments must start with a capital letter, digit or 3-dots sequence
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) Inline comments must start with a capital letter, digit or 3-dots sequence
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
(#117) This comment is 70% valid code; is this commented out code?
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) Inline comments must start with a capital letter, digit or 3-dots sequence
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) Variable "module_names" must not contain underscores.
(#138) Variable "module_names" must not contain underscores.
(#138) Variable "module_name" must not contain underscores.
(#139) Variable "module_name" must not contain underscores.
(#140) Variable "module_name" must not contain underscores.
(#144) Variable "module_name" must not contain underscores.
(#144) Variable "module_name" must not contain underscores.
(#145) Variable "module_name" must not contain underscores.
(#147) Variable "module_name" must not contain underscores.
(#150) Variable "module_name" must not contain underscores.
(#151) Variable "module_name" must not contain underscores.
(#160) Variable "module_names" must not contain underscores.
(#160) Variable "module_name" must not contain underscores.
(#162) Variable "module_name" must not contain underscores.
(#163) Variable "module_name" must not contain underscores.
(#167) Variable "module_name" must not contain underscores.
(#167) Variable "module_name" must not contain underscores.
(#168) Variable "module_name" must not contain underscores.
(#170) Variable "module_name" must not contain underscores.
(#172) Variable "module_name" must not contain underscores.
(#174) Variable "module_name" must not contain underscores.
blocks/simple_nav/lang/de/block_simple_nav.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Spaces must be used to indent lines; tabs are not allowed
(#3) Tab found within whitespace
(#3) Whitespace found at end of line
(#23) Whitespace found at end of line
(#24) Whitespace found at end of line
(#25) Inline comments must start with a capital letter, digit or 3-dots sequence
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Whitespace found at end of line
blocks/simple_nav/renderer.php
(#20) Expected MOODLE_INTERNAL check or config.php inclusion
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Line exceeds maximum limit of 180 characters; contains 199 characters
(#96) This comment is 50% valid code; is this commented out code?
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) This comment is 63% valid code; is this commented out code?
(#100) Variable "space_symbol" must not contain underscores.
(#103) Inline comments must start with a capital letter, digit or 3-dots sequence
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#110) This comment is 43% valid code; is this commented out code?
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) Inline comments must start with a capital letter, digit or 3-dots sequence
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) This comment is 43% valid code; is this commented out code?
(#116) Inline comments must start with a capital letter, digit or 3-dots sequence
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) This comment is 43% valid code; is this commented out code?
(#120) Inline comments must start with a capital letter, digit or 3-dots sequence
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) Variable "itemclass_li" must not contain underscores.
(#124) Variable "itemclass_p" must not contain underscores.
(#125) Variable "itemclass_a" must not contain underscores.
(#127) Variable "itemclass_a" must not contain underscores.
(#129) Variable "itemclass_a" must not contain underscores.
(#132) Line indented incorrectly; expected 8 spaces, found 0
(#132) Usage of ELSEIF not allowed; use ELSE IF instead
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) This comment is 50% valid code; is this commented out code?
(#136) Variable "itemclass_li" must not contain underscores.
(#138) Variable "itemclass_p" must not contain underscores.
(#140) Variable "itemclass_a" must not contain underscores.
(#142) Variable "itemclass_a" must not contain underscores.
(#143) Line indented incorrectly; expected 20 spaces, found 12
(#144) Closing brace indented incorrectly; expected 0 spaces, found 8
(#145) Line indented incorrectly; expected 8 spaces, found 0
(#145) Usage of ELSEIF not allowed; use ELSE IF instead
(#147) Variable "itemclass_li" must not contain underscores.
(#148) Variable "itemclass_p" must not contain underscores.
(#149) Variable "itemclass_a" must not contain underscores.
(#150) Closing brace indented incorrectly; expected 0 spaces, found 8
(#151) Line indented incorrectly; expected 8 spaces, found 0
(#151) Usage of ELSEIF not allowed; use ELSE IF instead
(#153) Variable "itemclass_li" must not contain underscores.
(#154) Variable "itemclass_p" must not contain underscores.
(#155) Variable "itemclass_a" must not contain underscores.
(#156) Closing brace indented incorrectly; expected 0 spaces, found 8
(#157) Line indented incorrectly; expected 8 spaces, found 0
(#157) Usage of ELSEIF not allowed; use ELSE IF instead
(#159) Variable "itemclass_li" must not contain underscores.
(#160) Variable "itemclass_p" must not contain underscores.
(#161) Variable "itemclass_a" must not contain underscores.
(#164) Variable "itemclass_a" must not contain underscores.
(#166) Variable "itemclass_a" must not contain underscores.
(#167) Line indented incorrectly; expected 20 spaces, found 12
(#168) Line indented incorrectly; expected at least 20 spaces, found 12
(#169) Line indented incorrectly; expected at least 20 spaces, found 12
(#170) Line indented incorrectly; expected at least 20 spaces, found 12
(#171) Line indented incorrectly; expected 20 spaces, found 12
(#172) Line indented incorrectly; expected at least 24 spaces, found 16
(#173) Line indented incorrectly; expected at least 24 spaces, found 16
(#175) Line indented incorrectly; expected 20 spaces, found 12
(#176) Line indented incorrectly; expected at least 24 spaces, found 16
(#177) Line indented incorrectly; expected at least 24 spaces, found 16
(#178) Line exceeds 132 characters; contains 134 characters
(#179) Line indented incorrectly; expected 20 spaces, found 12
(#180) Line indented incorrectly; expected at least 24 spaces, found 16
(#181) Line indented incorrectly; expected at least 24 spaces, found 16
(#182) Line exceeds 132 characters; contains 139 characters
(#183) Line indented incorrectly; expected 20 spaces, found 12
(#184) Closing brace indented incorrectly; expected 0 spaces, found 8
(#188) Variable "itemclass_li" must not contain underscores.
(#192) Variable "itemclass_p" must not contain underscores.
(#202) Variable "itemclass_a" must not contain underscores.
blocks/simple_nav/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#17) Whitespace found at end of line
(#18) Whitespace found at end of line
(#21) Whitespace found at end of line
blocks/simple_nav/version.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#26) Expected 1 space after "="; 2 found

Javascript coding style problems

(2 errors, 0 warnings)

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

blocks/simple_nav/amd/src/navblock.js
(#26) Trailing spaces not allowed. (no-trailing-spaces)
(#36) Trailing spaces not allowed. (no-trailing-spaces)

CSS problems

(223 errors, 5 warnings)

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

blocks/simple_nav/styles.css
(#2) Expected newline before "}" (block-closing-brace-newline-before)
(#3) Expected newline before "}" (block-closing-brace-newline-before)
(#4) Expected newline before "}" (block-closing-brace-newline-before)
(#5) Expected newline before "}" (block-closing-brace-newline-before)
(#6) Expected newline before "}" (block-closing-brace-newline-before)
(#7) Expected newline before "}" (block-closing-brace-newline-before)
(#8) Expected newline before "}" (block-closing-brace-newline-before)
(#10) Expected newline before "}" (block-closing-brace-newline-before)
(#11) Expected newline before "}" (block-closing-brace-newline-before)
(#13) Expected newline before "}" (block-closing-brace-newline-before)
(#14) Expected newline before "}" (block-closing-brace-newline-before)
(#16) Expected newline before "}" (block-closing-brace-newline-before)
(#17) Expected newline before "}" (block-closing-brace-newline-before)
(#18) Expected newline before "}" (block-closing-brace-newline-before)
(#19) Expected newline before "}" (block-closing-brace-newline-before)
(#20) Expected newline before "}" (block-closing-brace-newline-before)
(#21) Expected newline before "}" (block-closing-brace-newline-before)
(#22) Expected newline before "}" (block-closing-brace-newline-before)
(#24) Expected newline before "}" (block-closing-brace-newline-before)
(#26) Expected newline before "}" (block-closing-brace-newline-before)
(#27) Expected newline before "}" (block-closing-brace-newline-before)
(#28) Expected newline before "}" (block-closing-brace-newline-before)
(#29) Expected newline before "}" (block-closing-brace-newline-before)
(#30) Expected newline before "}" (block-closing-brace-newline-before)
(#31) Expected newline before "}" (block-closing-brace-newline-before)
(#32) Expected newline before "}" (block-closing-brace-newline-before)
(#36) Expected newline before "}" (block-closing-brace-newline-before)
(#37) Expected newline before "}" (block-closing-brace-newline-before)
(#40) Expected newline before "}" (block-closing-brace-newline-before)
(#43) Expected newline before "}" (block-closing-brace-newline-before)
(#44) Expected newline before "}" (block-closing-brace-newline-before)
(#46) Expected newline before "}" (block-closing-brace-newline-before)
(#51) Expected newline before "}" (block-closing-brace-newline-before)
(#54) Expected newline before "}" (block-closing-brace-newline-before)
(#56) Expected newline before "}" (block-closing-brace-newline-before)
(#57) Expected newline before "}" (block-closing-brace-newline-before)
(#2) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#3) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#4) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#5) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#6) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#7) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#8) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#10) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#11) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#13) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#14) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#16) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#17) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#18) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#19) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#20) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#21) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#22) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#24) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#26) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#27) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#28) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#29) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#30) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#31) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#32) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#36) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#37) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#40) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#43) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#44) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#46) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#51) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#54) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#56) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#57) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#2) Expected newline after "{" (block-opening-brace-newline-after)
(#3) Expected newline after "{" (block-opening-brace-newline-after)
(#4) Expected newline after "{" (block-opening-brace-newline-after)
(#5) Expected newline after "{" (block-opening-brace-newline-after)
(#6) Expected newline after "{" (block-opening-brace-newline-after)
(#7) Expected newline after "{" (block-opening-brace-newline-after)
(#8) Expected newline after "{" (block-opening-brace-newline-after)
(#10) Expected newline after "{" (block-opening-brace-newline-after)
(#11) Expected newline after "{" (block-opening-brace-newline-after)
(#13) Expected newline after "{" (block-opening-brace-newline-after)
(#14) Expected newline after "{" (block-opening-brace-newline-after)
(#16) Expected newline after "{" (block-opening-brace-newline-after)
(#17) Expected newline after "{" (block-opening-brace-newline-after)
(#18) Expected newline after "{" (block-opening-brace-newline-after)
(#19) Expected newline after "{" (block-opening-brace-newline-after)
(#20) Expected newline after "{" (block-opening-brace-newline-after)
(#21) Expected newline after "{" (block-opening-brace-newline-after)
(#22) Expected newline after "{" (block-opening-brace-newline-after)
(#24) Expected newline after "{" (block-opening-brace-newline-after)
(#26) Expected newline after "{" (block-opening-brace-newline-after)
(#27) Expected newline after "{" (block-opening-brace-newline-after)
(#28) Expected newline after "{" (block-opening-brace-newline-after)
(#29) Expected newline after "{" (block-opening-brace-newline-after)
(#30) Expected newline after "{" (block-opening-brace-newline-after)
(#31) Expected newline after "{" (block-opening-brace-newline-after)
(#32) Expected newline after "{" (block-opening-brace-newline-after)
(#36) Expected newline after "{" (block-opening-brace-newline-after)
(#37) Expected newline after "{" (block-opening-brace-newline-after)
(#40) Expected newline after "{" (block-opening-brace-newline-after)
(#43) Expected newline after "{" (block-opening-brace-newline-after)
(#44) Expected newline after "{" (block-opening-brace-newline-after)
(#46) Expected newline after "{" (block-opening-brace-newline-after)
(#51) Expected newline after "{" (block-opening-brace-newline-after)
(#54) Expected newline after "{" (block-opening-brace-newline-after)
(#56) Expected newline after "{" (block-opening-brace-newline-after)
(#57) Expected newline after "{" (block-opening-brace-newline-after)
(#2) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#3) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#4) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#5) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#6) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#7) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#8) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#13) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#14) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#16) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#17) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#18) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#19) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#20) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#21) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#22) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#24) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#26) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#27) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#28) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#29) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#30) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#31) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#32) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#36) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#37) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#40) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#43) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#44) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#46) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#51) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#54) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#56) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#57) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#29) Expected single space before "{" (block-opening-brace-space-before)
(#30) Expected single space before "{" (block-opening-brace-space-before)
(#59) Expected single space before "{" (block-opening-brace-space-before)
(#2) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#2) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#3) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#3) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#5) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#5) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#5) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#13) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#14) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#14) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#16) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#16) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#17) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#18) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#19) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#27) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#27) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#43) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#44) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#54) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#56) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#2) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#3) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#5) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#6) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#13) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#14) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#16) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#17) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#18) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#19) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#27) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#43) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#44) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#54) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#56) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#2) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#2) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#2) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#3) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#3) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#4) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#5) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#5) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#5) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#5) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#6) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#8) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#11) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#13) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#13) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#14) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#14) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#17) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#17) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#18) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#18) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#19) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#19) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#20) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#21) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#22) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#26) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#29) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#30) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#32) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#36) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#37) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#40) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#43) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#44) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#51) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#54) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#54) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#60) Expected indentation of 4 spaces (indentation)
(#2) Unexpected unit (length-zero-no-unit)
(#14) Unexpected unit (length-zero-no-unit)
(#20) Unexpected unit (length-zero-no-unit)
(#16) Expected line length to be no more than 132 characters (max-line-length)
(#27) Expected line length to be no more than 132 characters (max-line-length)
(#16) Expected newline after "," (selector-list-comma-newline-after)
(#27) Expected newline after "," (selector-list-comma-newline-after)
(#59) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(20 errors, 2 warnings)

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

blocks/simple_nav/block_simple_nav.php
(#15) File-level phpdocs block is not found
(#52) Function block_simple_nav::simple_nav_get_courses is not documented
(#61) Function block_simple_nav::init is not documented
(#474) Function block_simple_nav::has_config is not documented
(#183) Phpdocs for function block_simple_nav::simple_nav_get_class_if_active has incomplete parameters list
(#20) Package blocks is not valid
blocks/simple_nav/db/access.php
(#20) Package block_navigation is not valid
blocks/simple_nav/edit_form.php
(#17) File-level phpdocs block is not found
(#44) Phpdocs for function block_simple_nav_edit_form::specific_definition has incomplete parameters list
(#17) Class block_simple_nav_edit_form does not have @copyright tag
(#17) Class block_simple_nav_edit_form does not have @license tag
(#17) Package is not specified for class block_simple_nav_edit_form. It is also not specified in file-level phpdocs
blocks/simple_nav/lang/de/block_simple_nav.php
(#2) Empty line found after PHP open tag
(#4) File-level phpdocs block is not found
blocks/simple_nav/lang/en/block_simple_nav.php
(#18) File-level phpdocs block is not found
blocks/simple_nav/renderer.php
(#17) File-level phpdocs block is not found
(#22) Function block_simple_nav_renderer::simple_nav_tree is not documented
(#17) Class block_simple_nav_renderer does not have @copyright tag
(#17) Class block_simple_nav_renderer does not have @license tag
(#17) Package is not specified for class block_simple_nav_renderer. It is also not specified in file-level phpdocs
blocks/simple_nav/settings.php
(#2) Empty line found after PHP open tag
blocks/simple_nav/version.php
(#19) Package block 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]


grunt changes

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

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]