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

(221 errors, 20 warnings)

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

filter/cvod/db/install.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
filter/cvod/filter.php
(#30) Whitespace found at end of line
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) This comment is 75% valid code; is this commented out code?
(#31) Line indented incorrectly; expected at least 4 spaces, found 2
(#31) No space found before comment text; expected "// private $embedmarkers;" but found "//private $embedmarkers;"
(#33) Line indented incorrectly; expected 4 spaces, found 2
(#34) Line indented incorrectly; expected at least 8 spaces, found 4
(#36) Spaces must be used to indent lines; tabs are not allowed
(#36) Tab found within whitespace
(#36) Line indented incorrectly; expected 8 spaces, found 1
(#37) Spaces must be used to indent lines; tabs are not allowed
(#37) Tab found within whitespace
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Line indented incorrectly; expected at least 12 spaces, found 2
(#38) Spaces must be used to indent lines; tabs are not allowed
(#38) Tab found within whitespace
(#38) Line indented incorrectly; expected at least 12 spaces, found 2
(#39) Spaces must be used to indent lines; tabs are not allowed
(#39) Tab found within whitespace
(#39) Line indented incorrectly; expected 8 spaces, found 1
(#41) Spaces must be used to indent lines; tabs are not allowed
(#41) Tab found within whitespace
(#41) Line indented incorrectly; expected 8 spaces, found 1
(#42) Spaces must be used to indent lines; tabs are not allowed
(#42) Tab found within whitespace
(#42) Line indented incorrectly; expected at least 12 spaces, found 2
(#43) Spaces must be used to indent lines; tabs are not allowed
(#43) Tab found within whitespace
(#43) Line indented incorrectly; expected at least 12 spaces, found 2
(#44) Spaces must be used to indent lines; tabs are not allowed
(#44) Tab found within whitespace
(#44) Line indented incorrectly; expected 8 spaces, found 1
(#46) Spaces must be used to indent lines; tabs are not allowed
(#46) Tab found within whitespace
(#46) Line indented incorrectly; expected at least 8 spaces, found 1
(#47) Spaces must be used to indent lines; tabs are not allowed
(#47) Tab found within whitespace
(#47) Line indented incorrectly; expected at least 8 spaces, found 1
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#48) Line indented incorrectly; expected at least 8 spaces, found 1
(#50) Spaces must be used to indent lines; tabs are not allowed
(#50) Tab found within whitespace
(#50) Line indented incorrectly; expected 8 spaces, found 1
(#50) Expected "foreach (...) {\n"; found "foreach(...)\n\t{\n"
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Line indented incorrectly; expected at least 8 spaces, found 1
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected at least 12 spaces, found 2
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Tab found within whitespace
(#54) Line indented incorrectly; expected at least 12 spaces, found 2
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Tab found within whitespace
(#56) Line indented incorrectly; expected 12 spaces, found 2
(#56) Expected "try {\n...} catch (...) {\n"; found "try\n\t\t{\n...}\n\t\tcatch(...)\n\t\t{\n"
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Tab found within whitespace
(#57) Line indented incorrectly; expected at least 12 spaces, found 2
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#58) Line indented incorrectly; expected at least 16 spaces, found 3
(#58) Commas (,) must be followed by white space.
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Tab found within whitespace
(#59) Line indented incorrectly; expected at least 16 spaces, found 4
(#59) The use of function print_r() is forbidden
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Tab found within whitespace
(#60) Line indented incorrectly; expected at least 16 spaces, found 3
(#60) Expected 1 space before "="; 0 found
(#60) Expected 1 space after "="; 0 found
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Tab found within whitespace
(#62) Line indented incorrectly; expected at least 16 spaces, found 3
(#62) Commas (,) must be followed by white space.
(#63) Spaces must be used to indent lines; tabs are not allowed
(#63) Tab found within whitespace
(#63) Line indented incorrectly; expected 12 spaces, found 2
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Tab found within whitespace
(#64) Line indented incorrectly; expected 12 spaces, found 2
(#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 2
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#66) Line indented incorrectly; expected at least 16 spaces, found 3
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected 12 spaces, found 2
(#68) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Tab found within whitespace
(#69) Whitespace found at end of line
(#70) Spaces must be used to indent lines; tabs are not allowed
(#70) Tab found within whitespace
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Line indented incorrectly; expected at least 12 spaces, found 2
(#70) No space found before comment text; expected "// if our url doesn't need to be encoded, set it to the OG" but found "//if our url doesn't need to be encoded, set it to the OG"
(#71) Spaces must be used to indent lines; tabs are not allowed
(#71) Tab found within whitespace
(#71) Line indented incorrectly; expected 12 spaces, found 2
(#71) Expected "if (...) {\n"; found "if(...)\n\t\t{\n"
(#72) Spaces must be used to indent lines; tabs are not allowed
(#72) Tab found within whitespace
(#72) Line indented incorrectly; expected at least 12 spaces, found 2
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Tab found within whitespace
(#73) Line indented incorrectly; expected at least 16 spaces, found 3
(#74) Spaces must be used to indent lines; tabs are not allowed
(#74) Tab found within whitespace
(#74) Line indented incorrectly; expected 12 spaces, found 2
(#76) Spaces must be used to indent lines; tabs are not allowed
(#76) Tab found within whitespace
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Line indented incorrectly; expected at least 12 spaces, found 2
(#76) No space found before comment text; expected "// only do this if it's our url" but found "//only do this if it's our url"
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected 12 spaces, found 2
(#77) Expected "if (...) {\n"; found "if(...)\n\t\t{\n"
(#78) Spaces must be used to indent lines; tabs are not allowed
(#78) Tab found within whitespace
(#78) Line indented incorrectly; expected at least 12 spaces, found 2
(#79) Spaces must be used to indent lines; tabs are not allowed
(#79) Tab found within whitespace
(#79) Line indented incorrectly; expected at least 16 spaces, found 3
(#79) Expected 1 space before "="; 0 found
(#79) Expected 1 space after "="; 0 found
(#79) Commas (,) must be followed by white space.
(#79) Commas (,) must be followed by white space.
(#81) Spaces must be used to indent lines; tabs are not allowed
(#81) Tab found within whitespace
(#81) Line indented incorrectly; expected at least 16 spaces, found 3
(#81) Commas (,) must be followed by white space.
(#81) Commas (,) must be followed by white space.
(#83) Spaces must be used to indent lines; tabs are not allowed
(#83) Tab found within whitespace
(#83) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Line indented incorrectly; expected at least 16 spaces, found 3
(#83) No space found before comment text; expected "// get the substring of the url with moodle/ so we can decode it to match the actual text" but found "//get the substring of the url with moodle/ so we can decode it to match the actual text"
(#84) Spaces must be used to indent lines; tabs are not allowed
(#84) Tab found within whitespace
(#84) Line indented incorrectly; expected 16 spaces, found 3
(#84) Expected "if (...) {\n"; found "if(...)\n\t\t\t{\n"
(#85) Spaces must be used to indent lines; tabs are not allowed
(#85) Tab found within whitespace
(#85) Line indented incorrectly; expected at least 16 spaces, found 3
(#86) Spaces must be used to indent lines; tabs are not allowed
(#86) Tab found within whitespace
(#86) Line indented incorrectly; expected at least 20 spaces, found 4
(#86) Variable "moodleText" must be all lower-case
(#86) Line exceeds 132 characters; contains 150 characters
(#88) Spaces must be used to indent lines; tabs are not allowed
(#88) Tab found within whitespace
(#88) Line indented incorrectly; expected at least 20 spaces, found 4
(#88) Variable "moodleText" must be all lower-case
(#88) Variable "moodleText" must be all lower-case
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Tab found within whitespace
(#89) Line indented incorrectly; expected 16 spaces, found 3
(#91) Spaces must be used to indent lines; tabs are not allowed
(#91) Tab found within whitespace
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) This comment is 50% valid code; is this commented out code?
(#91) Line indented incorrectly; expected at least 16 spaces, found 3
(#91) No space found before comment text; expected "// $this->embedmarkers = 'lti\.films\.com|localhost|\.mp4';" but found "//$this->embedmarkers = 'lti\.films\.com|localhost|\.mp4';"
(#93) Spaces must be used to indent lines; tabs are not allowed
(#93) Tab found within whitespace
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) This comment is 72% valid code; is this commented out code?
(#93) Line indented incorrectly; expected at least 16 spaces, found 3
(#93) No space found before comment text; expected "// $this->trusted = !empty($options['noclean']) or !empty($CFG->allowobjectembed);" but found "//$this->trusted = !empty($options['noclean']) or !empty($CFG->allowobjectembed);"
(#95) Spaces must be used to indent lines; tabs are not allowed
(#95) Tab found within whitespace
(#95) Line indented incorrectly; expected at least 16 spaces, found 3
(#95) Expected 1 space after "="; 2 found
(#96) Spaces must be used to indent lines; tabs are not allowed
(#96) Tab found within whitespace
(#96) Line indented incorrectly; expected at least 16 spaces, found 3
(#98) Spaces must be used to indent lines; tabs are not allowed
(#98) Tab found within whitespace
(#98) Line indented incorrectly; expected 16 spaces, found 3
(#98) Expected "if (...) {\n"; found "if(...)\n\t\t\t{\n"
(#99) Spaces must be used to indent lines; tabs are not allowed
(#99) Tab found within whitespace
(#99) Line indented incorrectly; expected at least 16 spaces, found 3
(#100) Spaces must be used to indent lines; tabs are not allowed
(#100) Tab found within whitespace
(#100) Line indented incorrectly; expected at least 20 spaces, found 4
(#102) Spaces must be used to indent lines; tabs are not allowed
(#102) Tab found within whitespace
(#102) Line indented incorrectly; expected at least 20 spaces, found 4
(#102) Expected 1 space before "-"; 0 found
(#102) Expected 1 space after "-"; 0 found
(#103) Spaces must be used to indent lines; tabs are not allowed
(#103) Tab found within whitespace
(#103) Line indented incorrectly; expected at least 20 spaces, found 4
(#103) Expected 1 space after "-"; 0 found
(#104) Spaces must be used to indent lines; tabs are not allowed
(#104) Tab found within whitespace
(#104) Line indented incorrectly; expected 16 spaces, found 3
(#106) Spaces must be used to indent lines; tabs are not allowed
(#106) Tab found within whitespace
(#106) Line indented incorrectly; expected at least 16 spaces, found 3
(#106) Variable "iframeText" must be all lower-case
(#106) Line exceeds 132 characters; contains 157 characters
(#108) Spaces must be used to indent lines; tabs are not allowed
(#108) Tab found within whitespace
(#108) Line indented incorrectly; expected at least 16 spaces, found 3
(#108) Variable "iframeText" must be all lower-case
(#108) Spaces must be used for alignment; tabs are not allowed
(#108) Tab found within whitespace
(#108) Whitespace found at end of line
(#109) Spaces must be used for alignment; tabs are not allowed
(#109) Tab found within whitespace
(#109) Line indented incorrectly; expected 12 spaces, found 2
(#110) Spaces must be used for alignment; tabs are not allowed
(#110) Tab found within whitespace
(#110) Line indented incorrectly; expected 8 spaces, found 1
(#111) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#112) Whitespace found at end of line
(#113) Spaces must be used for alignment; tabs are not allowed
(#113) Tab found within whitespace
(#113) Line indented incorrectly; expected at least 8 spaces, found 1
(#113) Spaces must be used for alignment; tabs are not allowed
(#113) Tab found within whitespace
(#113) Whitespace found at end of line
(#114) Line indented incorrectly; expected 4 spaces, found 2
(#115) Whitespace found at end of line

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(4 errors, 0 warnings)

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

filter/cvod/db/install.php
(#28) Function xmldb_filter_cvod_install is not documented
(#20) Package filter is not valid
filter/cvod/filter.php
(#29) Class filter_cvod is not documented
(#33) Function filter_cvod::filter is not documented

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(0 errors, 0 warnings)

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


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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