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

(1325 errors, 201 warnings)

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

mod/magtest/backup/moodle1/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#105) Line indented incorrectly; expected at least 8 spaces, found 7
(#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
(#119) Inline comments must start with a capital letter, digit or 3-dots sequence
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#122) Inline comments must start with a capital letter, digit or 3-dots sequence
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#125) This comment is 78% valid code; is this commented out code?
(#134) This comment is 69% valid code; is this commented out code?
(#146) Inline comments must start with a capital letter, digit or 3-dots sequence
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) Inline comments must start with a capital letter, digit or 3-dots sequence
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#172) Inline comments must start with a capital letter, digit or 3-dots sequence
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#184) Inline comments must start with a capital letter, digit or 3-dots sequence
(#185) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) Inline comments must start with a capital letter, digit or 3-dots sequence
(#194) Inline comments must end in full-stops, exclamation marks, or question marks
(#202) Inline comments must start with a capital letter, digit or 3-dots sequence
(#202) Inline comments must end in full-stops, exclamation marks, or question marks
(#205) Inline comments must start with a capital letter, digit or 3-dots sequence
(#205) Inline comments must end in full-stops, exclamation marks, or question marks
(#211) Inline comments must start with a capital letter, digit or 3-dots sequence
(#211) Inline comments must end in full-stops, exclamation marks, or question marks
(#213) Whitespace found at end of line
(#214) Whitespace found at end of line
(#215) Whitespace found at end of line
(#216) Whitespace found at end of line
(#217) Whitespace found at end of line
(#218) Whitespace found at end of line
(#219) Whitespace found at end of line
(#220) Whitespace found at end of line
(#234) Inline comments must start with a capital letter, digit or 3-dots sequence
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#242) Inline comments must start with a capital letter, digit or 3-dots sequence
(#242) Inline comments must end in full-stops, exclamation marks, or question marks
(#245) Inline comments must start with a capital letter, digit or 3-dots sequence
(#245) Inline comments must end in full-stops, exclamation marks, or question marks
(#251) Whitespace found at end of line
(#252) Whitespace found at end of line
(#253) Whitespace found at end of line
(#254) Whitespace found at end of line
(#269) Inline comments must start with a capital letter, digit or 3-dots sequence
(#269) Inline comments must end in full-stops, exclamation marks, or question marks
(#276) Inline comments must start with a capital letter, digit or 3-dots sequence
(#276) Inline comments must end in full-stops, exclamation marks, or question marks
(#279) Inline comments must start with a capital letter, digit or 3-dots sequence
(#279) Inline comments must end in full-stops, exclamation marks, or question marks
(#285) Whitespace found at end of line
(#286) Whitespace found at end of line
(#287) Whitespace found at end of line
(#288) Whitespace found at end of line
(#289) Whitespace found at end of line
mod/magtest/backup/moodle2/backup_magtest_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#55) Line indented incorrectly; expected at least 8 spaces, found 5
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Tab found within whitespace
(#56) Whitespace found at end of line
(#57) Commas (,) must be followed by white space.
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
mod/magtest/backup/moodle2/backup_magtest_settingslib.php
(#1) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) The opening <?php tag must be followed by exactly one newline.
mod/magtest/backup/moodle2/backup_magtest_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Spaces must be used to indent lines; tabs are not allowed
(#41) Tab found within whitespace
(#41) Line indented incorrectly; expected at least 8 spaces, found 3
(#58) Whitespace found at end of line
(#60) Whitespace found at end of line
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Tab found within whitespace
(#62) Line indented incorrectly; expected at least 8 spaces, found 3
(#63) Whitespace found at end of line
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#75) Line indented incorrectly; expected at least 8 spaces, found 2
(#76) Spaces must be used to indent lines; tabs are not allowed
(#76) Tab found within whitespace
(#76) Line indented incorrectly; expected at least 8 spaces, found 2
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) This comment is 50% valid code; is this commented out code?
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
mod/magtest/backup/moodle2/restore_magtest_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
mod/magtest/backup/moodle2/restore_magtest_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
(#46) Whitespace found at end of line
(#47) Expected "if (...) {\n"; found "if (...){\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 12 spaces, found 9
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Spaces must be used to indent lines; tabs are not allowed
(#79) Tab found within whitespace
(#79) Line indented incorrectly; expected at least 8 spaces, found 5
(#80) Spaces must be used to indent lines; tabs are not allowed
(#80) Tab found within whitespace
(#80) Whitespace found at end of line
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Spaces must be used to indent lines; tabs are not allowed
(#92) Tab found within whitespace
(#92) Line indented incorrectly; expected at least 8 spaces, found 5
(#93) Spaces must be used to indent lines; tabs are not allowed
(#93) Tab found within whitespace
(#93) Whitespace found at end of line
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) Spaces must be used to indent lines; tabs are not allowed
(#107) Tab found within whitespace
(#107) Line indented incorrectly; expected at least 8 spaces, found 5
(#108) Spaces must be used to indent lines; tabs are not allowed
(#108) Tab found within whitespace
(#108) Whitespace found at end of line
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) Spaces must be used to indent lines; tabs are not allowed
(#120) Tab found within whitespace
(#120) Line indented incorrectly; expected at least 8 spaces, found 5
(#121) Spaces must be used to indent lines; tabs are not allowed
(#121) Tab found within whitespace
(#121) Whitespace found at end of line
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
mod/magtest/categories.controller.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#34) "require_once" must be immediately followed by an open parenthesis
(#42) Expected "if (...) {\n"; found "if (...){\n"
mod/magtest/categories.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#32) "require" must be immediately followed by an open parenthesis
(#72) Line indented incorrectly; expected at least 4 spaces, found 0
(#74) Line indented incorrectly; expected 4 spaces, found 0
(#75) Line indented incorrectly; expected at least 8 spaces, found 4
(#76) Line indented incorrectly; expected at least 8 spaces, found 4
(#77) Line indented incorrectly; expected at least 8 spaces, found 4
(#78) Line indented incorrectly; expected at least 8 spaces, found 4
(#79) Line indented incorrectly; expected at least 8 spaces, found 4
(#79) Expected 1 space after ".="; 0 found
(#81) Line indented incorrectly; expected 8 spaces, found 4
(#82) Line indented incorrectly; expected at least 12 spaces, found 8
(#83) Line indented incorrectly; expected at least 12 spaces, found 8
(#84) Line indented incorrectly; expected at least 12 spaces, found 8
(#85) Line indented incorrectly; expected 8 spaces, found 4
(#86) Line indented incorrectly; expected at least 12 spaces, found 8
(#86) Expected 1 space before ".="; 0 found
(#86) Expected 1 space after ".="; 0 found
(#87) Line indented incorrectly; expected 8 spaces, found 4
(#89) Line indented incorrectly; expected 8 spaces, found 4
(#90) Line indented incorrectly; expected at least 12 spaces, found 8
(#91) Line indented incorrectly; expected at least 12 spaces, found 8
(#92) Line indented incorrectly; expected at least 12 spaces, found 8
(#93) Line indented incorrectly; expected 8 spaces, found 4
(#94) Line indented incorrectly; expected at least 12 spaces, found 8
(#94) Expected 1 space before ".="; 0 found
(#94) Expected 1 space after ".="; 0 found
(#95) Line indented incorrectly; expected 8 spaces, found 4
(#97) Line indented incorrectly; expected at least 8 spaces, found 4
(#98) Line indented incorrectly; expected at least 8 spaces, found 4
(#99) Line indented incorrectly; expected at least 8 spaces, found 4
(#100) Line indented incorrectly; expected at least 8 spaces, found 4
(#102) Line indented incorrectly; expected at least 8 spaces, found 4
(#108) Line indented incorrectly; expected at least 12 spaces, found 8
(#109) Closing brace indented incorrectly; expected 0 spaces, found 4
mod/magtest/categoriesview.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#33) PHP4 style calls to parent constructors are not allowed; use "parent::__construct()" instead
(#33) Whitespace found at end of line
(#63) Usage of ELSEIF not allowed; use ELSE IF instead
(#64) Variable "max_cat" must not contain underscores.
(#64) Commas (,) must be followed by white space.
(#64) Line exceeds 132 characters; contains 168 characters
(#66) Variable "max_cat" must not contain underscores.
(#68) Variable "max_cat" must not contain underscores.
(#69) Variable "max_cat" must not contain underscores.
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#88) Commas (,) must be followed by white space.
(#88) Commas (,) must be followed by white space.
(#88) Commas (,) must be followed by white space.
(#88) Line exceeds 132 characters; contains 165 characters
(#91) Commas (,) must be followed by white space.
(#91) Commas (,) must be followed by white space.
(#91) Commas (,) must be followed by white space.
(#91) Line exceeds 132 characters; contains 151 characters
(#110) Variable "categories_form" must not contain underscores.
(#112) Variable "categories_form" must not contain underscores.
(#116) Variable "categories_form" must not contain underscores.
mod/magtest/classes/event/course_module_viewed.php
(#35) Expected 1 space after asterisk; 6 found
(#36) Expected 1 space after asterisk; 6 found
mod/magtest/classes/magtest.class.php
(#41) Public method name "MagTest::addCategory" must be in lower-case letters only
(#41) Variable "magtest_rec" must not contain underscores.
(#45) Variable "magtest_rec" must not contain underscores.
(#45) Space found before semicolon; expected "$magtestid;" but found "$magtestid ;"
(#46) Variable "magtest_rec" must not contain underscores.
(#48) Variable "magtest_rec" must not contain underscores.
(#49) Space found before semicolon; expected "$newid;" but found "$newid ;"
(#52) Line indented incorrectly; expected at least 4 spaces, found 3
(#57) Line indented incorrectly; expected 4 spaces, found 3
(#57) Public method name "MagTest::deleteCategory" must be in lower-case letters only
(#58) Line indented incorrectly; expected at least 8 spaces, found 7
(#58) Whitespace found at end of line
(#59) Line indented incorrectly; expected at least 8 spaces, found 7
(#59) Commas (,) must be followed by white space.
(#59) Expected 1 space before "=>"; 0 found
(#59) Expected 1 space after "=>"; 0 found
(#60) Line indented incorrectly; expected 4 spaces, found 3
(#73) Public method name "MagTest::updateCategory" must be in lower-case letters only
(#73) Commas (,) must be followed by white space.
(#73) Commas (,) must be followed by white space.
(#73) Commas (,) must be followed by white space.
(#73) Commas (,) must be followed by white space.
(#73) Commas (,) must be followed by white space.
(#73) Commas (,) must be followed by white space.
(#76) Variable "magtest_rec" must not contain underscores.
(#77) Variable "magtest_rec" must not contain underscores.
(#77) Expected 1 space after "="; 0 found
(#77) Space found before semicolon; expected "$catid;" but found "$catid ;"
(#78) Variable "magtest_rec" must not contain underscores.
(#78) Expected 1 space after "="; 0 found
(#78) Space found before semicolon; expected "$magtestid;" but found "$magtestid ;"
(#79) Variable "magtest_rec" must not contain underscores.
(#79) Space found before semicolon; expected "$name;" but found "$name ;"
(#80) Variable "magtest_rec" must not contain underscores.
(#81) Variable "magtest_rec" must not contain underscores.
(#82) Variable "magtest_rec" must not contain underscores.
(#83) Variable "magtest_rec" must not contain underscores.
(#84) Variable "magtest_rec" must not contain underscores.
(#85) Whitespace found at end of line
(#86) Commas (,) must be followed by white space.
(#86) Variable "magtest_rec" must not contain underscores.
(#87) Space found before semicolon; expected "$newid;" but found "$newid ;"
mod/magtest/db/access.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#18) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#23) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#26) Expected 1 space before comment text but found 11; use block comment if you need indentation
(#27) Expected 1 space before comment text but found 11; use block comment if you need indentation
(#30) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#35) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Spaces must be used to indent lines; tabs are not allowed
(#90) Tab found within whitespace
(#91) Spaces must be used to indent lines; tabs are not allowed
(#91) Tab found within whitespace
(#92) Spaces must be used to indent lines; tabs are not allowed
(#92) Tab found within whitespace
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
mod/magtest/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Expected MOODLE_INTERNAL check or config.php inclusion
(#4) Line indented incorrectly; expected at least 4 spaces, found 0
(#4) 3 slashes comments are not allowed; use "// Comment." instead
(#4) Whitespace found at end of line
(#5) Inline comments must end in full-stops, exclamation marks, or question marks
(#5) Line indented incorrectly; expected at least 4 spaces, found 0
(#5) 3 slashes comments are not allowed; use "// Comment." instead
(#5) Whitespace found at end of line
(#8) Whitespace found at end of line
(#10) Whitespace found at end of line
(#15) Inline comments must end in full-stops, exclamation marks, or question marks
(#15) Line indented incorrectly; expected at least 8 spaces, found 4
(#15) 3 slashes comments are not allowed; use "// Comment." instead
(#20) Inline comments must end in full-stops, exclamation marks, or question marks
(#20) Line indented incorrectly; expected at least 8 spaces, found 4
(#20) 3 slashes comments are not allowed; use "// Comment." instead
(#21) Expected "if (...) {\n"; found "if (...){\n"
(#22) Spaces must be used to indent lines; tabs are not allowed
(#22) Tab found within whitespace
(#22) Line indented incorrectly; expected at least 12 spaces, found 9
(#31) Spaces must be used to indent lines; tabs are not allowed
(#31) Tab found within whitespace
(#31) Line indented incorrectly; expected at least 8 spaces, found 2
(#32) Expected "if (...) {\n"; found "if (...){\n"
(#33) Spaces must be used to indent lines; tabs are not allowed
(#33) Tab found within whitespace
(#33) Line indented incorrectly; expected at least 12 spaces, found 9
(#34) Spaces must be used to indent lines; tabs are not allowed
(#34) Tab found within whitespace
(#34) Line indented incorrectly; expected 8 spaces, found 5
(#34) Closing brace indented incorrectly; expected 8 spaces, found 5
(#37) Spaces must be used to indent lines; tabs are not allowed
(#37) Tab found within whitespace
(#37) Line indented incorrectly; expected at least 8 spaces, found 2
(#38) Expected "if (...) {\n"; found "if (...){\n"
(#39) Spaces must be used to indent lines; tabs are not allowed
(#39) Tab found within whitespace
(#39) Line indented incorrectly; expected at least 12 spaces, found 9
(#40) Spaces must be used to indent lines; tabs are not allowed
(#40) Tab found within whitespace
(#40) Line indented incorrectly; expected 8 spaces, found 5
(#40) Closing brace indented incorrectly; expected 8 spaces, found 5
(#43) Spaces must be used to indent lines; tabs are not allowed
(#43) Tab found within whitespace
(#43) Line indented incorrectly; expected at least 8 spaces, found 2
(#44) Expected "if (...) {\n"; found "if (...){\n"
(#45) Spaces must be used to indent lines; tabs are not allowed
(#45) Tab found within whitespace
(#45) Line indented incorrectly; expected at least 12 spaces, found 9
(#46) Spaces must be used to indent lines; tabs are not allowed
(#46) Tab found within whitespace
(#46) Line indented incorrectly; expected 8 spaces, found 5
(#46) Closing brace indented incorrectly; expected 8 spaces, found 5
(#49) Whitespace found at end of line
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Line indented incorrectly; expected at least 8 spaces, found 4
(#54) 3 slashes comments are not allowed; use "// Comment." instead
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Tab found within whitespace
(#57) Line indented incorrectly; expected at least 8 spaces, found 2
(#58) Expected "if (...) {\n"; found "if (...){\n"
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Tab found within whitespace
(#59) Line indented incorrectly; expected at least 12 spaces, found 9
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Tab found within whitespace
(#60) Line indented incorrectly; expected 8 spaces, found 5
(#60) Closing brace indented incorrectly; expected 8 spaces, found 5
(#63) Spaces must be used to indent lines; tabs are not allowed
(#63) Tab found within whitespace
(#63) Line indented incorrectly; expected at least 8 spaces, found 2
(#64) Expected "if (...) {\n"; found "if (...){\n"
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#65) Line indented incorrectly; expected at least 12 spaces, found 9
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#66) Line indented incorrectly; expected 8 spaces, found 5
(#66) Closing brace indented incorrectly; expected 8 spaces, found 5
(#70) Spaces must be used to indent lines; tabs are not allowed
(#70) Tab found within whitespace
(#70) Line indented incorrectly; expected at least 8 spaces, found 2
(#71) Expected "if (...) {\n"; found "if (...){\n"
(#72) Spaces must be used to indent lines; tabs are not allowed
(#72) Tab found within whitespace
(#72) Whitespace found at end of line
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Tab found within whitespace
(#73) Inline comments must start with a capital letter, digit or 3-dots sequence
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Line indented incorrectly; expected at least 12 spaces, found 9
(#73) Whitespace found at end of line
(#74) Spaces must be used to indent lines; tabs are not allowed
(#74) Tab found within whitespace
(#74) Line indented incorrectly; expected at least 12 spaces, found 9
(#82) Spaces must be used to indent lines; tabs are not allowed
(#82) Tab found within whitespace
(#82) Line indented incorrectly; expected at least 12 spaces, found 9
(#83) Spaces must be used to indent lines; tabs are not allowed
(#83) Tab found within whitespace
(#83) Whitespace found at end of line
(#84) Spaces must be used to indent lines; tabs are not allowed
(#84) Tab found within whitespace
(#84) Line indented incorrectly; expected at least 12 spaces, found 9
(#85) Spaces must be used to indent lines; tabs are not allowed
(#85) Tab found within whitespace
(#85) Line indented incorrectly; expected 8 spaces, found 5
(#85) Closing brace indented incorrectly; expected 8 spaces, found 5
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Tab found within whitespace
(#89) Line indented incorrectly; expected at least 8 spaces, found 2
(#90) Expected "if (...) {\n"; found "if (...){\n"
(#92) Spaces must be used to indent lines; tabs are not allowed
(#92) Tab found within whitespace
(#92) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Line indented incorrectly; expected at least 12 spaces, found 9
(#92) Whitespace found at end of line
(#93) Spaces must be used to indent lines; tabs are not allowed
(#93) Tab found within whitespace
(#93) Line indented incorrectly; expected at least 12 spaces, found 9
(#101) Spaces must be used to indent lines; tabs are not allowed
(#101) Tab found within whitespace
(#101) Line indented incorrectly; expected at least 12 spaces, found 9
(#103) Spaces must be used to indent lines; tabs are not allowed
(#103) Tab found within whitespace
(#103) Line indented incorrectly; expected at least 12 spaces, found 9
(#104) Spaces must be used to indent lines; tabs are not allowed
(#104) Tab found within whitespace
(#104) Line indented incorrectly; expected 8 spaces, found 5
(#104) Closing brace indented incorrectly; expected 8 spaces, found 5
(#109) Spaces must be used to indent lines; tabs are not allowed
(#109) Tab found within whitespace
(#109) Line indented incorrectly; expected at least 8 spaces, found 2
(#110) Expected "if (...) {\n"; found "if (...){\n"
(#112) Spaces must be used to indent lines; tabs are not allowed
(#112) Tab found within whitespace
(#112) Inline comments must start with a capital letter, digit or 3-dots sequence
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) Line indented incorrectly; expected at least 12 spaces, found 9
(#112) Whitespace found at end of line
(#113) Spaces must be used to indent lines; tabs are not allowed
(#113) Tab found within whitespace
(#113) Line indented incorrectly; expected at least 12 spaces, found 9
(#121) Spaces must be used to indent lines; tabs are not allowed
(#121) Tab found within whitespace
(#121) Line indented incorrectly; expected at least 12 spaces, found 9
(#123) Spaces must be used to indent lines; tabs are not allowed
(#123) Tab found within whitespace
(#123) Line indented incorrectly; expected at least 12 spaces, found 9
(#124) Spaces must be used to indent lines; tabs are not allowed
(#124) Tab found within whitespace
(#124) Line indented incorrectly; expected 8 spaces, found 5
(#124) Closing brace indented incorrectly; expected 8 spaces, found 5
(#127) Spaces must be used to indent lines; tabs are not allowed
(#127) Tab found within whitespace
(#127) Line indented incorrectly; expected at least 8 spaces, found 2
(#128) Expected "if (...) {\n"; found "if (...){\n"
(#129) Spaces must be used to indent lines; tabs are not allowed
(#129) Tab found within whitespace
(#129) Line indented incorrectly; expected at least 12 spaces, found 9
(#130) Spaces must be used to indent lines; tabs are not allowed
(#130) Tab found within whitespace
(#130) Line indented incorrectly; expected 8 spaces, found 5
(#130) Closing brace indented incorrectly; expected 8 spaces, found 5
(#133) Spaces must be used to indent lines; tabs are not allowed
(#133) Tab found within whitespace
(#133) Line indented incorrectly; expected at least 8 spaces, found 2
(#134) Expected "if (...) {\n"; found "if (...){\n"
(#135) Spaces must be used to indent lines; tabs are not allowed
(#135) Tab found within whitespace
(#135) Line indented incorrectly; expected at least 12 spaces, found 9
(#136) Spaces must be used to indent lines; tabs are not allowed
(#136) Tab found within whitespace
(#136) Line indented incorrectly; expected 8 spaces, found 5
(#136) Closing brace indented incorrectly; expected 8 spaces, found 5
(#145) Spaces must be used to indent lines; tabs are not allowed
(#145) Tab found within whitespace
(#145) Line indented incorrectly; expected at least 8 spaces, found 2
(#146) Expected "if (...) {\n"; found "if (...){\n"
(#147) Spaces must be used to indent lines; tabs are not allowed
(#147) Tab found within whitespace
(#147) Line indented incorrectly; expected at least 12 spaces, found 9
(#152) Whitespace found at end of line
mod/magtest/editcategories.php
(#80) Space found before semicolon; expected "cmd;" but found "cmd ;"
(#80) Whitespace found at end of line
(#86) Space found before first semicolon of FOR loop
(#86) Space found before second semicolon of FOR loop
(#86) Space found before semicolon; expected "1;" but found "1 ;"
(#86) Space found before semicolon; expected "$count;" but found "$count ;"
(#141) Whitespace found at end of line
(#143) Line indented incorrectly; expected at least 4 spaces, found 3
(#144) Line indented incorrectly; expected at least 4 spaces, found 3
mod/magtest/editquestions.php
(#49) Variable "mod_context" must not contain underscores.
(#69) Space found before semicolon; expected "1000;" but found "1000 ;"
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) No space found before comment text; expected "// 100 mb TODO: add settings" but found "//100 mb TODO: add settings"
(#70) Variable "mod_context" must not contain underscores.
(#70) Line exceeds 132 characters; contains 137 characters
(#71) Variable "mod_context" must not contain underscores.
(#71) Line exceeds 132 characters; contains 135 characters
(#79) Space found before semicolon; expected "cmd;" but found "cmd ;"
(#79) Whitespace found at end of line
(#83) Variable "mod_context" must not contain underscores.
(#83) Line exceeds 132 characters; contains 133 characters
(#86) Whitespace found at end of line
(#91) Variable "new_answer_id" must not contain underscores.
(#96) Variable "mod_context" must not contain underscores.
(#96) Variable "new_answer_id" must not contain underscores.
(#96) Line exceeds 132 characters; contains 170 characters
(#96) Whitespace found at end of line
(#97) Variable "mod_context" must not contain underscores.
(#97) Variable "new_answer_id" must not contain underscores.
(#97) Line exceeds 132 characters; contains 154 characters
(#97) Whitespace found at end of line
(#101) Variable "new_answer_id" must not contain underscores.
(#101) Whitespace found at end of line
(#106) Space found before semicolon; expected "};" but found "} ;"
(#108) Space found before semicolon; expected "};" but found "} ;"
(#120) Expected 1 space after "="; 2 found
(#129) Variable "mod_context" must not contain underscores.
(#129) Line exceeds 132 characters; contains 133 characters
(#130) Commas (,) must be followed by white space.
(#131) Space found before semicolon; expected "questiontext;" but found "questiontext ;"
(#132) Space found before semicolon; expected "FORMAT_HTML;" but found "FORMAT_HTML ;"
(#138) Variable "old_answer" must not contain underscores.
(#140) Variable "old_answer" must not contain underscores.
(#143) Variable "mod_context" must not contain underscores.
(#143) Variable "old_answer" must not contain underscores.
(#143) Line exceeds 132 characters; contains 174 characters
(#144) Variable "old_answer" must not contain underscores.
(#146) Variable "mod_context" must not contain underscores.
(#146) Variable "old_answer" must not contain underscores.
(#146) Line exceeds 132 characters; contains 158 characters
(#147) Variable "old_answer" must not contain underscores.
(#148) Variable "old_answer" must not contain underscores.
(#153) Variable "old_answer" must not contain underscores.
(#155) Variable "old_answer" must not contain underscores.
(#158) Variable "old_answer" must not contain underscores.
(#161) Variable "new_answer" must not contain underscores.
(#162) Variable "new_answer" must not contain underscores.
(#164) Variable "new_answer" must not contain underscores.
(#165) Variable "new_answer" must not contain underscores.
(#165) Space found before semicolon; expected "$catid;" but found "$catid ;"
(#166) Variable "new_answer" must not contain underscores.
(#167) Variable "new_answer" must not contain underscores.
(#168) Variable "new_answer" must not contain underscores.
(#169) Variable "new_answer" must not contain underscores.
(#170) Variable "new_answer" must not contain underscores.
(#173) Variable "new_answer" must not contain underscores.
(#175) Variable "new_answer" must not contain underscores.
(#177) Variable "new_answer" must not contain underscores.
(#177) Variable "new_answer" must not contain underscores.
(#180) Variable "mod_context" must not contain underscores.
(#180) Variable "new_answer" must not contain underscores.
(#180) Line exceeds 132 characters; contains 175 characters
(#180) Whitespace found at end of line
(#181) Variable "new_answer" must not contain underscores.
(#182) Variable "new_answer" must not contain underscores.
(#184) Variable "mod_context" must not contain underscores.
(#184) Variable "new_answer" must not contain underscores.
(#184) Line exceeds 132 characters; contains 159 characters
(#184) Whitespace found at end of line
(#185) Variable "new_answer" must not contain underscores.
(#186) Variable "new_answer" must not contain underscores.
(#189) Variable "new_answer" must not contain underscores.
mod/magtest/filesystemlib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#15) Inline comments must start with a capital letter, digit or 3-dots sequence
(#15) Inline comments must end in full-stops, exclamation marks, or question marks
(#15) No space found before comment text; expected "// avoids reloading the lib when keeped in third party plugin" but found "//avoids reloading the lib when keeped in third party plugin"
(#16) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#18) Line indented incorrectly; expected at least 4 spaces, found 0
(#19) Line indented incorrectly; expected at least 4 spaces, found 0
(#21) Line indented incorrectly; expected at least 4 spaces, found 0
(#22) Line indented incorrectly; expected at least 4 spaces, found 0
(#24) Line indented incorrectly; expected at least 4 spaces, found 0
(#25) Line indented incorrectly; expected at least 4 spaces, found 0
(#26) Line indented incorrectly; expected at least 4 spaces, found 0
(#28) Line indented incorrectly; expected at least 4 spaces, found 0
(#29) Line indented incorrectly; expected at least 4 spaces, found 0
(#32) Line indented incorrectly; expected at least 4 spaces, found 0
(#33) Expected 1 space(s) before asterisk; 0 found
(#34) Expected 1 space(s) before asterisk; 0 found
(#35) Expected 1 space(s) before asterisk; 0 found
(#36) Expected 1 space(s) before asterisk; 0 found
(#37) Expected 1 space(s) before asterisk; 0 found
(#38) Line indented incorrectly; expected 4 spaces, found 0
(#39) Line indented incorrectly; expected at least 8 spaces, found 4
(#40) Whitespace found at end of line
(#41) Line indented incorrectly; expected 8 spaces, found 4
(#41) Expected "if (...) {\n"; found "if (...){\n"
(#42) Line indented incorrectly; expected at least 12 spaces, found 8
(#43) Line indented incorrectly; expected 8 spaces, found 4
(#43) Usage of ELSEIF not allowed; use ELSE IF instead
(#44) Line indented incorrectly; expected at least 12 spaces, found 8
(#45) Line indented incorrectly; expected 8 spaces, found 4
(#46) Line indented incorrectly; expected at least 12 spaces, found 8
(#46) Whitespace found at end of line
(#47) Line indented incorrectly; expected 8 spaces, found 4
(#49) Line indented incorrectly; expected at least 8 spaces, found 4
(#50) Line indented incorrectly; expected 8 spaces, found 4
(#50) Expected "if (...) {\n"; found "if (...){\n"
(#51) Line indented incorrectly; expected at least 12 spaces, found 7
(#51) Inline control structures are not allowed
(#52) Line indented incorrectly; expected at least 12 spaces, found 7
(#52) Variable "oldMask" must be all lower-case
(#53) Line indented incorrectly; expected at least 12 spaces, found 7
(#53) Inline control structures are not allowed
(#54) Line indented incorrectly; expected at least 12 spaces, found 7
(#54) Variable "oldMask" must be all lower-case
(#55) Line indented incorrectly; expected at least 12 spaces, found 7
(#56) Line indented incorrectly; expected 8 spaces, found 4
(#57) Line indented incorrectly; expected 8 spaces, found 4
(#57) Expected "} else {\n"; found "}\n else {\n"
(#58) Line indented incorrectly; expected at least 12 spaces, found 7
(#59) Line indented incorrectly; expected at least 12 spaces, found 7
(#59) Variable "pathTo" must be all lower-case
(#60) Line indented incorrectly; expected 12 spaces, found 7
(#60) Expected "for (...) {\n"; found "for(...){\n"
(#61) Line indented incorrectly; expected at least 16 spaces, found 10
(#61) Variable "pathTo" must be all lower-case
(#62) Line indented incorrectly; expected at least 16 spaces, found 10
(#62) Variable "pathTo" must be all lower-case
(#63) Line indented incorrectly; expected 12 spaces, found 7
(#64) Line indented incorrectly; expected at least 12 spaces, found 7
(#65) Line indented incorrectly; expected 8 spaces, found 4
(#66) Line indented incorrectly; expected 4 spaces, found 0
(#68) Line indented incorrectly; expected at least 4 spaces, found 0
(#69) Expected 1 space(s) before asterisk; 0 found
(#69) Whitespace found at end of line
(#70) Expected 1 space(s) before asterisk; 0 found
(#71) Expected 1 space(s) before asterisk; 0 found
(#72) Expected 1 space(s) before asterisk; 0 found
(#73) Line indented incorrectly; expected 4 spaces, found 0
(#73) Expected 1 space after closing parenthesis; found 0
(#74) Line indented incorrectly; expected at least 8 spaces, found 4
(#76) Line indented incorrectly; expected 8 spaces, found 4
(#76) Expected "if (...) {\n"; found "if (...){\n"
(#77) Line indented incorrectly; expected at least 12 spaces, found 8
(#78) Line indented incorrectly; expected 8 spaces, found 4
(#78) Usage of ELSEIF not allowed; use ELSE IF instead
(#79) Line indented incorrectly; expected at least 12 spaces, found 8
(#80) Line indented incorrectly; expected 8 spaces, found 4
(#81) Line indented incorrectly; expected at least 12 spaces, found 8
(#81) Whitespace found at end of line
(#82) Line indented incorrectly; expected 8 spaces, found 4
(#84) Line indented incorrectly; expected at least 8 spaces, found 4
(#84) Inline control structures are not allowed
(#85) Line indented incorrectly; expected at least 8 spaces, found 4
(#86) Line indented incorrectly; expected 4 spaces, found 0
(#86) Whitespace found at end of line
(#88) Line indented incorrectly; expected at least 4 spaces, found 0
(#89) Expected 1 space(s) before asterisk; 0 found
(#90) Expected 1 space(s) before asterisk; 0 found
(#91) Expected 1 space(s) before asterisk; 0 found
(#92) Expected 1 space(s) before asterisk; 0 found
(#93) Line indented incorrectly; expected 4 spaces, found 0
(#93) Expected 1 space after closing parenthesis; found 0
(#94) Line indented incorrectly; expected at least 8 spaces, found 4
(#96) Line indented incorrectly; expected 8 spaces, found 4
(#96) Expected "if (...) {\n"; found "if (...){\n"
(#97) Line indented incorrectly; expected at least 12 spaces, found 8
(#98) Line indented incorrectly; expected 8 spaces, found 4
(#98) Usage of ELSEIF not allowed; use ELSE IF instead
(#99) Line indented incorrectly; expected at least 12 spaces, found 8
(#100) Line indented incorrectly; expected 8 spaces, found 4
(#101) Line indented incorrectly; expected at least 12 spaces, found 8
(#101) Whitespace found at end of line
(#102) Line indented incorrectly; expected 8 spaces, found 4
(#104) Line indented incorrectly; expected at least 8 spaces, found 4
(#104) Inline control structures are not allowed
(#105) Line indented incorrectly; expected at least 8 spaces, found 4
(#106) Line indented incorrectly; expected 4 spaces, found 0
(#106) Whitespace found at end of line
(#108) Line indented incorrectly; expected at least 4 spaces, found 0
(#109) Expected 1 space(s) before asterisk; 0 found
(#110) Expected 1 space(s) before asterisk; 0 found
(#111) Expected 1 space(s) before asterisk; 0 found
(#112) Expected 1 space(s) before asterisk; 0 found
(#113) Expected 1 space(s) before asterisk; 0 found
(#114) Expected 1 space(s) before asterisk; 0 found
(#115) Expected 1 space(s) before asterisk; 0 found
(#116) Line indented incorrectly; expected 4 spaces, found 0
(#116) Expected 1 space after closing parenthesis; found 0
(#117) Line indented incorrectly; expected at least 8 spaces, found 4
(#119) Line indented incorrectly; expected 8 spaces, found 4
(#119) Expected "if (...) {\n"; found "if (...){\n"
(#120) Line indented incorrectly; expected at least 12 spaces, found 8
(#121) Line indented incorrectly; expected 8 spaces, found 4
(#121) Usage of ELSEIF not allowed; use ELSE IF instead
(#122) Line indented incorrectly; expected at least 12 spaces, found 8
(#123) Line indented incorrectly; expected 8 spaces, found 4
(#124) Line indented incorrectly; expected at least 12 spaces, found 8
(#124) Whitespace found at end of line
(#125) Line indented incorrectly; expected 8 spaces, found 4
(#127) Line indented incorrectly; expected at least 8 spaces, found 4
(#127) Inline control structures are not allowed
(#128) Line indented incorrectly; expected at least 8 spaces, found 4
(#129) Line indented incorrectly; expected at least 8 spaces, found 4
(#130) Line indented incorrectly; expected 8 spaces, found 4
(#130) Expected "while (...) {\n"; found "while (...){\n"
(#130) Variable "anEntry" must be all lower-case
(#131) Line indented incorrectly; expected 12 spaces, found 8
(#131) Expected "if (...) {\n"; found "if (...){\n"
(#132) Line indented incorrectly; expected at least 16 spaces, found 12
(#132) Variable "anEntry" must be all lower-case
(#133) Line indented incorrectly; expected at least 16 spaces, found 12
(#134) Line indented incorrectly; expected at least 16 spaces, found 12
(#134) Inline control structures are not allowed
(#134) Space found before semicolon; expected "continue;" but found "continue ;"
(#135) Line indented incorrectly; expected 12 spaces, found 8
(#136) Line indented incorrectly; expected 12 spaces, found 8
(#136) Expected "if (...) {\n"; found "if (...){\n"
(#137) Line indented incorrectly; expected at least 16 spaces, found 12
(#137) Variable "anEntry" must be all lower-case
(#138) Line indented incorrectly; expected at least 16 spaces, found 12
(#139) Line indented incorrectly; expected at least 16 spaces, found 12
(#139) Inline control structures are not allowed
(#139) Space found before semicolon; expected "continue;" but found "continue ;"
(#140) Line indented incorrectly; expected 12 spaces, found 8
(#141) Line indented incorrectly; expected 12 spaces, found 8
(#142) Line indented incorrectly; expected at least 16 spaces, found 12
(#142) Inline control structures are not allowed
(#142) Variable "anEntry" must be all lower-case
(#142) Variable "anEntry" must be all lower-case
(#142) Variable "anEntry" must be all lower-case
(#143) Line indented incorrectly; expected 12 spaces, found 8
(#144) Line indented incorrectly; expected at least 16 spaces, found 12
(#144) Inline control structures are not allowed
(#144) Variable "anEntry" must be all lower-case
(#144) Variable "anEntry" must be all lower-case
(#145) Line indented incorrectly; expected 12 spaces, found 8
(#146) Line indented incorrectly; expected 8 spaces, found 4
(#147) Line indented incorrectly; expected at least 8 spaces, found 4
(#148) Line indented incorrectly; expected at least 8 spaces, found 4
(#149) Line indented incorrectly; expected 4 spaces, found 0
(#149) Whitespace found at end of line
(#151) Line indented incorrectly; expected at least 4 spaces, found 0
(#152) Expected 1 space(s) before asterisk; 0 found
(#153) Expected 1 space(s) before asterisk; 0 found
(#154) Expected 1 space(s) before asterisk; 0 found
(#155) Expected 1 space(s) before asterisk; 0 found
(#156) Expected 1 space(s) before asterisk; 0 found
(#157) Expected 1 space(s) before asterisk; 0 found
(#158) Line indented incorrectly; expected 4 spaces, found 0
(#158) Variable "fullDelete" must be all lower-case
(#159) Line indented incorrectly; expected at least 8 spaces, found 4
(#161) Line indented incorrectly; expected 8 spaces, found 4
(#161) Expected "if (...) {\n"; found "if (...){\n"
(#162) Line indented incorrectly; expected at least 12 spaces, found 8
(#163) Line indented incorrectly; expected 8 spaces, found 4
(#163) Usage of ELSEIF not allowed; use ELSE IF instead
(#164) Line indented incorrectly; expected at least 12 spaces, found 8
(#165) Line indented incorrectly; expected 8 spaces, found 4
(#166) Line indented incorrectly; expected at least 12 spaces, found 8
(#166) Whitespace found at end of line
(#167) Line indented incorrectly; expected 8 spaces, found 4
(#169) Line indented incorrectly; expected at least 8 spaces, found 4
(#169) Inline control structures are not allowed
(#170) Line indented incorrectly; expected at least 8 spaces, found 4
(#171) Line indented incorrectly; expected 8 spaces, found 4
(#171) Variable "fullDelete" must be all lower-case
(#172) Line indented incorrectly; expected at least 12 spaces, found 8
(#172) Whitespace found at end of line
(#173) Line indented incorrectly; expected 8 spaces, found 4
(#174) Line indented incorrectly; expected 8 spaces, found 4
(#174) Variable "fullDelete" must be all lower-case
(#175) Line indented incorrectly; expected at least 12 spaces, found 8
(#176) Line indented incorrectly; expected 8 spaces, found 4
(#177) Line indented incorrectly; expected at least 8 spaces, found 4
(#178) Line indented incorrectly; expected 8 spaces, found 4
(#178) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#178) Variable "aFile" must be all lower-case
(#179) Line indented incorrectly; expected at least 12 spaces, found 8
(#179) Inline control structures are not allowed
(#179) Variable "aFile" must be all lower-case
(#179) Variable "aFile" must be all lower-case
(#179) Space found before semicolon; expected "continue;" but found "continue ;"
(#180) Line indented incorrectly; expected 12 spaces, found 8
(#180) Expected "if (...) {\n"; found "if (...){\n"
(#181) Line indented incorrectly; expected at least 16 spaces, found 12
(#182) Inline comments must start with a capital letter, digit or 3-dots sequence
(#182) Inline comments must end in full-stops, exclamation marks, or question marks
(#182) This comment is 67% valid code; is this commented out code?
(#182) Line indented incorrectly; expected at least 16 spaces, found 12
(#183) Line indented incorrectly; expected 12 spaces, found 8
(#184) Line indented incorrectly; expected at least 16 spaces, found 12
(#185) Line indented incorrectly; expected 12 spaces, found 8
(#186) Line indented incorrectly; expected 8 spaces, found 4
(#187) Line indented incorrectly; expected at least 8 spaces, found 4
(#187) Inline control structures are not allowed
(#187) Variable "fullDelete" must be all lower-case
(#188) Line indented incorrectly; expected at least 8 spaces, found 4
(#189) Line indented incorrectly; expected 4 spaces, found 0
(#191) Line indented incorrectly; expected at least 4 spaces, found 0
(#192) Expected 1 space(s) before asterisk; 0 found
(#193) Expected 1 space(s) before asterisk; 0 found
(#194) Expected 1 space(s) before asterisk; 0 found
(#195) Expected 1 space(s) before asterisk; 0 found
(#196) Expected 1 space(s) before asterisk; 0 found
(#197) Expected 1 space(s) before asterisk; 0 found
(#198) Line indented incorrectly; expected 4 spaces, found 0
(#199) Line indented incorrectly; expected at least 8 spaces, found 4
(#200) Whitespace found at end of line
(#201) Line indented incorrectly; expected 8 spaces, found 4
(#201) Expected "if (...) {\n"; found "if (...){\n"
(#202) Line indented incorrectly; expected at least 12 spaces, found 8
(#203) Line indented incorrectly; expected 8 spaces, found 4
(#203) Usage of ELSEIF not allowed; use ELSE IF instead
(#204) Line indented incorrectly; expected at least 12 spaces, found 8
(#205) Line indented incorrectly; expected 8 spaces, found 4
(#206) Line indented incorrectly; expected at least 12 spaces, found 8
(#206) Whitespace found at end of line
(#207) Line indented incorrectly; expected 8 spaces, found 4
(#209) Line indented incorrectly; expected at least 8 spaces, found 3
(#209) Inline control structures are not allowed
(#210) Line indented incorrectly; expected 8 spaces, found 3
(#211) Line indented incorrectly; expected at least 12 spaces, found 6
(#212) Line indented incorrectly; expected 8 spaces, found 3
(#213) Line indented incorrectly; expected 8 spaces, found 3
(#214) Line indented incorrectly; expected at least 12 spaces, found 6
(#215) Line indented incorrectly; expected 8 spaces, found 3
(#216) Line indented incorrectly; expected at least 8 spaces, found 3
(#217) Line indented incorrectly; expected at least 8 spaces, found 3
(#218) Line indented incorrectly; expected 8 spaces, found 3
(#218) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#218) Variable "aFile" must be all lower-case
(#219) Line indented incorrectly; expected at least 12 spaces, found 6
(#219) Inline control structures are not allowed
(#219) Variable "aFile" must be all lower-case
(#219) Variable "aFile" must be all lower-case
(#220) Line indented incorrectly; expected 12 spaces, found 6
(#221) Line indented incorrectly; expected at least 16 spaces, found 9
(#222) Line indented incorrectly; expected 16 spaces, found 9
(#223) Line indented incorrectly; expected at least 20 spaces, found 13
(#224) Line indented incorrectly; expected 16 spaces, found 9
(#225) Line indented incorrectly; expected 12 spaces, found 6
(#226) Line indented incorrectly; expected at least 16 spaces, found 11
(#227) Line indented incorrectly; expected 12 spaces, found 6
(#228) Line indented incorrectly; expected 8 spaces, found 3
(#229) Line indented incorrectly; expected 4 spaces, found 0
(#231) Line indented incorrectly; expected at least 4 spaces, found 0
(#232) Expected 1 space(s) before asterisk; 0 found
(#233) Expected 1 space(s) before asterisk; 0 found
(#234) Expected 1 space(s) before asterisk; 0 found
(#235) Expected 1 space(s) before asterisk; 0 found
(#236) Expected 1 space(s) before asterisk; 0 found
(#237) Line indented incorrectly; expected 4 spaces, found 0
(#238) Line indented incorrectly; expected at least 8 spaces, found 4
(#240) Line indented incorrectly; expected 8 spaces, found 4
(#240) Expected "if (...) {\n"; found "if (...){\n"
(#241) Line indented incorrectly; expected at least 12 spaces, found 8
(#242) Line indented incorrectly; expected 8 spaces, found 4
(#242) Usage of ELSEIF not allowed; use ELSE IF instead
(#243) Line indented incorrectly; expected at least 12 spaces, found 8
(#244) Line indented incorrectly; expected 8 spaces, found 4
(#245) Line indented incorrectly; expected at least 12 spaces, found 8
(#245) Whitespace found at end of line
(#246) Line indented incorrectly; expected 8 spaces, found 4
(#248) Line indented incorrectly; expected at least 8 spaces, found 4
(#248) Inline control structures are not allowed
(#249) Line indented incorrectly; expected at least 8 spaces, found 4
(#250) Line indented incorrectly; expected at least 8 spaces, found 4
(#250) Inline control structures are not allowed
(#251) Line indented incorrectly; expected at least 8 spaces, found 4
(#251) Variable "FILE" must be all lower-case
(#252) Line indented incorrectly; expected at least 8 spaces, found 4
(#252) Inline control structures are not allowed
(#252) Variable "FILE" must be all lower-case
(#253) Line indented incorrectly; expected at least 8 spaces, found 4
(#253) Variable "FILE" must be all lower-case
(#254) Line indented incorrectly; expected at least 8 spaces, found 4
(#254) Variable "FILE" must be all lower-case
(#255) Line indented incorrectly; expected at least 8 spaces, found 4
(#256) Line indented incorrectly; expected 4 spaces, found 0
(#258) Line indented incorrectly; expected at least 4 spaces, found 0
(#259) Expected 1 space(s) before asterisk; 0 found
(#260) Expected 1 space(s) before asterisk; 0 found
(#261) Expected 1 space(s) before asterisk; 0 found
(#262) Expected 1 space(s) before asterisk; 0 found
(#263) Expected 1 space(s) before asterisk; 0 found
(#264) Line indented incorrectly; expected 4 spaces, found 0
(#265) Line indented incorrectly; expected at least 8 spaces, found 4
(#267) Line indented incorrectly; expected 8 spaces, found 4
(#267) Expected "if (...) {\n"; found "if (...){\n"
(#268) Line indented incorrectly; expected at least 12 spaces, found 8
(#269) Line indented incorrectly; expected 8 spaces, found 4
(#269) Usage of ELSEIF not allowed; use ELSE IF instead
(#270) Line indented incorrectly; expected at least 12 spaces, found 8
(#271) Line indented incorrectly; expected 8 spaces, found 4
(#272) Line indented incorrectly; expected at least 12 spaces, found 8
(#272) Whitespace found at end of line
(#273) Line indented incorrectly; expected 8 spaces, found 4
(#275) Line indented incorrectly; expected at least 8 spaces, found 4
(#275) Inline control structures are not allowed
(#276) Line indented incorrectly; expected at least 8 spaces, found 4
(#276) Variable "fullPath" must be all lower-case
(#277) Line indented incorrectly; expected 8 spaces, found 4
(#277) Expected "if (...) {\n"; found "if (...){\n"
(#277) Variable "fullPath" must be all lower-case
(#278) Line indented incorrectly; expected at least 12 spaces, found 8
(#278) Variable "FILE" must be all lower-case
(#278) Variable "fullPath" must be all lower-case
(#279) Line indented incorrectly; expected at least 12 spaces, found 8
(#279) Variable "FILE" must be all lower-case
(#280) Line indented incorrectly; expected 8 spaces, found 4
(#281) Line indented incorrectly; expected at least 8 spaces, found 4
(#282) Line indented incorrectly; expected 4 spaces, found 0
(#284) Line indented incorrectly; expected at least 4 spaces, found 0
(#285) Expected 1 space(s) before asterisk; 0 found
(#286) Expected 1 space(s) before asterisk; 0 found
(#287) Expected 1 space(s) before asterisk; 0 found
(#288) Expected 1 space(s) before asterisk; 0 found
(#289) Expected 1 space(s) before asterisk; 0 found
(#290) Line indented incorrectly; expected 4 spaces, found 0
(#290) Expected 1 space after closing parenthesis; found 0
(#291) Line indented incorrectly; expected at least 8 spaces, found 4
(#293) Line indented incorrectly; expected 8 spaces, found 4
(#293) Expected "if (...) {\n"; found "if (...){\n"
(#294) Line indented incorrectly; expected at least 12 spaces, found 8
(#295) Line indented incorrectly; expected 8 spaces, found 4
(#295) Usage of ELSEIF not allowed; use ELSE IF instead
(#296) Line indented incorrectly; expected at least 12 spaces, found 8
(#297) Line indented incorrectly; expected 8 spaces, found 4
(#298) Line indented incorrectly; expected at least 12 spaces, found 8
(#298) Whitespace found at end of line
(#299) Line indented incorrectly; expected 8 spaces, found 4
(#301) Line indented incorrectly; expected at least 8 spaces, found 4
(#301) Inline control structures are not allowed
(#302) Line indented incorrectly; expected at least 8 spaces, found 4
(#302) Inline control structures are not allowed
(#304) Line indented incorrectly; expected at least 8 spaces, found 4
(#305) Line indented incorrectly; expected 4 spaces, found 0
(#307) Line indented incorrectly; expected at least 4 spaces, found 0
(#308) Expected 1 space(s) before asterisk; 0 found
(#309) Expected 1 space(s) before asterisk; 0 found
(#310) Expected 1 space(s) before asterisk; 0 found
(#311) Expected 1 space(s) before asterisk; 0 found
(#312) Line indented incorrectly; expected 4 spaces, found 0
(#312) Expected 1 space after closing parenthesis; found 0
(#313) Line indented incorrectly; expected at least 8 spaces, found 4
(#315) Line indented incorrectly; expected 8 spaces, found 4
(#315) Expected "if (...) {\n"; found "if (...){\n"
(#316) Line indented incorrectly; expected at least 12 spaces, found 8
(#317) Line indented incorrectly; expected 8 spaces, found 4
(#317) Usage of ELSEIF not allowed; use ELSE IF instead
(#318) Line indented incorrectly; expected at least 12 spaces, found 8
(#319) Line indented incorrectly; expected 8 spaces, found 4
(#320) Line indented incorrectly; expected at least 12 spaces, found 8
(#320) Whitespace found at end of line
(#321) Line indented incorrectly; expected 8 spaces, found 4
(#323) Line indented incorrectly; expected at least 8 spaces, found 4
(#323) Inline control structures are not allowed
(#324) Line indented incorrectly; expected at least 8 spaces, found 4
(#324) Inline control structures are not allowed
(#325) Line indented incorrectly; expected at least 8 spaces, found 6
(#326) Line indented incorrectly; expected 4 spaces, found 0
(#328) Line indented incorrectly; expected at least 4 spaces, found 0
(#329) Expected 1 space(s) before asterisk; 0 found
(#330) Expected 1 space(s) before asterisk; 0 found
(#331) Expected 1 space(s) before asterisk; 0 found
(#332) Expected 1 space(s) before asterisk; 0 found
(#333) Line indented incorrectly; expected 4 spaces, found 0
(#333) Expected 1 space after closing parenthesis; found 0
(#334) Line indented incorrectly; expected at least 8 spaces, found 4
(#336) Line indented incorrectly; expected 8 spaces, found 4
(#336) Expected "if (...) {\n"; found "if (...){\n"
(#337) Line indented incorrectly; expected at least 12 spaces, found 8
(#338) Line indented incorrectly; expected 8 spaces, found 4
(#338) Usage of ELSEIF not allowed; use ELSE IF instead
(#339) Line indented incorrectly; expected at least 12 spaces, found 8
(#340) Line indented incorrectly; expected 8 spaces, found 4
(#341) Line indented incorrectly; expected at least 12 spaces, found 8
(#341) Whitespace found at end of line
(#342) Line indented incorrectly; expected 8 spaces, found 4
(#344) Line indented incorrectly; expected 8 spaces, found 4
(#344) Expected "if (...) {\n"; found "if (...){\n"
(#345) Line indented incorrectly; expected at least 12 spaces, found 8
(#345) Inline control structures are not allowed
(#346) Line indented incorrectly; expected at least 12 spaces, found 8
(#347) Line indented incorrectly; expected 8 spaces, found 4
(#348) Line indented incorrectly; expected at least 8 spaces, found 4
(#349) Line indented incorrectly; expected 4 spaces, found 0
(#351) Line indented incorrectly; expected at least 4 spaces, found 0
(#352) Expected 1 space(s) before asterisk; 0 found
(#353) Expected 1 space(s) before asterisk; 0 found
(#354) Expected 1 space(s) before asterisk; 0 found
(#355) Expected 1 space(s) before asterisk; 0 found
(#356) Expected 1 space(s) before asterisk; 0 found
(#357) Line indented incorrectly; expected 4 spaces, found 0
(#358) Line indented incorrectly; expected at least 8 spaces, found 4
(#360) Line indented incorrectly; expected 8 spaces, found 4
(#360) Expected "if (...) {\n"; found "if (...){\n"
(#361) Line indented incorrectly; expected at least 12 spaces, found 8
(#362) Line indented incorrectly; expected 8 spaces, found 4
(#362) Usage of ELSEIF not allowed; use ELSE IF instead
(#363) Line indented incorrectly; expected at least 12 spaces, found 8
(#364) Line indented incorrectly; expected 8 spaces, found 4
(#365) Line indented incorrectly; expected at least 12 spaces, found 8
(#365) Whitespace found at end of line
(#366) Line indented incorrectly; expected 8 spaces, found 4
(#368) Line indented incorrectly; expected at least 8 spaces, found 4
(#368) Inline control structures are not allowed
(#369) Line indented incorrectly; expected at least 8 spaces, found 4
(#369) Inline control structures are not allowed
(#370) Line indented incorrectly; expected at least 8 spaces, found 4
(#371) Line indented incorrectly; expected at least 8 spaces, found 4
(#371) Inline control structures are not allowed
(#372) Line indented incorrectly; expected at least 8 spaces, found 4
(#373) Line indented incorrectly; expected 4 spaces, found 0
(#375) Line indented incorrectly; expected at least 4 spaces, found 0
(#376) Expected 1 space(s) before asterisk; 0 found
(#377) Expected 1 space(s) before asterisk; 0 found
(#378) Expected 1 space(s) before asterisk; 0 found
(#379) Expected 1 space(s) before asterisk; 0 found
(#380) Expected 1 space(s) before asterisk; 0 found
(#381) Line indented incorrectly; expected 4 spaces, found 0
(#382) Line indented incorrectly; expected at least 8 spaces, found 4
(#384) Line indented incorrectly; expected 8 spaces, found 4
(#384) Expected "if (...) {\n"; found "if (...){\n"
(#385) Line indented incorrectly; expected at least 12 spaces, found 8
(#386) Line indented incorrectly; expected 8 spaces, found 4
(#386) Usage of ELSEIF not allowed; use ELSE IF instead
(#387) Line indented incorrectly; expected at least 12 spaces, found 8
(#388) Line indented incorrectly; expected 8 spaces, found 4
(#389) Line indented incorrectly; expected at least 12 spaces, found 8
(#389) Whitespace found at end of line
(#390) Line indented incorrectly; expected 8 spaces, found 4
(#391) Whitespace found at end of line
(#392) Line indented incorrectly; expected at least 8 spaces, found 4
(#392) Inline control structures are not allowed
(#393) Line indented incorrectly; expected at least 8 spaces, found 4
(#394) Line indented incorrectly; expected at least 8 spaces, found 4
(#395) Line indented incorrectly; expected 4 spaces, found 0
(#397) Line indented incorrectly; expected at least 4 spaces, found 0
(#397) Blank comments are not allowed
(#399) A closing tag is not permitted at the end of a PHP file
mod/magtest/forms/addcategories_form.php
(#34) Inline doc block comments are not allowed; use "// Comment." instead
(#57) Visibility must be declared on method "__construct"
(#64) Visibility must be declared on method "definition"
(#65) Commas (,) must be followed by white space.
(#65) Commas (,) must be followed by white space.
(#65) Commas (,) must be followed by white space.
(#82) Variable "mod_context" must not contain underscores.
(#83) Expected 1 space after "=>"; 2 found
(#83) Variable "mod_context" must not contain underscores.
(#91) Space found before first semicolon of FOR loop
(#91) Space found before second semicolon of FOR loop
(#91) Space found before semicolon; expected "0;" but found "0 ;"
(#91) Space found before semicolon; expected "howmany;" but found "howmany ;"
(#92) Expected 1 space before "+"; 0 found
(#92) Expected 1 space after "+"; 0 found
(#101) Commas (,) must be followed by white space.
(#101) Commas (,) must be followed by white space.
(#101) Commas (,) must be followed by white space.
(#103) Variable "catdesc_editor" must not contain underscores.
(#103) Line exceeds 132 characters; contains 134 characters
(#104) Variable "catresult_editor" must not contain underscores.
(#104) Line exceeds 132 characters; contains 146 characters
(#107) Line exceeds 132 characters; contains 164 characters
(#109) Line exceeds 132 characters; contains 164 characters
(#138) Variable "catdesc_editor" must not contain underscores.
(#139) Variable "catdesc_editor" must not contain underscores.
(#141) Variable "catresult_editor" must not contain underscores.
(#141) Line exceeds 132 characters; contains 136 characters
(#142) Variable "catresult_editor" must not contain underscores.
(#145) Line exceeds 132 characters; contains 154 characters
(#147) Line exceeds 132 characters; contains 154 characters
mod/magtest/forms/addquestions_form.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#42) Visibility must be declared on method "__construct"
(#49) Visibility must be declared on method "definition"
(#50) Line indented incorrectly; expected at least 8 spaces, found 7
(#53) Variable "mod_context" must not contain underscores.
(#53) Whitespace found at end of line
(#68) Expected 1 space after "*"; 0 found
(#68) Space found before semicolon; expected "100;" but found "100 ;"
(#69) Commas (,) must be followed by white space.
(#69) Variable "mod_context" must not contain underscores.
(#69) Line exceeds 132 characters; contains 144 characters
(#70) Expected 1 space after "=>"; 2 found
(#70) Variable "mod_context" must not contain underscores.
(#80) Whitespace found at end of line
(#82) Whitespace found at end of line
(#89) No space found before comment text; expected "// Insert hte question." but found "//Insert hte question."
(#90) No space found before comment text; expected "// Get the categories." but found "//Get the categories."
(#91) Commas (,) must be followed by white space.
(#101) Variable "question_answer_text" must not contain underscores.
(#103) Variable "question_editor" must not contain underscores.
(#103) Commas (,) must be followed by white space.
(#103) Variable "question_answer_text" must not contain underscores.
(#103) Line exceeds 132 characters; contains 147 characters
(#106) Variable "question_answer_text" must not contain underscores.
(#106) Line exceeds 132 characters; contains 142 characters
(#110) Space found before semicolon; expected "1;" but found "1 ;"
(#112) Whitespace found at end of line
(#115) Expected "if (...) {\n"; found "if (...){\n"
(#116) Variable "helper_text" must not contain underscores.
(#117) Variable "helper_editor" must not contain underscores.
(#117) Variable "helper_text" must not contain underscores.
(#126) Whitespace found at end of line
(#129) Variable "questiontext_editor" must not contain underscores.
(#129) Line exceeds 132 characters; contains 147 characters
(#131) Variable "mod_context" must not contain underscores.
(#131) Line exceeds 132 characters; contains 142 characters
(#133) No space found before comment text; expected "// Get the categories." but found "//Get the categories."
(#134) Commas (,) must be followed by white space.
(#137) Whitespace found at end of line
(#139) Variable "question_answer_text" must not contain underscores.
(#142) Line exceeds 132 characters; contains 176 characters
(#145) Variable "question_editor" must not contain underscores.
(#145) Commas (,) must be followed by white space.
(#145) Variable "question_answer_text" must not contain underscores.
(#145) Line exceeds 132 characters; contains 147 characters
(#155) Variable "helper_text" must not contain underscores.
(#156) Variable "helper_editor" must not contain underscores.
(#156) Variable "helper_text" must not contain underscores.
(#164) Commas (,) must be followed by white space.
(#164) Variable "mod_context" must not contain underscores.
(#164) Commas (,) must be followed by white space.
(#164) Line exceeds 132 characters; contains 161 characters
(#165) Whitespace found at end of line
(#169) Variable "mod_context" must not contain underscores.
(#169) Line exceeds 132 characters; contains 155 characters
mod/magtest/forms/import_questions_form.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#46) Line exceeds 132 characters; contains 135 characters
mod/magtest/import/import_questions.php
(#23) Whitespace found at end of line
(#30) "require_once" must be immediately followed by an open parenthesis
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Whitespace found at end of line
(#86) Whitespace found at end of line
(#101) Whitespace found at end of line
(#122) Whitespace found at end of line
(#123) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#158) 3 slashes comments are not allowed; use "// Comment." instead
mod/magtest/index.php
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) No space found before comment text; expected "// Show dimmed if the mod is hidden" but found "//Show dimmed if the mod is hidden"
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) No space found before comment text; expected "// Show normal if the mod is visible" but found "//Show normal if the mod is visible"
mod/magtest/lang/en/magtest.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#13) Whitespace found at end of line
(#15) Whitespace found at end of line
(#17) Whitespace found at end of line
(#19) Whitespace found at end of line
(#20) Whitespace found at end of line
(#22) Whitespace found at end of line
(#23) Whitespace found at end of line
(#24) Whitespace found at end of line
(#25) Whitespace found at end of line
(#29) Whitespace found at end of line
(#32) Whitespace found at end of line
(#34) Whitespace found at end of line
(#42) Whitespace found at end of line
(#45) Whitespace found at end of line
(#46) Whitespace found at end of line
(#58) Whitespace found at end of line
(#66) Whitespace found at end of line
(#85) Whitespace found at end of line
(#86) Whitespace found at end of line
(#88) Whitespace found at end of line
(#89) Whitespace found at end of line
(#90) Whitespace found at end of line
(#91) Whitespace found at end of line
(#97) Whitespace found at end of line
(#98) Whitespace found at end of line
(#99) Whitespace found at end of line
(#100) Whitespace found at end of line
(#101) Whitespace found at end of line
(#102) Whitespace found at end of line
(#103) Whitespace found at end of line
(#105) Whitespace found at end of line
(#106) Whitespace found at end of line
(#109) Whitespace found at end of line
(#110) Whitespace found at end of line
(#114) Whitespace found at end of line
(#115) Whitespace found at end of line
(#116) Whitespace found at end of line
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Whitespace found at end of line within string
(#131) Whitespace found at end of line within string
(#132) Whitespace found at end of line within string
(#133) Whitespace found at end of line within string
(#167) Whitespace found at end of line within string
(#168) Whitespace found at end of line within string
mod/magtest/lang/fr/magtest.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#23) Whitespace found at end of line
(#107) Whitespace found at end of line
(#115) Whitespace found at end of line
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Whitespace found at end of line within string
(#135) Whitespace found at end of line within string
(#147) The use of backticks in strings is not recommended
(#154) Whitespace found at end of line within string
(#168) The use of backticks in strings is not recommended
(#170) The use of backticks in strings is not recommended
(#176) The use of backticks in strings is not recommended
mod/magtest/lib.php
(#40) Closing brace must be on a line by itself
(#41) Closing brace must be on a line by itself
(#42) Closing brace must be on a line by itself
(#43) Closing brace must be on a line by itself
(#44) Closing brace must be on a line by itself
(#45) Closing brace must be on a line by itself
(#46) Closing brace must be on a line by itself
(#47) Closing brace must be on a line by itself
(#48) Closing brace must be on a line by itself
(#49) Closing brace must be on a line by itself
(#51) Closing brace must be on a line by itself
(#56) Whitespace found at end of line
(#57) Whitespace found at end of line
(#58) Whitespace found at end of line
(#83) Whitespace found at end of line
(#84) Whitespace found at end of line
(#100) Whitespace found at end of line
(#108) Inline control structures are not allowed
(#109) Inline control structures are not allowed
(#110) Inline control structures are not allowed
(#111) Inline control structures are not allowed
(#112) Inline control structures are not allowed
(#113) Inline control structures are not allowed
(#119) Whitespace found at end of line
(#120) Whitespace found at end of line
(#121) Whitespace found at end of line
(#157) Whitespace found at end of line
(#181) Whitespace found at end of line
(#197) Space found before semicolon; expected ");" but found ") ;"
(#215) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#221) Whitespace found at end of line
(#236) Whitespace found at end of line
(#247) Line indented incorrectly; expected at least 4 spaces, found 3
(#247) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#297) Commas (,) must be followed by white space.
(#322) Commas (,) must be followed by white space.
(#322) Line exceeds 132 characters; contains 162 characters
(#340) Commas (,) must be followed by white space.
(#363) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#412) Expected 1 space before ":"; 0 found
(#412) Expected 1 space after ":"; 0 found
(#423) Inline comments must end in full-stops, exclamation marks, or question marks
(#458) 86 slashes comments are not allowed; use "// Comment." instead
(#459) 3 slashes comments are not allowed; use "// Comment." instead
(#459) Whitespace found at end of line
(#460) Inline comments must end in full-stops, exclamation marks, or question marks
(#460) 3 slashes comments are not allowed; use "// Comment." instead
mod/magtest/listlib.php
(#42) Commas (,) must be followed by white space.
(#48) Expected 1 space after "="; 2 found
(#49) Inline control structures are not allowed
(#63) Whitespace found at end of line
(#64) Whitespace found at end of line
(#77) Expected 1 space after "="; 2 found
(#84) Whitespace found at end of line within string
(#85) Whitespace found at end of line within string
(#86) Whitespace found at end of line within string
(#88) Whitespace found at end of line within string
(#91) Whitespace found at end of line within string
(#120) Expected 1 space after "="; 2 found
(#140) Expected 1 space after "="; 2 found
(#145) Expected 1 space after "="; 2 found
mod/magtest/locallib.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) "require_once" must be immediately followed by an open parenthesis
(#45) Whitespace found at end of line
(#47) Whitespace found at end of line
(#48) Whitespace found at end of line
(#75) Whitespace found at end of line
(#97) Whitespace found at end of line
(#122) Whitespace found at end of line
(#128) Whitespace found at end of line
(#140) Usage of ELSEIF not allowed; use ELSE IF instead
(#141) Inline comments must start with a capital letter, digit or 3-dots sequence
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) Inline comments must start with a capital letter, digit or 3-dots sequence
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Expected 1 space(s) before asterisk; 0 found
(#156) Expected 1 space(s) before asterisk; 0 found
(#157) Expected 1 space(s) before asterisk; 0 found
(#158) Expected 1 space(s) before asterisk; 0 found
(#178) Expected "if (...) {\n"; found "if (...){\n"
(#183) Line exceeds 132 characters; contains 169 characters
(#187) Whitespace found at end of line
(#189) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#209) Space found before first semicolon of FOR loop
(#209) Space found before second semicolon of FOR loop
(#209) Space found before semicolon; expected "0;" but found "0 ;"
(#209) Space found before semicolon; expected ");" but found ") ;"
(#243) Variable "max_cat" must not contain underscores.
(#249) Commas (,) must be followed by white space.
(#252) Line indented incorrectly; expected 4 spaces, found 5
(#252) Closing brace indented incorrectly; expected 4 spaces, found 5
(#256) Variable "count_cat" must not contain underscores.
(#264) Variable "count_cat" must not contain underscores.
(#264) Variable "count_cat" must not contain underscores.
(#273) Variable "count_cat" must not contain underscores.
(#273) Variable "count_cat" must not contain underscores.
(#279) Variable "max_cat" must not contain underscores.
(#280) Variable "max_cat" must not contain underscores.
(#281) Variable "max_cat" must not contain underscores.
(#283) Variable "count_cat" must not contain underscores.
(#283) Variable "max_cat" must not contain underscores.
(#284) Variable "max_cat" must not contain underscores.
(#284) Variable "count_cat" must not contain underscores.
(#305) Inline comments must end in full-stops, exclamation marks, or question marks
(#316) Whitespace found at end of line within string
(#318) Whitespace found at end of line within string
(#320) Whitespace found at end of line within string
(#322) Whitespace found at end of line within string
mod/magtest/maketest.controller.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#69) Line exceeds 132 characters; contains 155 characters
mod/magtest/maketest.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#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
(#71) Commas (,) must be followed by white space.
(#76) Whitespace found at end of line
(#86) Line exceeds 132 characters; contains 133 characters
(#88) Inline comments must start with a capital letter, digit or 3-dots sequence
mod/magtest/mod_form.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#31) Expected 1 space(s) before asterisk; 0 found
(#32) Expected 1 space(s) before asterisk; 0 found
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
mod/magtest/preview.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#55) Line exceeds 132 characters; contains 155 characters
(#69) Line exceeds 132 characters; contains 155 characters
(#78) Line exceeds 132 characters; contains 168 characters
mod/magtest/questions.controller.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
mod/magtest/questions.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#37) Variable "nb_cat" must not contain underscores.
(#38) Variable "nb_cat" must not contain underscores.
(#39) Commas (,) must be followed by white space.
(#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
(#45) Whitespace found at end of line
(#53) Commas (,) must be followed by white space.
(#53) Commas (,) must be followed by white space.
(#53) Commas (,) must be followed by white space.
(#54) Commas (,) must be followed by white space.
(#54) Commas (,) must be followed by white space.
(#54) Commas (,) must be followed by white space.
(#55) Commas (,) must be followed by white space.
(#55) Commas (,) must be followed by white space.
(#55) Commas (,) must be followed by white space.
(#66) Line exceeds 132 characters; contains 149 characters
(#69) Line exceeds 132 characters; contains 149 characters
(#75) Line exceeds 132 characters; contains 151 characters
(#80) Expected 1 space after ".="; 0 found
(#88) Commas (,) must be followed by white space.
(#88) Line exceeds 132 characters; contains 150 characters
(#90) Line exceeds 132 characters; contains 162 characters
mod/magtest/questionsview.controller.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#28) Variable "tab_answers" must not contain underscores.
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#31) Variable "tab_answers" must not contain underscores.
(#31) Expected 1 space before "=>"; 0 found
(#31) Expected 1 space after "=>"; 0 found
(#37) Whitespace found at end of line
(#44) Commas (,) must be followed by white space.
(#46) Variable "nb_questions" must not contain underscores.
(#46) Variable "nb_questions" must not contain underscores.
(#50) Commas (,) must be followed by white space.
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Expected 1 space before "+"; 0 found
(#57) Expected 1 space after "+"; 0 found
(#57) Variable "nb_questions" must not contain underscores.
(#58) Commas (,) must be followed by white space.
(#59) Space found before semicolon; expected "1;" but found "1 ;"
(#62) Variable "nb_questions" must not contain underscores.
(#62) Variable "nb_questions" must not contain underscores.
(#63) Commas (,) must be followed by white space.
(#67) Commas (,) must be followed by white space.
(#68) Commas (,) must be followed by white space.
(#71) Expected 1 space before "-"; 0 found
(#71) Expected 1 space after "-"; 0 found
(#77) Commas (,) must be followed by white space.
(#78) Commas (,) must be followed by white space.
(#81) Expected 1 space before "+"; 0 found
(#81) Expected 1 space after "+"; 0 found
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) Commas (,) must be followed by white space.
mod/magtest/questionsview.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#22) Variable "nb_cat" must not contain underscores.
(#22) Commas (,) must be followed by white space.
(#24) Variable "nb_cat" must not contain underscores.
(#25) Commas (,) must be followed by white space.
(#30) Variable "nb_questions" must not contain underscores.
(#38) Line indented incorrectly; expected 0 spaces, found 1
(#38) Closing brace indented incorrectly; expected 0 spaces, found 1
(#43) Whitespace found at end of line
(#44) Line indented incorrectly; expected 0 spaces, found 1
(#46) Variable "tab_not_ok" must not contain underscores.
(#47) Variable "tab_not_ok" must not contain underscores.
(#48) Variable "tab_not_ok" must not contain underscores.
(#51) Variable "not_ok" must not contain underscores.
(#51) Expected 1 space after "="; 2 found
(#51) Variable "tab_not_ok" must not contain underscores.
(#63) Variable "not_ok" must not contain underscores.
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#70) Line exceeds 132 characters; contains 134 characters
(#76) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#76) Space found after opening bracket of FOREACH loop
(#77) Variable "tab_cat" must not contain underscores.
(#79) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#80) Line indented incorrectly; expected at least 4 spaces, found 0
(#88) Commas (,) must be followed by white space.
(#88) Commas (,) must be followed by white space.
(#95) Whitespace found at end of line
(#97) Variable "tab_cat" must not contain underscores.
(#97) Whitespace found at end of line
(#98) Inline comments must start with a capital letter, digit or 3-dots sequence
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) This comment is 67% valid code; is this commented out code?
(#98) Whitespace found at end of line
(#116) Variable "nb_questions" must not contain underscores.
(#117) Variable "nb_questions" must not contain underscores.
(#118) Variable "str_i" must not contain underscores.
(#119) Commas (,) must be followed by white space.
(#119) Variable "tab_not_ok" must not contain underscores.
(#120) Variable "str_i" must not contain underscores.
(#126) Variable "str_i" must not contain underscores.
(#127) Variable "nb_questions" must not contain underscores.
(#131) Variable "str_i" must not contain underscores.
mod/magtest/renderer.php
(#44) Inline comments must start with a capital letter, digit or 3-dots sequence
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Whitespace found at end of line
(#75) Commas (,) must be followed by white space.
(#75) Line exceeds 132 characters; contains 161 characters
(#77) Whitespace found at end of line
(#91) Commas (,) must be followed by white space.
(#91) Line exceeds 132 characters; contains 179 characters
(#91) Whitespace found at end of line
(#109) Visibility must be declared on method "print_magtest_singlechoice"
(#116) Commas (,) must be followed by white space.
(#116) Line exceeds 132 characters; contains 161 characters
(#131) Visibility must be declared on method "make_test"
(#153) Line exceeds maximum limit of 180 characters; contains 233 characters
(#156) Line exceeds maximum limit of 180 characters; contains 222 characters
(#160) Line exceeds maximum limit of 180 characters; contains 185 characters
(#179) Whitespace found at end of line within string
mod/magtest/results.controller.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#43) Variable "max_cat" must not contain underscores.
(#57) Expected "if (...) {\n"; found "if (...){\n"
mod/magtest/results.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#39) Line exceeds 132 characters; contains 147 characters
(#47) Commas (,) must be followed by white space.
(#53) Commas (,) must be followed by white space.
(#57) Commas (,) must be followed by white space.
(#63) Variable "count_cat" must not contain underscores.
(#65) Variable "nb_total" must not contain underscores.
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Variable "count_cat" must not contain underscores.
(#74) Variable "count_cat" must not contain underscores.
(#74) Line exceeds 132 characters; contains 150 characters
(#82) Variable "count_cat" must not contain underscores.
(#82) Variable "count_cat" must not contain underscores.
(#82) Line exceeds 132 characters; contains 143 characters
(#82) Space found before semicolon; expected "weight;" but found "weight ;"
(#88) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#90) Variable "tab_empty" must not contain underscores.
(#90) Whitespace found at end of line
(#106) Variable "tab_empty" must not contain underscores.
(#107) Variable "count_cat" must not contain underscores.
(#107) Whitespace found at end of line
mod/magtest/resultsbycats.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#64) Line exceeds 132 characters; contains 145 characters
(#69) Variable "max_cat" must not contain underscores.
(#81) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#86) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#88) Inline comments must start with a capital letter, digit or 3-dots sequence
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Variable "max_cat" must not contain underscores.
(#103) Line exceeds 132 characters; contains 145 characters
(#115) Line exceeds 132 characters; contains 144 characters
mod/magtest/resultsbyusers.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#21) Whitespace found at end of line
(#61) Line exceeds 132 characters; contains 154 characters
(#72) Commas (,) must be followed by white space.
(#78) Variable "count_cat" must not contain underscores.
(#79) Variable "nb_total" must not contain underscores.
(#87) Variable "count_cat" must not contain underscores.
(#87) Variable "count_cat" must not contain underscores.
(#94) Variable "count_cat" must not contain underscores.
(#94) Variable "count_cat" must not contain underscores.
(#104) Variable "max_cat" must not contain underscores.
(#105) Variable "max_cat" must not contain underscores.
(#106) Variable "max_cat" must not contain underscores.
(#108) Variable "count_cat" must not contain underscores.
(#108) Variable "max_cat" must not contain underscores.
(#109) Variable "max_cat" must not contain underscores.
(#109) Variable "count_cat" must not contain underscores.
(#110) Variable "max_cat" must not contain underscores.
(#131) Variable "max_cat" must not contain underscores.
(#138) Variable "count_cat" must not contain underscores.
mod/magtest/settings.php
(#19) Inline doc block comments are not allowed; use "// Comment." instead
mod/magtest/stat.php
(#19) Whitespace found at end of line
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#47) Line exceeds 132 characters; contains 145 characters
(#59) Variable "count_cat" must not contain underscores.
(#60) Variable "nb_total" must not contain underscores.
(#68) Variable "count_cat" must not contain underscores.
(#68) Variable "count_cat" must not contain underscores.
(#70) Variable "count_users" must not contain underscores.
(#74) Expected "if (...) {\n"; found "if (...){\n"
(#75) Variable "count_cat" must not contain underscores.
(#75) Variable "count_cat" must not contain underscores.
(#77) Variable "count_users" must not contain underscores.
(#86) Variable "count_cat" must not contain underscores.
(#89) Variable "count_cat" must not contain underscores.
(#90) Variable "count_cat" must not contain underscores.
(#98) Variable "count_users" must not contain underscores.
(#111) Variable "count_cat" must not contain underscores.
(#125) Variable "count_cat" must not contain underscores.
mod/magtest/testfinish.php
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#32) Variable "count_cat" must not contain underscores.
(#33) Variable "nb_total" must not contain underscores.
(#41) Whitespace found at end of line
(#42) Variable "tab_cat" must not contain underscores.
(#49) Space found before semicolon; expected "1;" but found "1 ;"
(#49) Whitespace found at end of line
(#67) Variable "tab_cat" must not contain underscores.
(#67) Commas (,) must be followed by white space.
mod/magtest/testfinished.php
(#36) Commas (,) must be followed by white space.
(#48) Line exceeds 132 characters; contains 138 characters
(#59) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#105) Line exceeds maximum limit of 180 characters; contains 196 characters
mod/magtest/version.php
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
mod/magtest/view.php
(#31) Commas (,) must be followed by white space.
(#32) Commas (,) must be followed by white space.
(#136) Expected 1 space before "="; 0 found
(#138) Expected 1 space before "="; 0 found
(#156) Variable "file_to_include" must not contain underscores.
(#163) Variable "file_to_include" must not contain underscores.
(#170) Variable "file_to_include" must not contain underscores.
(#177) Variable "file_to_include" must not contain underscores.
(#186) Variable "file_to_include" must not contain underscores.
(#190) Variable "file_to_include" must not contain underscores.
(#198) Variable "file_to_include" must not contain underscores.
(#221) "include" must be immediately followed by an open parenthesis
(#221) File is being unconditionally included; use "require" instead
(#221) Variable "file_to_include" must not contain underscores.

Javascript coding style problems

(1 errors, 501 warnings)

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

mod/magtest/js/jquery-1.8.2.min.js
(#2) This character may get silently deleted by one or more browsers.
(#2) Line is too long.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'd'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'continue'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'a'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'while'.
(#2) Expected '{' and instead saw 'c'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'p'.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected '!==' and instead saw '!='.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'continue'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'continue'.
(#2) Expected '{' and instead saw 'c'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'c'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '{' and instead saw 'd'.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'bJ'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'p'.
(#2) Expected '===' and instead saw '=='.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'ci'.
(#2) Expected '{' and instead saw 'd'.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'd'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'h'.
(#2) Expected '===' and instead saw '=='.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'c'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'f'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'j'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'if'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'g'.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'i'.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'for'.
(#2) Confusing use of '!'.
(#2) Confusing use of '!'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Confusing use of '!'.
(#2) Expected '{' and instead saw 'if'.
(#2) ['throws'] is better written in dot notation.
(#2) Expected '{' and instead saw 'b'.
(#2) Expected '{' and instead saw 'try'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing '()' invoking a constructor.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'j'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'j'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'c'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'b'.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'continue'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'p'.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'e'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'c'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '===' and instead saw '=='.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'continue'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Confusing use of '!'.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'return'.
(#2) Confusing use of '!'.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw ';'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'return'.
(#2) The Function constructor is a form of eval.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing '()' invoking a constructor.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'if'.
(#2) Confusing use of '!'.
(#2) Expected '{' and instead saw 'break'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'if'.
(#2) Confusing use of '!'.
(#2) Expected '{' and instead saw 'break'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'if'.
(#2) Confusing use of '!'.
(#2) Expected '{' and instead saw 'break'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'if'.
(#2) Confusing use of '!'.
(#2) Expected '{' and instead saw 'break'.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'a'.
(#2) Expected '{' and instead saw 'while'.
(#2) Expected '{' and instead saw 'a'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'd'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'e'.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'e'.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '{' and instead saw 'p'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'c'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing '()' invoking a constructor.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'setTimeout'.
(#2) Expected '{' and instead saw 'e'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '===' and instead saw '=='.
(#2) Missing 'new' prefix when invoking a constructor.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'if'.
(#2) Confusing use of '!'.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'i'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Unexpected use of '^'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'c'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'j'.
(#2) Expected '===' and instead saw '=='.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing 'new' prefix when invoking a constructor.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '{' and instead saw 'e'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'delete'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing 'new' prefix when invoking a constructor.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Confusing use of '!'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'g'.
(#2) Missing 'new' prefix when invoking a constructor.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing 'new' prefix when invoking a constructor.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'd'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'e'.
(#2) Too many errors. (100% scanned).
mod/magtest/js/js.js
(#2) 'updaterenderer' is defined but never used.

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(276 errors, 13 warnings)

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

mod/magtest/backup/moodle1/lib.php
(#2) Empty line found after PHP open tag
(#186) Function moodle1_mod_magtest_handler::on_answers_start is not documented
(#190) Function moodle1_mod_magtest_handler::on_answers_end is not documented
(#195) Function moodle1_mod_magtest_handler::process_answer is not documented
(#226) Function moodle1_mod_magtest_handler::on_questions_start is not documented
(#230) Function moodle1_mod_magtest_handler::on_questions_end is not documented
(#235) Function moodle1_mod_magtest_handler::process_question is not documented
(#261) Function moodle1_mod_magtest_handler::on_categories_start is not documented
(#265) Function moodle1_mod_magtest_handler::on_categories_end is not documented
(#270) Function moodle1_mod_magtest_handler::process_category is not documented
(#18) No one-line description found in phpdocs for file
(#108) Phpdocs for function moodle1_mod_magtest_handler::process_magtest has incomplete parameters list
(#30) Class moodle1_mod_magtest_handler does not have @copyright tag
(#30) Class moodle1_mod_magtest_handler does not have @license tag
(#22) Package mod is not valid
mod/magtest/backup/moodle2/backup_magtest_activity_task.class.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#29) No one-line description found in phpdocs for class backup_magtest_activity_task
(#50) Phpdocs for function backup_magtest_activity_task::encode_content_links has incomplete parameters list
(#29) Class backup_magtest_activity_task does not have @copyright tag
(#29) Class backup_magtest_activity_task does not have @license tag
(#19) Package mod-magtest is not valid
mod/magtest/backup/moodle2/backup_magtest_settingslib.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#19) Package mod-magtest is not valid
mod/magtest/backup/moodle2/backup_magtest_stepslib.php
(#2) Empty line found after PHP open tag
(#34) Function backup_magtest_activity_structure_step::define_structure is not documented
(#18) No one-line description found in phpdocs for file
(#29) Class backup_magtest_activity_structure_step does not have @copyright tag
(#29) Class backup_magtest_activity_structure_step does not have @license tag
(#19) Package mod is not valid
mod/magtest/backup/moodle2/restore_magtest_activity_task.class.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#28) No one-line description found in phpdocs for class restore_magtest_activity_task
(#18) File-level phpdocs block does not have @copyright tag
(#28) Class restore_magtest_activity_task does not have @copyright tag
(#28) Class restore_magtest_activity_task does not have @license tag
(#19) Package mod-magtest is not valid
mod/magtest/backup/moodle2/restore_magtest_stepslib.php
(#2) Empty line found after PHP open tag
(#33) Function restore_magtest_activity_structure_step::define_structure is not documented
(#55) Function restore_magtest_activity_structure_step::process_magtest is not documented
(#70) Function restore_magtest_activity_structure_step::after_execute is not documented
(#78) Function restore_magtest_activity_structure_step::process_magtest_category is not documented
(#91) Function restore_magtest_activity_structure_step::process_magtest_answer is not documented
(#106) Function restore_magtest_activity_structure_step::process_magtest_question is not documented
(#119) Function restore_magtest_activity_structure_step::process_magtest_useranswer is not documented
(#18) No one-line description found in phpdocs for file
(#28) Class restore_magtest_activity_structure_step does not have @copyright tag
(#28) Class restore_magtest_activity_structure_step does not have @license tag
(#19) Package mod-magtest is not valid
mod/magtest/categories.controller.php
(#17) File-level phpdocs block is not found
(#26) Invalid phpdocs tag @contributors used
(#30) Invalid phpdocs tag @usecase used
(#30) Invalid phpdocs tag @usecase used
(#30) Invalid phpdocs tag @usecase used
(#24) Category mod is not valid
mod/magtest/categories.php
(#17) File-level phpdocs block is not found
(#25) Invalid phpdocs tag @contributors used
(#23) Category mod is not valid
mod/magtest/categoriesview.php
(#17) File-level phpdocs block is not found
(#30) Class magtest_categories_form is not documented
(#32) Function magtest_categories_form::__construct is not documented
(#36) Function magtest_categories_form::definition is not documented
(#42) Function magtest_categories_form::definition_after_data is not documented
(#23) Invalid phpdocs tag @contributors used
(#30) Package is not specified for class magtest_categories_form. It is also not specified in file-level phpdocs
(#21) Category mod is not valid
mod/magtest/classes/event/course_module_instance_list_viewed.php
(#29) Class course_module_instance_list_viewed does not have @copyright tag
(#29) Class course_module_instance_list_viewed does not have @license tag
mod/magtest/classes/event/course_module_viewed.php
(#29) Class course_module_viewed does not have @copyright tag
(#29) Class course_module_viewed does not have @license tag
(#35) Invalid phpdocs tag @type used
(#35) Invalid phpdocs tag @type used
mod/magtest/classes/magtest.class.php
(#17) File-level phpdocs block is not found
(#28) Class MagTest is not documented
(#33) Phpdocs for function MagTest::addCategory has incomplete parameters list
(#23) Invalid phpdocs tag @contributors used
(#28) Package is not specified for class MagTest. It is also not specified in file-level phpdocs
(#21) Category mod is not valid
mod/magtest/db/access.php
(#2) Empty line found after PHP open tag
(#) File-level phpdocs block is not found
mod/magtest/db/upgrade.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#3) Function xmldb_magtest_upgrade is not documented
(#4) Found comment starting with three or more slashes
(#5) Found comment starting with three or more slashes
(#15) Found comment starting with three or more slashes
(#20) Found comment starting with three or more slashes
(#54) Found comment starting with three or more slashes
(#3) Package is not specified for function xmldb_magtest_upgrade. It is also not specified in file-level phpdocs
mod/magtest/editcategories.php
(#17) No one-line description found in phpdocs for file
(#21) Invalid phpdocs tag @contributors used
(#19) Category mod is not valid
mod/magtest/editquestions.php
(#17) No one-line description found in phpdocs for file
(#21) Invalid phpdocs tag @contributors used
(#19) Category mod is not valid
mod/magtest/filesystemlib.php
(#2) Empty line found after PHP open tag
(#3) No one-line description found in phpdocs for file
(#153) Phpdocs for function filesystem_clear_dir has incomplete parameters list
(#330) Phpdocs for function filesystem_move_file has incomplete parameters list
(#3) File-level phpdocs block does not have @copyright tag
(#11) Invalid phpdocs tag @date used
(#9) Package extralibs is not valid
(#10) Category third-party libs is not valid
mod/magtest/forms/addcategories_form.php
(#) File-level phpdocs block is not found
(#51) Class Category_Form is not documented
(#57) Function Category_Form::__construct is not documented
(#64) Function Category_Form::definition is not documented
(#53) Variable Category_Form::$cmd is not documented
(#54) Variable Category_Form::$magtest is not documented
(#55) Variable Category_Form::$howmany is not documented
(#38) Invalid phpdocs tag @contributors used
(#51) Package is not specified for class Category_Form. It is also not specified in file-level phpdocs
(#36) Category mod is not valid
mod/magtest/forms/addquestions_form.php
(#17) File-level phpdocs block is not found
(#36) Class Question_Form is not documented
(#42) Function Question_Form::__construct is not documented
(#49) Function Question_Form::definition is not documented
(#38) Variable Question_Form::$cmd is not documented
(#39) Variable Question_Form::$magtest is not documented
(#40) Variable Question_Form::$howmany is not documented
(#23) Invalid phpdocs tag @contributors used
(#36) Package is not specified for class Question_Form. It is also not specified in file-level phpdocs
(#21) Category mod is not valid
mod/magtest/forms/import_questions_form.php
(#17) File-level phpdocs block is not found
(#30) Class ImportQuestionsForm is not documented
(#32) Function ImportQuestionsForm::definition is not documented
(#52) Function ImportQuestionsForm::validation is not documented
(#23) Invalid phpdocs tag @contributors used
(#30) Package is not specified for class ImportQuestionsForm. It is also not specified in file-level phpdocs
(#21) Category mod is not valid
mod/magtest/help.php
(#17) No one-line description found in phpdocs for file
(#21) Invalid phpdocs tag @contributors used
(#19) Category mod is not valid
mod/magtest/import/import_questions.php
(#158) Found comment starting with three or more slashes
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#21) Invalid phpdocs tag @date used
(#19) Category mod is not valid
mod/magtest/index.php
(#23) Invalid phpdocs tag @contributors used
(#21) Category mod is not valid
mod/magtest/lang/en/magtest.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/magtest/lang/fr/magtest.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/magtest/lib.php
(#17) File-level phpdocs block is not found
(#78) Function pix_url is not documented
(#475) Function magtest_pluginfile is not documented
(#458) Found comment starting with three or more slashes
(#459) Found comment starting with three or more slashes
(#460) Found comment starting with three or more slashes
(#250) There is no description in phpdocs for function magtest_scale_used_anywhere
(#61) Phpdocs for function magtest_add_instance has incomplete parameters list
(#87) Phpdocs for function magtest_update_instance has incomplete parameters list
(#156) Phpdocs for function magtest_user_outline has incomplete parameters list
(#180) Phpdocs for function magtest_user_complete has incomplete parameters list
(#203) Phpdocs for function magtest_print_recent_activity has incomplete parameters list
(#250) Phpdocs for function magtest_scale_used_anywhere has incomplete parameters list
(#293) Phpdocs for function magtest_scale_used has incomplete parameters list
(#307) Phpdocs for function magtest_reset_userdata has incomplete parameters list
(#330) Phpdocs for function magtest_reset_course_form_definition has incomplete parameters list
(#462) Phpdocs for function magtest_activity_completed has incomplete parameters list
(#25) Invalid phpdocs tag @contributors used
(#33) Package is not specified for function magtest_supports. It is also not specified in file-level phpdocs
(#55) Package is not specified for function magtest_add_instance. It is also not specified in file-level phpdocs
(#78) Package is not specified for function pix_url. It is also not specified in file-level phpdocs
(#82) Package is not specified for function magtest_update_instance. It is also not specified in file-level phpdocs
(#118) Package is not specified for function magtest_delete_instance. It is also not specified in file-level phpdocs
(#156) Package is not specified for function magtest_user_outline. It is also not specified in file-level phpdocs
(#180) Package is not specified for function magtest_user_complete. It is also not specified in file-level phpdocs
(#203) Package is not specified for function magtest_print_recent_activity. It is also not specified in file-level phpdocs
(#218) Package is not specified for function magtest_cron. It is also not specified in file-level phpdocs
(#233) Package is not specified for function magtest_grades. It is also not specified in file-level phpdocs
(#250) Package is not specified for function magtest_scale_used_anywhere. It is also not specified in file-level phpdocs
(#259) Package is not specified for function magtest_get_participants. It is also not specified in file-level phpdocs
(#287) Package is not specified for function magtest_scale_used. It is also not specified in file-level phpdocs
(#303) Package is not specified for function magtest_reset_userdata. It is also not specified in file-level phpdocs
(#328) Package is not specified for function magtest_reset_course_form_definition. It is also not specified in file-level phpdocs
(#348) Package is not specified for function magtest_print_overview. It is also not specified in file-level phpdocs
(#462) Package is not specified for function magtest_activity_completed. It is also not specified in file-level phpdocs
(#475) Package is not specified for function magtest_pluginfile. It is also not specified in file-level phpdocs
(#507) Package is not specified for function magtest_dbcleaner_add_keys. It is also not specified in file-level phpdocs
(#23) Category mod is not valid
mod/magtest/listlib.php
(#17) File-level phpdocs block is not found
(#158) Phpdocs for function magtest_get_max_ordering has incomplete parameters list
(#27) Invalid phpdocs tag @date used
(#28) Invalid phpdocs tag @contributors used
(#35) Package is not specified for function magtest_list_delete. It is also not specified in file-level phpdocs
(#62) Package is not specified for function magtest_list_updateordering. It is also not specified in file-level phpdocs
(#107) Package is not specified for function magtest_list_up. It is also not specified in file-level phpdocs
(#131) Package is not specified for function magtest_list_down. It is also not specified in file-level phpdocs
(#156) Package is not specified for function magtest_get_max_ordering. It is also not specified in file-level phpdocs
(#25) Category mod is not valid
mod/magtest/locallib.php
(#17) File-level phpdocs block is not found
(#291) There is no description in phpdocs for function magtest_get_unsubmitted_users
(#56) Phpdocs for function magtest_get_question has incomplete parameters list
(#74) Phpdocs for function magtest_get_answers has incomplete parameters list
(#224) Phpdocs for function magtest_get_symbols_baseurl has incomplete parameters list
(#23) Invalid phpdocs tag @contributors used
(#32) Package is not specified for function magtest_get_questions. It is also not specified in file-level phpdocs
(#53) Package is not specified for function magtest_get_question. It is also not specified in file-level phpdocs
(#71) Package is not specified for function magtest_get_answers. It is also not specified in file-level phpdocs
(#95) Package is not specified for function magtest_get_categories. It is also not specified in file-level phpdocs
(#112) Package is not specified for function magtest_get_answer_cat. It is also not specified in file-level phpdocs
(#126) Package is not specified for function magtest_get_useranswers. It is also not specified in file-level phpdocs
(#154) Package is not specified for function magtest_get_next_questionset. It is also not specified in file-level phpdocs
(#196) Package is not specified for function magtest_get_symbols. It is also not specified in file-level phpdocs
(#222) Package is not specified for function magtest_get_symbols_baseurl. It is also not specified in file-level phpdocs
(#236) Package is not specified for function magtest_compile_results. It is also not specified in file-level phpdocs
(#291) Package is not specified for function magtest_get_unsubmitted_users. It is also not specified in file-level phpdocs
(#334) Package is not specified for function magtest_test_configuration. It is also not specified in file-level phpdocs
(#21) Category mod is not valid
mod/magtest/maketest.controller.php
(#17) File-level phpdocs block is not found
(#25) Invalid phpdocs tag @contributors used
(#30) Invalid phpdocs tag @usecase used
(#30) Invalid phpdocs tag @usecase used
(#23) Category mod is not valid
mod/magtest/maketest.php
(#17) File-level phpdocs block is not found
(#25) Invalid phpdocs tag @contributors used
(#23) Category mod is not valid
mod/magtest/mod_form.php
(#17) File-level phpdocs block is not found
(#35) Function mod_magtest_mod_form::definition is not documented
(#82) Function mod_magtest_mod_form::validation is not documented
(#30) Class mod_magtest_mod_form does not have @copyright tag
(#30) Class mod_magtest_mod_form does not have @license tag
(#25) Invalid phpdocs tag @contributors used
(#30) Package is not specified for class mod_magtest_mod_form. It is also not specified in file-level phpdocs
(#23) Category mod is not valid
mod/magtest/preview.php
(#17) File-level phpdocs block is not found
(#25) Invalid phpdocs tag @contributors used
(#23) Category mod is not valid
mod/magtest/questions.controller.php
(#17) File-level phpdocs block is not found
(#25) Invalid phpdocs tag @usecase used
(#25) Invalid phpdocs tag @usecase used
(#25) Invalid phpdocs tag @usecase used
(#21) Package mod-magtest is not valid
(#22) Category mod is not valid
mod/magtest/questions.php
(#17) File-level phpdocs block is not found
(#25) Invalid phpdocs tag @contributors used
(#25) Invalid phpdocs tag @contributors used
(#23) Category mod is not valid
mod/magtest/questionsview.controller.php
(#17) File-level phpdocs block is not found
mod/magtest/questionsview.php
(#17) File-level phpdocs block is not found
mod/magtest/renderer.php
(#17) File-level phpdocs block is not found
(#29) Class mod_magtest_renderer is not documented
(#31) Function mod_magtest_renderer::__construct is not documented
(#67) Function mod_magtest_renderer::print_magtest_quiz is not documented
(#109) Function mod_magtest_renderer::print_magtest_singlechoice is not documented
(#131) Function mod_magtest_renderer::make_test is not documented
(#38) Phpdocs for function mod_magtest_renderer::answer_help_icon has incomplete parameters list
(#23) Invalid phpdocs tag @contributors used
(#23) Invalid phpdocs tag @contributors used
(#29) Package is not specified for class mod_magtest_renderer. It is also not specified in file-level phpdocs
(#21) Category mod is not valid
mod/magtest/results.controller.php
(#17) File-level phpdocs block is not found
(#25) Invalid phpdocs tag @contributors used
(#30) Invalid phpdocs tag @usecase used
(#22) Package mod-magtest is not valid
(#23) Category mod is not valid
mod/magtest/results.php
(#17) File-level phpdocs block is not found
(#23) Invalid phpdocs tag @contributors used
(#23) Invalid phpdocs tag @contributors used
(#21) Category mod is not valid
mod/magtest/resultsbycats.php
(#17) File-level phpdocs block is not found
(#25) Invalid phpdocs tag @contributors used
(#23) Category mod is not valid
mod/magtest/resultsbyusers.php
(#17) File-level phpdocs block is not found
(#25) Invalid phpdocs tag @contributors used
(#23) Category mod is not valid
mod/magtest/settings.php
(#17) File-level phpdocs block is not found
(#23) Invalid phpdocs tag @contributors used
(#21) Category mod is not valid
mod/magtest/stat.php
(#23) Invalid phpdocs tag @contributors used
(#20) Package mod-magtest is not valid
(#21) Category mod is not valid
mod/magtest/testfinish.php
(#17) File-level phpdocs block is not found
mod/magtest/testfinished.php
(#23) Invalid phpdocs tag @contributors used
(#20) Package mod-magtest is not valid
(#21) Category mod is not valid
mod/magtest/version.php
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#22) Not recommended phpdocs tag @version used
(#24) Category mod is not valid
mod/magtest/view.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#21) Not recommended phpdocs tag @version used
(#22) Package magtest 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]


Mustache template problems

(0 errors, 0 warnings)

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