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

(37 errors, 5 warnings)

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

filter/multilangsecond/filter.php
(#21) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#22) 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 3; use block comment if you need indentation
(#24) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#31) Whitespace found at end of line
(#40) Whitespace found at end of line
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Whitespace found at end of line
(#52) Expected "if (...) {\n"; found "if (...){\n"
(#55) Whitespace found at end of line
(#56) Expected "} else {\n"; found "} \n else {\n"
(#58) Whitespace found at end of line
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected at least 8 spaces, found 1
(#67) Inline control structures are not allowed
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#68) Line indented incorrectly; expected at least 8 spaces, found 2
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Inline control structures are not allowed
(#108) Inline control structures are not allowed
(#109) Whitespace found at end of line
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Inline comments must start with a capital letter, digit or 3-dots sequence
(#140) Expected "if (...) {\n"; found "if (...){\n"
(#140) Expected 1 space before "=="; 0 found
(#140) Expected 1 space after "=="; 0 found
(#144) Expected "} else {\n"; found "}\n else{\n"
(#157) Inline control structures are not allowed
(#159) Inline control structures are not allowed
(#160) Whitespace found at end of line
filter/multilangsecond/filtersettings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) This comment is 70% valid code; is this commented out code?
(#3) Whitespace found at end of line
(#7) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#15) Spaces must be used to indent lines; tabs are not allowed
(#15) Tab found within whitespace
(#16) Spaces must be used to indent lines; tabs are not allowed
(#16) Tab found within whitespace
filter/multilangsecond/version.php
(#21) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(11 errors, 1 warnings)

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

filter/multilangsecond/filter.php
(#17) File-level phpdocs block is not found
(#41) Class filter_multilangsecond is not documented
(#42) Function filter_multilangsecond::filter is not documented
(#80) Function filter_multilangsecond_impl is not documented
(#124) Function filter_multilangsecond_impl2 is not documented
(#41) Package is not specified for class filter_multilangsecond. It is also not specified in file-level phpdocs
(#80) Package is not specified for function filter_multilangsecond_impl. It is also not specified in file-level phpdocs
(#124) Package is not specified for function filter_multilangsecond_impl2. It is also not specified in file-level phpdocs
filter/multilangsecond/filtersettings.php
(#2) Empty line found after PHP open tag
(#7) File-level phpdocs block is not found
filter/multilangsecond/lang/en/filter_multilangsecond.php
(#17) File-level phpdocs block is not found
filter/multilangsecond/version.php
(#17) File-level phpdocs block is not found

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]