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

(184 errors, 24 warnings)

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

mod/assign/submission/helixassign/backup/moodle2/backup_assignsubmission_helixassign_subplugin.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Inline comments must start with a capital letter, digit or 3-dots sequence
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
mod/assign/submission/helixassign/backup/moodle2/restore_assignsubmission_helixassign_subplugin.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#18) Expected MOODLE_INTERNAL check or config.php inclusion
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
mod/assign/submission/helixassign/db/access.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#10) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/assign/submission/helixassign/db/install.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#21) Inline comments must start with a capital letter, digit or 3-dots sequence
(#21) Inline comments must end in full-stops, exclamation marks, or question marks
(#24) Inline comments must start with a capital letter, digit or 3-dots sequence
(#24) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Functions must not contain multiple empty lines in a row; found 3 empty lines
mod/assign/submission/helixassign/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#16) Expected MOODLE_INTERNAL check or config.php inclusion
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#19) Expected "if (...) {\n"; found "if (...)\n {\n"
(#27) Expected 1 space before "=>"; 0 found
(#27) Expected 1 space after "=>"; 0 found
(#28) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#30) Variable "all_subs" must not contain underscores.
(#30) Expected 1 space before "="; 0 found
(#30) Expected 1 space after "="; 0 found
(#31) Expected 1 space before "="; 0 found
(#31) Expected 1 space after "="; 0 found
(#31) Variable "all_subs" must not contain underscores.
(#36) Expected "if (...) {\n"; found "if (...)\n {\n"
(#41) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#43) Expected 1 space before "="; 0 found
(#43) Expected 1 space after "="; 0 found
(#44) Variable "all_subs" must not contain underscores.
(#44) Expected 1 space before "="; 0 found
(#44) Expected 1 space after "="; 0 found
(#45) Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
(#45) Variable "all_subs" must not contain underscores.
(#47) Line indented incorrectly; expected at least 16 spaces, found 12
(#48) Expected "if (...) {\n"; found "if (...)\n {\n"
(#48) Expected 1 space before "!="; 0 found
(#48) Expected 1 space after "!="; 0 found
(#50) Expected 1 space before "="; 0 found
(#50) Expected 1 space after "="; 0 found
(#51) Expected 1 space before "="; 0 found
(#51) Expected 1 space after "="; 0 found
(#52) Expected 1 space before "="; 0 found
(#52) Expected 1 space after "="; 0 found
(#53) Expected 1 space before "="; 0 found
(#53) Expected 1 space after "="; 0 found
(#54) Expected 1 space before "="; 0 found
(#54) Expected 1 space after "="; 0 found
(#55) Expected 1 space before "="; 0 found
(#55) Expected 1 space after "="; 0 found
(#61) Whitespace found at end of line
mod/assign/submission/helixassign/lang/en/assignsubmission_helixassign.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/assign/submission/helixassign/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/assign/submission/helixassign/locallib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#17) "require_once" must be immediately followed by an open parenthesis
(#18) "require_once" must be immediately followed by an open parenthesis
(#24) Whitespace found at end of line
(#38) Line indented incorrectly; expected at least 4 spaces, found 3
(#46) Expected 1 space before "="; 0 found
(#46) Expected 1 space after "="; 0 found
(#47) Expected "if (...) {\n"; found "if (...)\n\t\t{\n"
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#48) Line indented incorrectly; expected at least 8 spaces, found 2
(#49) Expected 1 space before "="; 0 found
(#49) Expected 1 space after "="; 0 found
(#49) Expected 1 space before "=>"; 0 found
(#49) Expected 1 space after "=>"; 0 found
(#49) Expected 1 space before "=>"; 0 found
(#49) Expected 1 space after "=>"; 0 found
(#50) Spaces must be used to indent lines; tabs are not allowed
(#50) Tab found within whitespace
(#50) Line indented incorrectly; expected at least 12 spaces, found 3
(#50) Inline control structures are not allowed
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Line indented incorrectly; expected at least 12 spaces, found 7
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected 8 spaces, found 5
(#52) Closing brace indented incorrectly; expected 8 spaces, found 5
(#66) Expected "if (...) {\n"; found "if (...)\n {\n"
(#68) Expected 1 space before "="; 0 found
(#68) Expected 1 space after "="; 0 found
(#69) Expected "if (...) {\n"; found "if (...)\n {\n"
(#69) Expected 1 space before "=="; 0 found
(#69) Expected 1 space after "=="; 0 found
(#71) Expected 1 space before "="; 0 found
(#71) Expected 1 space after "="; 0 found
(#72) Variable "pl_conf" must not contain underscores.
(#72) Expected 1 space before "="; 0 found
(#72) Expected 1 space after "="; 0 found
(#73) Expected 1 space before "=>"; 0 found
(#73) Expected 1 space after "=>"; 0 found
(#73) Expected 1 space before "=>"; 0 found
(#73) Expected 1 space after "=>"; 0 found
(#73) Expected 1 space before "=>"; 0 found
(#73) Expected 1 space after "=>"; 0 found
(#73) Expected 1 space before "=>"; 0 found
(#73) Expected 1 space after "=>"; 0 found
(#75) Expected 1 space before "="; 0 found
(#75) Expected 1 space after "="; 0 found
(#76) Inline control structures are not allowed
(#76) Variable "pl_conf" must not contain underscores.
(#77) Expected 1 space before "="; 0 found
(#77) Expected 1 space after "="; 0 found
(#79) Expected "} else {\n"; found "}\n else\n {\n"
(#81) Expected 1 space before "="; 0 found
(#81) Expected 1 space after "="; 0 found
(#84) Whitespace found at end of line
(#118) Expected 1 space before "="; 0 found
(#118) Expected 1 space after "="; 0 found
(#119) Expected 1 space before "="; 0 found
(#119) Expected 1 space after "="; 0 found
(#125) Expected 1 space before "="; 0 found
(#125) Expected 1 space after "="; 0 found
(#126) Expected 1 space before "="; 0 found
(#126) Expected 1 space after "="; 0 found
(#130) Expected 1 space before "="; 0 found
(#130) Expected 1 space after "="; 0 found
(#132) Expected 1 space before ".="; 0 found
(#132) Expected 1 space after ".="; 0 found
(#168) Line indented incorrectly; expected 4 spaces, found 5
(#172) Inline control structures are not allowed
(#172) Expected 1 space before "!="; 0 found
(#172) Expected 1 space after "!="; 0 found
(#175) Whitespace found at end of line
(#180) Variable "pre_rec" must not contain underscores.
(#180) Expected 1 space before "="; 0 found
(#180) Expected 1 space after "="; 0 found
(#180) Expected 1 space before "=>"; 0 found
(#180) Expected 1 space after "=>"; 0 found
(#181) Variable "pre_rec" must not contain underscores.
(#182) Expected 1 space before "="; 0 found
(#183) Variable "pre_rec" must not contain underscores.
(#186) Closing brace indented incorrectly; expected 5 spaces, found 4
(#203) Expected 1 space before "="; 0 found
(#203) Expected 1 space after "="; 0 found
(#204) Variable "thumb_type" must not contain underscores.
(#204) Expected 1 space before "="; 0 found
(#204) Expected 1 space after "="; 0 found
(#205) Expected "if (...) {\n"; found "if (...)\n {\n"
(#207) Expected 1 space before "="; 0 found
(#207) Expected 1 space after "="; 0 found
(#208) Variable "thumb_type" must not contain underscores.
(#208) Expected 1 space before "="; 0 found
(#208) Expected 1 space after "="; 0 found
(#211) Expected 1 space before "="; 0 found
(#211) Expected 1 space after "="; 0 found
(#213) Variable "thumb_type" must not contain underscores.
(#237) Expected 1 space before "="; 0 found
(#237) Expected 1 space after "="; 0 found
(#238) Variable "thumb_type" must not contain underscores.
(#238) Expected 1 space before "="; 0 found
(#238) Expected 1 space after "="; 0 found
(#239) Expected "if (...) {\n"; found "if (...)\n {\n"
(#241) Expected 1 space before "="; 0 found
(#241) Expected 1 space after "="; 0 found
(#242) Variable "thumb_type" must not contain underscores.
(#242) Expected 1 space before "="; 0 found
(#242) Expected 1 space after "="; 0 found
(#250) Expected 1 space before "="; 0 found
(#250) Expected 1 space after "="; 0 found
(#252) Variable "thumb_type" must not contain underscores.
(#262) Expected 6 space(s) before asterisk; 5 found
(#263) Expected 6 space(s) before asterisk; 5 found
(#264) Expected 6 space(s) before asterisk; 5 found
(#265) Expected 6 space(s) before asterisk; 5 found
(#266) Expected 6 space(s) before asterisk; 5 found
(#267) Expected 6 space(s) before asterisk; 5 found
(#316) Inline comments must start with a capital letter, digit or 3-dots sequence
(#316) Inline comments must end in full-stops, exclamation marks, or question marks
(#317) Expected 1 space before "=>"; 0 found
(#317) Expected 1 space after "=>"; 0 found
(#323) Whitespace found at end of line
(#330) Inline control structures are not allowed
mod/assign/submission/helixassign/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#11) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#19) Expected 1 space before "="; 0 found
(#19) Expected 1 space after "="; 0 found
(#19) Expected 1 space before "=>"; 0 found
(#19) Expected 1 space after "=>"; 0 found
(#21) Inline comments must end in full-stops, exclamation marks, or question marks
(#21) No space found before comment text; expected "// The version field has been removed in Moodle 2.6, this compensates" but found "//The version field has been removed in Moodle 2.6, this compensates"
(#22) Inline control structures are not allowed
(#23) Expected 1 space before "="; 0 found
(#23) Expected 1 space after "="; 0 found
(#24) Inline control structures are not allowed
(#25) Expected 1 space before "="; 0 found
(#25) Expected 1 space after "="; 0 found
(#27) Expected "if (...) {\n"; found "if (...)\n{\n"
(#27) Expected 1 space before "<"; 0 found
(#27) Expected 1 space after "<"; 0 found
(#29) Line indented incorrectly; expected at least 4 spaces, found 2
(#29) Line exceeds 132 characters; contains 149 characters
mod/assign/submission/helixassign/version.php
(#2) The opening <?php tag must be followed by exactly one newline.

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(2 errors, 10 warnings)

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

mod/assign/submission/helixassign/backup/moodle2/backup_assignsubmission_helixassign_subplugin.class.php
(#2) Empty line found after PHP open tag
mod/assign/submission/helixassign/backup/moodle2/restore_assignsubmission_helixassign_subplugin.class.php
(#2) Empty line found after PHP open tag
mod/assign/submission/helixassign/db/access.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block does not have @copyright tag
mod/assign/submission/helixassign/db/install.php
(#2) Empty line found after PHP open tag
mod/assign/submission/helixassign/db/upgrade.php
(#2) Empty line found after PHP open tag
mod/assign/submission/helixassign/lang/en/assignsubmission_helixassign.php
(#2) Empty line found after PHP open tag
mod/assign/submission/helixassign/lib.php
(#2) Empty line found after PHP open tag
mod/assign/submission/helixassign/locallib.php
(#2) Empty line found after PHP open tag
(#20) Class assign_submission_helixassign does not have @copyright tag
mod/assign/submission/helixassign/settings.php
(#2) Empty line found after PHP open tag
mod/assign/submission/helixassign/version.php
(#2) Empty line found after PHP open tag

Update savepoints problems

(3 errors, 0 warnings)

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

mod/assign/submission/helixassign/db/upgrade.php
Detected more 'if' blocks (2) than 'savepoint' calls (0)
version 2014050601 is missing corresponding savepoint call
version 2014111710 is missing corresponding savepoint call

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

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