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

(96 errors, 34 warnings)

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

filter/botr/db/install.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
filter/botr/db/upgrade.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion
filter/botr/filter.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#21) Whitespace found at end of line
(#22) Whitespace found at end of line
(#24) Whitespace found at end of line
(#30) Whitespace found at end of line
(#37) Visibility must be declared on method "filter"
(#39) Spaces must be used to indent lines; tabs are not allowed
(#39) Tab found within whitespace
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Line indented incorrectly; expected at least 8 spaces, found 2
(#43) Spaces must be used to indent lines; tabs are not allowed
(#43) Tab found within whitespace
(#43) Whitespace found at end of line
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Line indented incorrectly; expected at least 12 spaces, found 11
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Whitespace found at end of line
(#53) Spaces must be used to indent lines; tabs are not allowed
(#53) Tab found within whitespace
(#53) Whitespace found at end of line
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Tab found within whitespace
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Line indented incorrectly; expected at least 8 spaces, found 2
(#58) Inline comments must start with a capital letter, digit or 3-dots sequence
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Whitespace found at end of line
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Tab found within whitespace
(#61) Inline comments must start with a capital letter, digit or 3-dots sequence
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Line indented incorrectly; expected at least 12 spaces, found 5
(#62) Line indented incorrectly; expected at least 12 spaces, found 11
(#83) Variable "video_hash" must not contain underscores.
(#84) Expected "if (...) {\n"; found "if (...){\n"
(#85) Variable "player_hash" must not contain underscores.
(#85) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Variable "player_hash" must not contain underscores.
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#89) Variable "content_mask" must not contain underscores.
(#89) Inline comments must start with a capital letter, digit or 3-dots sequence
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) Variable "video_hash" must not contain underscores.
(#92) Expected "if (...) {\n"; found "if(...) {\n"
(#93) Variable "content_mask" must not contain underscores.
(#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
(#95) Variable "api_secret" must not contain underscores.
(#98) Variable "content_mask" must not contain underscores.
(#100) Spaces must be used to indent lines; tabs are not allowed
(#100) Tab found within whitespace
(#100) Whitespace found at end of line
(#101) Spaces must be used to indent lines; tabs are not allowed
(#101) Tab found within whitespace
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Line indented incorrectly; expected at least 4 spaces, found 1
(#104) A closing tag is not permitted at the end of a PHP file
filter/botr/filtersettings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Line indented incorrectly; expected at least 4 spaces, found 0
(#29) No space found before comment text; expected "// just a headline" but found "//just a headline"
(#30) Line indented incorrectly; expected at least 4 spaces, found 0
(#31) Whitespace found at end of line
(#32) Commas (,) must be followed by white space.
(#32) Whitespace found at end of line
(#33) Commas (,) must be followed by white space.
(#35) Line indented incorrectly; expected at least 4 spaces, found 0
(#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 4 spaces, found 0
(#38) Line indented incorrectly; expected at least 4 spaces, found 0
(#40) Commas (,) must be followed by white space.
(#41) Commas (,) must be followed by white space.
(#46) Line indented incorrectly; expected at least 4 spaces, found 0
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Line indented incorrectly; expected at least 4 spaces, found 0
(#49) Line indented incorrectly; expected at least 4 spaces, found 0
(#51) Commas (,) must be followed by white space.
(#52) Commas (,) must be followed by white space.
(#57) Line indented incorrectly; expected at least 4 spaces, found 0
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Line indented incorrectly; expected at least 4 spaces, found 0
(#59) No space found before comment text; expected "// botr_timeout" but found "//botr_timeout"
(#59) Whitespace found at end of line
(#60) Line indented incorrectly; expected at least 4 spaces, found 0
(#62) Commas (,) must be followed by white space.
(#63) Commas (,) must be followed by white space.
(#67) Line indented incorrectly; expected at least 4 spaces, found 0
(#68) Whitespace found at end of line
(#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
(#69) Line indented incorrectly; expected at least 4 spaces, found 0
(#69) No space found before comment text; expected "// botr_dnsmask" but found "//botr_dnsmask"
(#69) Whitespace found at end of line
(#70) Line indented incorrectly; expected at least 4 spaces, found 0
(#72) Commas (,) must be followed by white space.
(#73) Commas (,) must be followed by white space.
(#78) Line indented incorrectly; expected at least 4 spaces, found 0
(#80) Inline comments must start with a capital letter, digit or 3-dots sequence
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Line indented incorrectly; expected at least 4 spaces, found 0
(#80) No space found before comment text; expected "// botr_defaultplayer für diesen Kunden" but found "//botr_defaultplayer für diesen Kunden"
(#81) Line indented incorrectly; expected at least 4 spaces, found 0
(#83) Commas (,) must be followed by white space.
(#84) Commas (,) must be followed by white space.
(#89) Line indented incorrectly; expected at least 4 spaces, found 0
(#90) Whitespace found at end of line
(#95) Whitespace found at end of line
filter/botr/lang/de/filter_botr.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#23) Whitespace found at end of line
(#39) Whitespace found at end of line within string
(#43) Whitespace found at end of line within string
filter/botr/lang/en/filter_botr.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#39) Whitespace found at end of line within string
(#43) Whitespace found at end of line within string
filter/botr/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"

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

(6 errors, 0 warnings)

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

filter/botr/db/install.php
(#25) Function xmldb_filter_botr_install is not documented
filter/botr/db/upgrade.php
(#25) Function xmldb_filter_botr_upgrade is not documented
filter/botr/filter.php
(#35) Class filter_botr is not documented
(#37) Function filter_botr::filter is not documented
(#80) Function botr_create_js_embed is not documented
(#17) No one-line description found in phpdocs for file

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]