Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(421 errors, 0 warnings)

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

course/format/tiles/backup/moodle2/backup_format_tiles_plugin.class.php
(#36) Opening brace must not be followed by a blank line
course/format/tiles/backup/moodle2/restore_format_tiles_plugin.class.php
(#39) Opening brace must not be followed by a blank line
(#71) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#72) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#75) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#75) Closing parenthesis of a multi-line function call must be on a line by itself
(#107) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#173) Opening parenthesis of a multi-line function call must be the last content on the line
(#173) Only one argument is allowed per line in a multi-line function call
(#181) Only one argument is allowed per line in a multi-line function call
(#181) Only one argument is allowed per line in a multi-line function call
(#181) Only one argument is allowed per line in a multi-line function call
(#248) Opening parenthesis of a multi-line function call must be the last content on the line
(#276) Opening parenthesis of a multi-line function call must be the last content on the line
(#276) Only one argument is allowed per line in a multi-line function call
(#276) Only one argument is allowed per line in a multi-line function call
(#277) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#277) Closing parenthesis of a multi-line function call must be on a line by itself
(#278) Opening parenthesis of a multi-line function call must be the last content on the line
(#278) Only one argument is allowed per line in a multi-line function call
(#278) Only one argument is allowed per line in a multi-line function call
(#279) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#279) Closing parenthesis of a multi-line function call must be on a line by itself
(#306) Opening parenthesis of a multi-line function call must be the last content on the line
(#307) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#307) Closing parenthesis of a multi-line function call must be on a line by itself
(#334) Only one argument is allowed per line in a multi-line function call
(#400) Only one argument is allowed per line in a multi-line function call
(#400) Only one argument is allowed per line in a multi-line function call
(#401) Expected at least 1 space before "."; 0 found
(#402) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#402) Closing parenthesis of a multi-line function call must be on a line by itself
course/format/tiles/classes/courseformat/stateactions.php
(#31) Opening brace must not be followed by a blank line
(#44) Expected 1 space between type hint and argument "$course"; 5 found
(#45) Expected 1 space between type hint and argument "$ids"; 8 found
(#46) Expected 1 space between type hint and argument "$targetsectionid"; 9 found
(#47) Expected 1 space between type hint and argument "$targetcmid"; 9 found
(#51) Only one argument is allowed per line in a multi-line function call
(#51) Only one argument is allowed per line in a multi-line function call
(#51) Only one argument is allowed per line in a multi-line function call
(#51) Only one argument is allowed per line in a multi-line function call
(#73) Only one argument is allowed per line in a multi-line function call
(#73) Only one argument is allowed per line in a multi-line function call
(#73) Only one argument is allowed per line in a multi-line function call
(#73) Only one argument is allowed per line in a multi-line function call
course/format/tiles/classes/external/external.php
(#48) Opening brace must not be followed by a blank line
(#69) Multi-line function declarations must define one parameter per line
(#69) Multi-line function declarations must define one parameter per line
(#69) Multi-line function declarations must define one parameter per line
(#69) Multi-line function declarations must define one parameter per line
(#69) Multi-line function declarations must define one parameter per line
(#73) Opening parenthesis of a multi-line function call must be the last content on the line
(#85) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#85) Opening parenthesis of a multi-line function call must be the last content on the line
(#86) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#86) Closing parenthesis of a multi-line function call must be on a line by itself
(#86) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#156) Expected at least 1 space after "."; 0 found
(#195) Only one argument is allowed per line in a multi-line function call
(#195) Only one argument is allowed per line in a multi-line function call
(#215) Expected at least 1 space after "&&"; 0 found
(#231) Expected at least 1 space after "."; 0 found
(#239) Only one argument is allowed per line in a multi-line function call
(#239) Only one argument is allowed per line in a multi-line function call
(#261) Parentheses must be used when instantiating a new class
(#272) Only one argument is allowed per line in a multi-line function call
(#344) Only one argument is allowed per line in a multi-line function call
(#344) Only one argument is allowed per line in a multi-line function call
(#344) Only one argument is allowed per line in a multi-line function call
(#347) Only one argument is allowed per line in a multi-line function call
(#347) Only one argument is allowed per line in a multi-line function call
(#347) Only one argument is allowed per line in a multi-line function call
(#464) Parentheses must be used when instantiating a new class
(#715) Only one argument is allowed per line in a multi-line function call
(#715) Only one argument is allowed per line in a multi-line function call
(#715) Only one argument is allowed per line in a multi-line function call
(#718) Only one argument is allowed per line in a multi-line function call
(#718) Expected at least 1 space before "."; 0 found
(#718) Only one argument is allowed per line in a multi-line function call
course/format/tiles/classes/form/upload_image_form.php
(#38) Opening brace must not be followed by a blank line
(#55) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#56) Expected 0 spaces before closing parenthesis; newline found
(#65) Only one argument is allowed per line in a multi-line function call
(#73) Opening parenthesis of a multi-line function call must be the last content on the line
course/format/tiles/classes/hooks/output/before_footer_html_generation.php
(#26) Opening brace must not be followed by a blank line
(#77) Only one argument is allowed per line in a multi-line function call
(#78) Multi-line function call not indented correctly; expected 20 spaces but found 16
(#90) Blank line found at end of control structure
course/format/tiles/classes/hooks/output/standard_head_html_prepend.php
(#26) Opening brace must not be followed by a blank line
course/format/tiles/classes/local/admin_settingspage_tabs.php
(#33) Opening brace must not be followed by a blank line
(#46) Expected at least 1 space before "."; 0 found
(#46) Expected at least 1 space after "."; 0 found
(#84) Space found before comma in argument list
(#84) Expected no space between "'format_tiles/'" and the comma. Found: 1 space
(#88) Expected 0 spaces before closing bracket; 1 found
(#101) Expected 1 blank line at end of file; 2 found
course/format/tiles/classes/local/course_section_manager.php
(#32) Opening brace must not be followed by a blank line
course/format/tiles/classes/local/dynamic_styles.php
(#33) Opening brace must not be followed by a blank line
(#72) Parentheses must be used when instantiating a new class
(#126) Only one argument is allowed per line in a multi-line function call
(#129) Only one argument is allowed per line in a multi-line function call
(#148) Long list syntax is not allowed
course/format/tiles/classes/local/filters.php
(#33) Opening brace must not be followed by a blank line
course/format/tiles/classes/local/format_option.php
(#32) Opening brace must not be followed by a blank line
(#217) Expected 1 space after FUNCTION keyword; 0 found
(#219) Only one argument is allowed per line in a multi-line function call
(#228) Expected 1 space after FUNCTION keyword; 0 found
(#230) Only one argument is allowed per line in a multi-line function call
(#356) Expected 1 space after FUNCTION keyword; 0 found
(#396) Blank line found at start of control structure
(#456) Multi-line function declaration not indented correctly; expected 8 spaces but found 12
(#456) Multi-line function declarations must define one parameter per line
(#456) Multi-line function declarations must define one parameter per line
(#456) The closing parenthesis of a multi-line function declaration must be on a new line
(#468) Only one argument is allowed per line in a multi-line function call
(#468) Only one argument is allowed per line in a multi-line function call
(#468) Only one argument is allowed per line in a multi-line function call
(#551) Multi-line function call not indented correctly; expected 12 spaces but found 8
course/format/tiles/classes/local/icon_set.php
(#32) Opening brace must not be followed by a blank line
course/format/tiles/classes/local/image_processor.php
(#38) Opening brace must not be followed by a blank line
(#52) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#52) Multi-line function declarations must define one parameter per line
(#53) Multi-line function declaration not indented correctly; expected 8 spaces but found 48
(#53) Multi-line function declarations must define one parameter per line
(#53) Multi-line function declarations must define one parameter per line
(#53) Multi-line function declarations must define one parameter per line
(#53) The closing parenthesis of a multi-line function declaration must be on a new line
(#164) Opening parenthesis of a multi-line function call must be the last content on the line
(#164) Only one argument is allowed per line in a multi-line function call
(#164) Only one argument is allowed per line in a multi-line function call
(#164) Only one argument is allowed per line in a multi-line function call
(#164) Only one argument is allowed per line in a multi-line function call
(#164) Only one argument is allowed per line in a multi-line function call
(#164) Only one argument is allowed per line in a multi-line function call
(#164) Only one argument is allowed per line in a multi-line function call
(#164) Only one argument is allowed per line in a multi-line function call
(#165) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#165) Closing parenthesis of a multi-line function call must be on a line by itself
(#167) Expected 1 space after SWITCH keyword; 0 found
(#262) Expected at least 1 space before "."; 0 found
(#262) Expected at least 1 space after "."; 0 found
(#262) Expected at least 1 space before "."; 0 found
(#262) Expected at least 1 space after "."; 0 found
course/format/tiles/classes/local/modal_helper.php
(#32) Opening brace must not be followed by a blank line
(#41) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#42) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#84) Long list syntax is not allowed
(#103) Long list syntax is not allowed
(#112) Only one argument is allowed per line in a multi-line function call
(#128) Expected 1 space after FUNCTION keyword; 0 found
course/format/tiles/classes/local/tile_photo.php
(#32) Opening brace must not be followed by a blank line
(#420) Long list syntax is not allowed
(#468) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#469) Each line in a multi-line control structure must be indented at least once; expected at least 16 spaces, but found 12
(#469) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#530) Expected 1 blank line at end of file; 2 found
course/format/tiles/classes/local/util.php
(#32) Opening brace must not be followed by a blank line
(#314) Only one argument is allowed per line in a multi-line function call
(#387) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#388) The closing parenthesis of a multi-line control structure must be on the line after the last expression
course/format/tiles/classes/local/video_cm.php
(#32) Opening brace must not be followed by a blank line
(#157) Expected 1 blank line at end of file; 2 found
course/format/tiles/classes/output/course_header_content.php
(#31) Opening brace must not be followed by a blank line
course/format/tiles/classes/output/course_output.php
(#33) Expected at least 1 space after "."; 0 found
(#40) Opening brace must not be followed by a blank line
(#155) Only one argument is allowed per line in a multi-line function call
(#193) Blank line found at end of control structure
(#281) Opening parenthesis of a multi-line function call must be the last content on the line
(#281) Only one argument is allowed per line in a multi-line function call
(#282) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#282) Only one argument is allowed per line in a multi-line function call
(#282) Only one argument is allowed per line in a multi-line function call
(#282) Only one argument is allowed per line in a multi-line function call
(#282) Closing parenthesis of a multi-line function call must be on a line by itself
(#518) Only one argument is allowed per line in a multi-line function call
(#580) Opening parenthesis of a multi-line function call must be the last content on the line
(#580) Only one argument is allowed per line in a multi-line function call
(#665) Only one argument is allowed per line in a multi-line function call
(#665) Only one argument is allowed per line in a multi-line function call
(#745) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#994) Expected at least 1 space before "&&"; 0 found
(#1053) Only one argument is allowed per line in a multi-line function call
(#1053) Only one argument is allowed per line in a multi-line function call
(#1058) Only one argument is allowed per line in a multi-line function call
(#1058) Only one argument is allowed per line in a multi-line function call
(#1156) Only one argument is allowed per line in a multi-line function call
course/format/tiles/classes/output/courseformat/content.php
(#37) Opening brace must not be followed by a blank line
(#63) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#64) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#83) Multi-line function call not indented correctly; expected 20 spaces but found 16
(#84) Multi-line function call not indented correctly; expected 20 spaces but found 16
(#85) Multi-line function call not indented correctly; expected 16 spaces but found 12
(#89) Multi-line function call not indented correctly; expected 20 spaces but found 18
(#90) Multi-line function call not indented correctly; expected 20 spaces but found 18
course/format/tiles/classes/output/courseformat/content/cm.php
(#36) Opening brace must not be followed by a blank line
course/format/tiles/classes/output/courseformat/content/cm/cmicon.php
(#34) Opening brace must not be followed by a blank line
course/format/tiles/classes/output/courseformat/content/cm/controlmenu.php
(#34) Opening brace must not be followed by a blank line
course/format/tiles/classes/output/courseformat/content/section.php
(#38) Opening brace must not be followed by a blank line
(#66) Blank line found at end of control structure
(#70) Only one argument is allowed per line in a multi-line function call
(#70) Only one argument is allowed per line in a multi-line function call
course/format/tiles/classes/output/courseformat/content/section/cmitem.php
(#37) Opening brace must not be followed by a blank line
course/format/tiles/classes/output/courseformat/content/section/controlmenu.php
(#41) Opening brace must not be followed by a blank line
course/format/tiles/classes/output/courseformat/content/section/header.php
(#34) Opening brace must not be followed by a blank line
course/format/tiles/classes/output/renderer.php
(#27) Opening brace must not be followed by a blank line
(#164) Only one argument is allowed per line in a multi-line function call
(#164) Only one argument is allowed per line in a multi-line function call
course/format/tiles/classes/output/section_renderer.php
(#34) Opening brace must not be followed by a blank line
course/format/tiles/classes/privacy/provider.php
(#59) The first item in a multi-line implements list must be on the line following the implements keyword
(#85) Opening parenthesis of a multi-line function call must be the last content on the line
(#85) Only one argument is allowed per line in a multi-line function call
(#86) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#86) Only one argument is allowed per line in a multi-line function call
(#86) Closing parenthesis of a multi-line function call must be on a line by itself
(#90) Function closing brace must go on the next line following the body; found 1 blank lines before brace
course/format/tiles/classes/task/migrate_legacy_data.php
(#34) Opening brace must not be followed by a blank line
course/format/tiles/db/upgrade.php
(#43) Blank line found at start of control structure
(#60) Opening parenthesis of a multi-line function call must be the last content on the line
(#60) Only one argument is allowed per line in a multi-line function call
(#60) Only one argument is allowed per line in a multi-line function call
(#61) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#61) Closing parenthesis of a multi-line function call must be on a line by itself
(#64) Opening parenthesis of a multi-line function call must be the last content on the line
(#64) Only one argument is allowed per line in a multi-line function call
(#64) Only one argument is allowed per line in a multi-line function call
(#65) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#65) Closing parenthesis of a multi-line function call must be on a line by itself
(#88) Only one argument is allowed per line in a multi-line function call
(#88) Only one argument is allowed per line in a multi-line function call
(#88) Only one argument is allowed per line in a multi-line function call
(#91) Only one argument is allowed per line in a multi-line function call
(#91) Only one argument is allowed per line in a multi-line function call
(#91) Only one argument is allowed per line in a multi-line function call
(#97) Only one argument is allowed per line in a multi-line function call
(#97) Only one argument is allowed per line in a multi-line function call
(#100) Only one argument is allowed per line in a multi-line function call
(#100) Only one argument is allowed per line in a multi-line function call
(#162) Blank line found at start of control structure
course/format/tiles/db/upgradelib.php
(#128) Long list syntax is not allowed
course/format/tiles/editor/admintools.php
(#79) Only one argument is allowed per line in a multi-line function call
(#108) Only one argument is allowed per line in a multi-line function call
(#108) Only one argument is allowed per line in a multi-line function call
(#112) Long list syntax is not allowed
(#138) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#139) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#142) Only one argument is allowed per line in a multi-line function call
(#142) Only one argument is allowed per line in a multi-line function call
(#155) Only one argument is allowed per line in a multi-line function call
(#155) Only one argument is allowed per line in a multi-line function call
(#194) Multi-line function call not indented correctly; expected 12 spaces but found 8
course/format/tiles/editor/editimage.php
(#144) Blank line found at start of control structure
course/format/tiles/editor/migratecoursedata.php
(#85) Only one argument is allowed per line in a multi-line function call
(#110) Multi-line function call not indented correctly; expected 4 spaces but found 0
(#138) Opening parenthesis of a multi-line function call must be the last content on the line
(#139) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#139) Closing parenthesis of a multi-line function call must be on a line by itself
(#155) Expected 1 space after comma in argument list; 2 found
(#155) Expected 1 space between the comma and "count". Found: 2 spaces
course/format/tiles/editor/reset.php
(#42) Space found before comma in argument list
(#42) Expected no space between ")" and the comma. Found: 1 space
(#55) Multi-line function call not indented correctly; expected 8 spaces but found 4
course/format/tiles/lib.php
(#38) Opening brace must not be followed by a blank line
(#175) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#177) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#201) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#202) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#241) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#369) Parentheses must be used when instantiating a new class
(#566) Opening parenthesis of a multi-line function call must be the last content on the line
(#775) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#775) Multi-line function declarations must define one parameter per line
(#776) Multi-line function declaration not indented correctly; expected 8 spaces but found 57
(#776) Multi-line function declarations must define one parameter per line
(#776) Multi-line function declarations must define one parameter per line
(#776) The closing parenthesis of a multi-line function declaration must be on a new line
(#897) Only one argument is allowed per line in a multi-line function call
(#940) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#940) Only one argument is allowed per line in a multi-line function call
(#940) Closing parenthesis of a multi-line function call must be on a line by itself
(#983) Expected at least 1 space after "."; 0 found
(#1010) Only one argument is allowed per line in a multi-line function call
(#1010) Only one argument is allowed per line in a multi-line function call
(#1010) Only one argument is allowed per line in a multi-line function call
(#1010) Only one argument is allowed per line in a multi-line function call
(#1017) Only one argument is allowed per line in a multi-line function call
(#1017) Only one argument is allowed per line in a multi-line function call
(#1018) Only one argument is allowed per line in a multi-line function call
(#1074) Blank line found at end of control structure
(#1081) Long list syntax is not allowed
course/format/tiles/mod_view.php
(#32) Long list syntax is not allowed
(#56) Only one argument is allowed per line in a multi-line function call
(#56) Only one argument is allowed per line in a multi-line function call
(#56) Only one argument is allowed per line in a multi-line function call
(#57) Only one argument is allowed per line in a multi-line function call
(#57) Only one argument is allowed per line in a multi-line function call
(#57) Only one argument is allowed per line in a multi-line function call
(#57) Only one argument is allowed per line in a multi-line function call
course/format/tiles/renderer.php
(#25) Opening brace must not be followed by a blank line
course/format/tiles/settings.php
(#31) Only one argument is allowed per line in a multi-line function call
(#106) Expected 1 space after FUNCTION keyword; 0 found
(#177) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#177) Closing parenthesis of a multi-line function call must be on a line by itself
(#188) Opening parenthesis of a multi-line function call must be the last content on the line
(#188) Only one argument is allowed per line in a multi-line function call
(#189) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#189) Closing parenthesis of a multi-line function call must be on a line by itself
(#202) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#202) Closing parenthesis of a multi-line function call must be on a line by itself
(#215) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#215) Closing parenthesis of a multi-line function call must be on a line by itself
(#228) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#228) Closing parenthesis of a multi-line function call must be on a line by itself
(#277) Opening parenthesis of a multi-line function call must be the last content on the line
(#277) Only one argument is allowed per line in a multi-line function call
(#278) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#278) Closing parenthesis of a multi-line function call must be on a line by itself
(#339) Only one argument is allowed per line in a multi-line function call
(#339) Only one argument is allowed per line in a multi-line function call
course/format/tiles/tests/behat/behat_format_tiles.php
(#38) Opening brace must not be followed by a blank line
(#90) Only one argument is allowed per line in a multi-line function call
(#123) Only one argument is allowed per line in a multi-line function call
(#145) Only one argument is allowed per line in a multi-line function call
(#227) Multi-line function call not indented correctly; expected 16 spaces but found 12
(#228) Expected at least 1 space before "."; 0 found
(#357) Opening parenthesis of a multi-line function call must be the last content on the line
(#415) Expected at least 1 space before "."; 0 found
(#490) Only one argument is allowed per line in a multi-line function call
(#498) Opening parenthesis of a multi-line function call must be the last content on the line
(#541) Expected 1 space after comma in argument list; 2 found
(#541) Expected 1 space between the comma and "$this". Found: 2 spaces
(#541) Only one argument is allowed per line in a multi-line function call
(#547) Expected 1 space after comma in argument list; 2 found
(#547) Expected 1 space between the comma and "$this". Found: 2 spaces
(#547) Only one argument is allowed per line in a multi-line function call
(#551) Only one argument is allowed per line in a multi-line function call
(#551) Only one argument is allowed per line in a multi-line function call
(#551) Only one argument is allowed per line in a multi-line function call
(#604) Only one argument is allowed per line in a multi-line function call
(#604) Only one argument is allowed per line in a multi-line function call
(#604) Only one argument is allowed per line in a multi-line function call
(#607) Only one argument is allowed per line in a multi-line function call
(#607) Only one argument is allowed per line in a multi-line function call
course/format/tiles/tests/format_tiles_course_format_options_test.php
(#34) Opening brace must not be followed by a blank line
(#85) Only one argument is allowed per line in a multi-line function call
(#85) Only one argument is allowed per line in a multi-line function call
(#91) Only one argument is allowed per line in a multi-line function call
(#91) Only one argument is allowed per line in a multi-line function call
(#91) Only one argument is allowed per line in a multi-line function call
(#91) Only one argument is allowed per line in a multi-line function call
(#91) Only one argument is allowed per line in a multi-line function call
(#100) Only one argument is allowed per line in a multi-line function call
(#100) Only one argument is allowed per line in a multi-line function call
(#104) Only one argument is allowed per line in a multi-line function call
(#104) Only one argument is allowed per line in a multi-line function call
(#188) Only one argument is allowed per line in a multi-line function call
(#188) Only one argument is allowed per line in a multi-line function call
course/format/tiles/tests/format_tiles_externallib_test.php
(#42) Opening brace must not be followed by a blank line
(#83) Opening parenthesis of a multi-line function call must be the last content on the line
(#85) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#85) Closing parenthesis of a multi-line function call must be on a line by itself
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Only one argument is allowed per line in a multi-line function call
(#94) Only one argument is allowed per line in a multi-line function call
(#102) Only one argument is allowed per line in a multi-line function call
(#102) Only one argument is allowed per line in a multi-line function call
(#111) Only one argument is allowed per line in a multi-line function call
(#111) Only one argument is allowed per line in a multi-line function call
(#111) Only one argument is allowed per line in a multi-line function call
(#117) Opening parenthesis of a multi-line function call must be the last content on the line
(#119) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#119) Closing parenthesis of a multi-line function call must be on a line by itself
(#150) Opening parenthesis of a multi-line function call must be the last content on the line
(#152) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#152) Closing parenthesis of a multi-line function call must be on a line by itself
(#159) Only one argument is allowed per line in a multi-line function call
(#171) Opening parenthesis of a multi-line function call must be the last content on the line
(#173) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#173) Closing parenthesis of a multi-line function call must be on a line by itself
(#178) Only one argument is allowed per line in a multi-line function call
(#193) Only one argument is allowed per line in a multi-line function call
course/format/tiles/tests/format_tiles_test.php
(#39) Opening brace must not be followed by a blank line
(#69) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#69) Closing parenthesis of a multi-line function call must be on a line by itself
(#81) Only one argument is allowed per line in a multi-line function call
(#81) Only one argument is allowed per line in a multi-line function call
(#81) Only one argument is allowed per line in a multi-line function call
(#102) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#102) Closing parenthesis of a multi-line function call must be on a line by itself
(#161) Blank line found at end of control structure
(#187) Opening parenthesis of a multi-line function call must be the last content on the line
(#188) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#188) Closing parenthesis of a multi-line function call must be on a line by itself
(#313) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#313) Closing parenthesis of a multi-line function call must be on a line by itself
(#337) Only one argument is allowed per line in a multi-line function call
(#352) Only one argument is allowed per line in a multi-line function call
(#367) Only one argument is allowed per line in a multi-line function call
(#385) Only one argument is allowed per line in a multi-line function call
(#403) Only one argument is allowed per line in a multi-line function call
(#421) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#421) Closing parenthesis of a multi-line function call must be on a line by itself
(#435) Only one argument is allowed per line in a multi-line function call
(#453) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#464) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#464) Closing parenthesis of a multi-line function call must be on a line by itself
(#474) Only one argument is allowed per line in a multi-line function call
(#492) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#492) Closing parenthesis of a multi-line function call must be on a line by itself
course/format/tiles/tests/helperlib.php
(#51) Parentheses must be used when instantiating a new class
(#86) Only one argument is allowed per line in a multi-line function call
(#87) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#87) Only one argument is allowed per line in a multi-line function call
(#87) Closing parenthesis of a multi-line function call must be on a line by itself
(#115) Only one argument is allowed per line in a multi-line function call
(#115) Only one argument is allowed per line in a multi-line function call
(#124) Only one argument is allowed per line in a multi-line function call
(#124) Only one argument is allowed per line in a multi-line function call
(#156) Only one argument is allowed per line in a multi-line function call
(#156) Only one argument is allowed per line in a multi-line function call

Javascript coding style problems

(0 errors, 4 warnings)

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

course/format/tiles/amd/src/completion.js
(#77) Do not nest ternary expressions. (no-nested-ternary)
course/format/tiles/amd/src/course.js
(#421) There should be no space after '{'. (@babel/object-curly-spacing)
(#421) There should be no space before '}'. (@babel/object-curly-spacing)
(#714) Function has a complexity of 21. Maximum allowed is 20. (complexity)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 0 warnings)

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


Update savepoints problems

(0 errors, 1 warnings)

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

course/format/tiles/db/upgrade.php
Detected fewer 'if' blocks (6) than 'savepoint' calls (7). Repeated savepoints?

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, 17 warnings)

This section shows problems detected in mustache templates [More info]

course/format/tiles/templates/above_tiles_buttons.mustache
(#1) Example context missing (@template section not found.)
course/format/tiles/templates/course_module.mustache
(#1) HTML Validation error, line 12: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (y> <li class="activity fullwidth label modtype_label cursorpointer " id="module-123456" data-modtype="label" data-cmid="123456" data-completion="" data-modinstance="" data-contextid="" data-title="" data-modal="pdf" data-completion-state="1" > )
course/format/tiles/templates/course_module_subtile_inner.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 12: Empty heading. ( <h5></h5>)
course/format/tiles/templates/course_modules.mustache
(#1) HTML Validation error, line 13: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) ( <li class="activity fullwidth label modtype_label cursorpointer " id="module-123456" data-modtype="label" data-cmid="123456" data-completion="" data-modinstance="" data-contextid="" data-title="" data-modal="pdf" data-completion-state="1" > )
course/format/tiles/templates/course_modules_subsection.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 25: Element “h” not allowed as child of element “div” in this context. (Suppressing further errors from this subtree.) (> <h class="h4 sectionname course-content-item d-flex align-self-stretch align-items-center mb-0" id="sectionid--title" data-for="section_title" data-id="" data-number=""> )
course/format/tiles/templates/local/content/section.mustache
(#1) HTML Validation error, line 12: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><li id="section-3" class="section course-section main clearfix current tilestyle- " data-sectionid="3" data-sectionreturnid="0" data-for="section" data-id="35" data-number="3"> <)
(#1) HTML Validation error, line 143: Duplicate ID “cmCheckbox”. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" > )
(#1) HTML Validation info, line 94: The first occurrence of ID “cmCheckbox” was here. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" > )
course/format/tiles/templates/local/content/section/cmitem.mustache
(#1) HTML Validation error, line 15: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><li class="activity activity-wrapper forum modtype_forum unclickable mod_ newmessages " id="module-3" data-for="cmitem" data-id="3" data-cmid="" data-contextid="" data-modinstance="" data-modtype="" data-title="" data-completion=""> )
course/format/tiles/templates/local/content/section/cmlist.mustache
(#1) HTML Validation error, line 74: Duplicate ID “cmCheckbox”. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" > )
(#1) HTML Validation info, line 29: The first occurrence of ID “cmCheckbox” was here. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" > )
course/format/tiles/templates/local/content/section/content.mustache
(#1) HTML Validation error, line 42: Stray end tag “div”. ( </div></div><div )
(#1) HTML Validation error, line 127: Duplicate ID “cmCheckbox”. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" > )
(#1) HTML Validation info, line 78: The first occurrence of ID “cmCheckbox” was here. ( <input id="cmCheckbox" type="checkbox" data-id="" data-action="toggleSelectionCm" data-bulkcheckbox="1" > )
(#1) HTML Validation error, line 157: End tag for “body” seen, but there were unclosed elements. (esource]</body></html)
(#1) HTML Validation error, line 44: Unclosed element “div”. (></div><div id="coursecontentcollapse3" class="content "> <)
course/format/tiles/templates/multi_section_tile.mustache
(#1) HTML Validation error, line 4: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (d><body><li class="tile current " id="tile-3" data-section="3" data-true-sectionid="" > <)
course/format/tiles/templates/single_section.mustache
(#1) HTML Validation error, line 2: Element “li” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.) (ad><body><li id="section-1" data-section="1" data-sectionid="101" class="section course-section main clearfix"> <)
course/format/tiles/templates/tilenumber.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 2: Empty heading. (ad><body><h2 class="tile-number" data-number=""></h2>)

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]