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

(124 errors, 9 warnings)

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

filter/viewermecaobj/filter.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) Whitespace found at end of line
(#43) Whitespace found at end of line
(#45) Whitespace found at end of line
(#46) Visibility must be declared on method "filter"
(#47) Whitespace found at end of line
(#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) No space found before comment text; expected "// select file to display" but found "//select file to display"
(#49) Variable "text_origin" must not contain underscores.
(#50) Variable "elem_to_replace" must not contain underscores.
(#51) Whitespace found at end of line
(#52) Variable "list_ext" must not contain underscores.
(#52) Commas (,) must be followed by white space.
(#53) Variable "list_ext" must not contain underscores.
(#54) Variable "text_origin" must not contain underscores.
(#57) Commas (,) must be followed by white space.
(#57) Expected 1 space before "+"; 0 found
(#57) Expected 1 space after "+"; 0 found
(#58) Commas (,) must be followed by white space.
(#60) Expected "if (...) {\n"; found "if (...)\n {\n"
(#62) Variable "pre_url" must not contain underscores.
(#64) Variable "pre_url" must not contain underscores.
(#67) Variable "pre_url" must not contain underscores.
(#67) Commas (,) must be followed by white space.
(#67) Variable "pre_url" must not contain underscores.
(#67) Commas (,) must be followed by white space.
(#68) Variable "pre_url" must not contain underscores.
(#68) Commas (,) must be followed by white space.
(#68) Variable "pre_url" must not contain underscores.
(#68) Commas (,) must be followed by white space.
(#69) Variable "pre_url" must not contain underscores.
(#69) Commas (,) must be followed by white space.
(#69) Expected 1 space before "+"; 0 found
(#69) Expected 1 space after "+"; 0 found
(#69) Whitespace found at end of line
(#70) Usage of ELSEIF not allowed; use ELSE IF instead
(#70) Variable "pre_url" must not contain underscores.
(#70) Commas (,) must be followed by white space.
(#70) Variable "pre_url" must not contain underscores.
(#70) Commas (,) must be followed by white space.
(#71) Variable "pre_url" must not contain underscores.
(#71) Commas (,) must be followed by white space.
(#71) Expected 1 space before "+"; 0 found
(#71) Expected 1 space after "+"; 0 found
(#71) Whitespace found at end of line
(#76) Variable "pre_url" must not contain underscores.
(#76) Variable "pre_url" must not contain underscores.
(#80) Line indented incorrectly; expected 16 spaces, found 19
(#80) Expected "if (...) {\n"; found "if(...) {\n"
(#80) Variable "pre_url" must not contain underscores.
(#80) Commas (,) must be followed by white space.
(#80) Commas (,) must be followed by white space.
(#80) Variable "pre_url" must not contain underscores.
(#80) Commas (,) must be followed by white space.
(#80) Commas (,) must be followed by white space.
(#81) Variable "elem_to_replace" must not contain underscores.
(#81) Variable "pre_url" must not contain underscores.
(#82) Line indented incorrectly; expected 16 spaces, found 20
(#82) Closing brace indented incorrectly; expected 19 spaces, found 20
(#83) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#85) Commas (,) must be followed by white space.
(#85) Commas (,) must be followed by white space.
(#85) Expected 1 space before "+"; 0 found
(#85) Expected 1 space after "+"; 0 found
(#86) Commas (,) must be followed by white space.
(#86) Expected 1 space before "+"; 0 found
(#86) Expected 1 space after "+"; 0 found
(#89) Whitespace found at end of line
(#90) Variable "elem_to_replace" must not contain underscores.
(#91) Whitespace found at end of line
(#92) Variable "elem_to_replace_with_name" must not contain underscores.
(#93) Whitespace found at end of line
(#94) Variable "elem_to_replace" must not contain underscores.
(#94) Whitespace found at end of line
(#99) Whitespace found at end of line
(#100) Expected "if (...) {\n"; found "if(...) {\n"
(#100) Variable "text_origin" must not contain underscores.
(#101) Whitespace found at end of line
(#102) Variable "text_origin" must not contain underscores.
(#102) Variable "text_origin" must not contain underscores.
(#102) Commas (,) must be followed by white space.
(#105) Variable "text_origin" must not contain underscores.
(#105) Variable "text_origin" must not contain underscores.
(#105) Commas (,) must be followed by white space.
(#107) Whitespace found at end of line
(#108) Variable "elem_to_replace_with_name" must not contain underscores.
(#109) Variable "elem_to_replace_with_name" must not contain underscores.
(#111) Whitespace found at end of line
(#112) Variable "all_url" must not contain underscores.
(#113) Variable "elem_to_replace_with_name" must not contain underscores.
(#114) Whitespace found at end of line
(#114) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#115) Whitespace found at end of line
(#116) Variable "replace_code" must not contain underscores.
(#116) Expected 1 space after "="; 0 found
(#117) Expected 1 space before "+"; 0 found
(#117) Expected 1 space after "+"; 0 found
(#117) Line exceeds 132 characters; contains 135 characters
(#118) Expected 1 space before "+"; 0 found
(#118) Expected 1 space after "+"; 0 found
(#118) Line exceeds maximum limit of 180 characters; contains 243 characters
(#119) Expected 1 space before "+"; 0 found
(#119) Expected 1 space after "+"; 0 found
(#119) Line exceeds 132 characters; contains 138 characters
(#120) Whitespace found at end of line within string
(#122) Expected 1 space before "+"; 0 found
(#122) Expected 1 space after "+"; 0 found
(#122) Line exceeds maximum limit of 180 characters; contains 302 characters
(#123) Variable "elem_to_replace_with_name" must not contain underscores.
(#123) Line exceeds 132 characters; contains 136 characters
(#126) Whitespace found at end of line
(#127) Variable "all_url" must not contain underscores.
(#127) Variable "elem_to_replace_with_name" must not contain underscores.
(#128) Variable "text_origin" must not contain underscores.
(#128) Variable "elem_to_replace_with_name" must not contain underscores.
(#128) Variable "replace_code" must not contain underscores.
(#128) Variable "text_origin" must not contain underscores.
(#131) Commas (,) must be followed by white space.
(#131) Variable "all_url" must not contain underscores.
(#131) The use of function sizeof() is forbidden; use count() instead
(#131) Variable "elem_to_replace_with_name" must not contain underscores.
(#131) Commas (,) must be followed by white space.
(#131) Line exceeds 132 characters; contains 178 characters
(#132) Whitespace found at end of line
(#133) Whitespace found at end of line
(#134) Inline comments must start with a capital letter, digit or 3-dots sequence
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) No space found before comment text; expected "// include here to remove error" but found "//include here to remove error"
(#134) Whitespace found at end of line
(#135) Variable "text_origin" must not contain underscores.
filter/viewermecaobj/lang/en/filter_viewermecaobj.php
(#2) The opening <?php tag must be followed by exactly one newline.
filter/viewermecaobj/version.php
(#29) 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 eslint [More info]


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(13 errors, 2 warnings)

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

filter/viewermecaobj/classes/privacy/provider.php
(#20) Package filter is not valid
(#33) Package filter is not valid
(#39) Class provider is not documented
filter/viewermecaobj/filter.php
(#19) Package filter is not valid
(#2) Empty line found after PHP open tag
(#29) Class filter_viewermecaobj is not documented
(#33) Function filter_viewermecaobj::setup is not documented
(#46) Function filter_viewermecaobj::filter is not documented
(#31) Variable filter_viewermecaobj::$page is not documented
(#32) Variable filter_viewermecaobj::$incr is not documented
(#18) No one-line description found in phpdocs for file
filter/viewermecaobj/lang/en/filter_viewermecaobj.php
(#19) Package filter is not valid
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
filter/viewermecaobj/version.php
(#19) Package filter 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]


grunt changes

(1 errors, 1 warnings)

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

Problems running grunt
Task "eslint:amd" failed. Use --force to continue.

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]