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

(114 errors, 6 warnings)

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

filter/dxf/filter.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#40) Whitespace found at end of line
(#42) Whitespace found at end of line
(#45) Whitespace found at end of line
(#47) Whitespace found at end of line
(#53) Whitespace found at end of line
(#57) Visibility must be declared on method "filter"
(#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) No space found before comment text; expected "// select file to display" but found "//select file to display"
(#60) Variable "text_origin" must not contain underscores.
(#61) Variable "elem_to_replace" must not contain underscores.
(#64) Commas (,) must be followed by white space.
(#64) Expected 1 space before "+"; 0 found
(#64) Expected 1 space after "+"; 0 found
(#65) Commas (,) must be followed by white space.
(#66) Whitespace found at end of line
(#67) Expected "if (...) {\n"; found "if (...)\n {\n"
(#69) Variable "pre_url" must not contain underscores.
(#71) Variable "pre_url" must not contain underscores.
(#73) Whitespace found at end of line
(#74) Variable "pre_url" must not contain underscores.
(#74) Commas (,) must be followed by white space.
(#74) Variable "pre_url" must not contain underscores.
(#74) Commas (,) must be followed by white space.
(#75) Variable "pre_url" must not contain underscores.
(#75) Commas (,) must be followed by white space.
(#75) Variable "pre_url" must not contain underscores.
(#75) Commas (,) must be followed by white space.
(#76) Variable "pre_url" must not contain underscores.
(#76) Commas (,) must be followed by white space.
(#76) Expected 1 space before "+"; 0 found
(#76) Expected 1 space after "+"; 0 found
(#76) Whitespace found at end of line
(#77) Usage of ELSEIF not allowed; use ELSE IF instead
(#77) Variable "pre_url" must not contain underscores.
(#77) Commas (,) must be followed by white space.
(#77) Variable "pre_url" must not contain underscores.
(#77) Commas (,) must be followed by white space.
(#78) Variable "pre_url" must not contain underscores.
(#78) Commas (,) must be followed by white space.
(#78) Expected 1 space before "+"; 0 found
(#78) Expected 1 space after "+"; 0 found
(#78) Whitespace found at end of line
(#83) Variable "pre_url" must not contain underscores.
(#83) Variable "pre_url" must not contain underscores.
(#86) Whitespace found at end of line
(#87) Line indented incorrectly; expected 12 spaces, found 15
(#87) Expected "if (...) {\n"; found "if(...) {\n"
(#87) Variable "pre_url" must not contain underscores.
(#87) Commas (,) must be followed by white space.
(#87) Commas (,) must be followed by white space.
(#87) Variable "pre_url" must not contain underscores.
(#87) Commas (,) must be followed by white space.
(#87) Commas (,) must be followed by white space.
(#88) Variable "elem_to_replace" must not contain underscores.
(#88) Variable "pre_url" must not contain underscores.
(#89) Line indented incorrectly; expected 12 spaces, found 16
(#89) Closing brace indented incorrectly; expected 15 spaces, found 16
(#90) Whitespace found at end of line
(#90) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#91) Whitespace found at end of line
(#92) Commas (,) must be followed by white space.
(#92) Commas (,) must be followed by white space.
(#92) Expected 1 space before "+"; 0 found
(#92) Expected 1 space after "+"; 0 found
(#93) Commas (,) must be followed by white space.
(#93) Expected 1 space before "+"; 0 found
(#93) Expected 1 space after "+"; 0 found
(#95) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#96) Whitespace found at end of line
(#97) Variable "elem_to_replace" must not contain underscores.
(#98) Whitespace found at end of line
(#99) Variable "elem_to_replace_with_name" must not contain underscores.
(#100) Whitespace found at end of line
(#101) Variable "elem_to_replace" must not contain underscores.
(#101) Whitespace found at end of line
(#106) Whitespace found at end of line
(#107) Expected "if (...) {\n"; found "if(...) {\n"
(#107) Variable "text_origin" must not contain underscores.
(#108) Whitespace found at end of line
(#109) Variable "text_origin" must not contain underscores.
(#109) Variable "text_origin" must not contain underscores.
(#109) Commas (,) must be followed by white space.
(#112) Variable "text_origin" must not contain underscores.
(#112) Variable "text_origin" must not contain underscores.
(#112) Commas (,) must be followed by white space.
(#114) Whitespace found at end of line
(#115) Variable "elem_to_replace_with_name" must not contain underscores.
(#116) Variable "elem_to_replace_with_name" must not contain underscores.
(#118) Whitespace found at end of line
(#119) Variable "all_url" must not contain underscores.
(#120) Variable "elem_to_replace_with_name" must not contain underscores.
(#121) Variable "all_url" must not contain underscores.
(#122) Whitespace found at end of line
(#123) Variable "replace_code" must not contain underscores.
(#124) Expected 1 space before "+"; 0 found
(#124) Expected 1 space after "+"; 0 found
(#126) Expected 1 space before "+"; 0 found
(#126) Expected 1 space after "+"; 0 found
(#126) Line exceeds 132 characters; contains 150 characters
(#129) Whitespace found at end of line
(#130) Whitespace found at end of line
(#131) Variable "text_origin" must not contain underscores.
(#131) Variable "elem_to_replace_with_name" must not contain underscores.
(#131) Variable "replace_code" must not contain underscores.
(#131) Variable "text_origin" must not contain underscores.
(#133) Whitespace found at end of line
(#134) Commas (,) must be followed by white space.
(#134) Variable "all_url" must not contain underscores.
(#134) Commas (,) must be followed by white space.
(#135) Whitespace found at end of line
(#136) Whitespace found at end of line
(#137) Inline comments must start with a capital letter, digit or 3-dots sequence
(#137) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) No space found before comment text; expected "// include here to remove error" but found "//include here to remove error"
(#137) Whitespace found at end of line
(#138) Variable "text_origin" must not contain underscores.
filter/dxf/lang/en/filter_dxf.php
(#2) The opening <?php tag must be followed by exactly one newline.
filter/dxf/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

(34 errors, 0 warnings)

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

filter/dxf/style.css
(#33) Unexpected whitespace before ":" (declaration-colon-space-before)
(#1) Expected indentation of 0 spaces (indentation)
(#5) Expected indentation of 0 spaces (indentation)
(#2) Expected indentation of 4 spaces (indentation)
(#3) Expected indentation of 4 spaces (indentation)
(#4) Expected indentation of 4 spaces (indentation)
(#7) Expected indentation of 0 spaces (indentation)
(#9) Expected indentation of 0 spaces (indentation)
(#8) Expected indentation of 4 spaces (indentation)
(#11) Expected indentation of 0 spaces (indentation)
(#18) Expected indentation of 0 spaces (indentation)
(#12) Expected indentation of 4 spaces (indentation)
(#13) Expected indentation of 4 spaces (indentation)
(#14) Expected indentation of 4 spaces (indentation)
(#15) Expected indentation of 4 spaces (indentation)
(#16) Expected indentation of 4 spaces (indentation)
(#17) Expected indentation of 4 spaces (indentation)
(#20) Expected indentation of 0 spaces (indentation)
(#22) Expected indentation of 0 spaces (indentation)
(#21) Expected indentation of 4 spaces (indentation)
(#24) Expected indentation of 0 spaces (indentation)
(#27) Expected indentation of 0 spaces (indentation)
(#25) Expected indentation of 4 spaces (indentation)
(#26) Expected indentation of 4 spaces (indentation)
(#29) Expected indentation of 0 spaces (indentation)
(#35) Expected indentation of 0 spaces (indentation)
(#30) Expected indentation of 4 spaces (indentation)
(#31) Expected indentation of 4 spaces (indentation)
(#32) Expected indentation of 4 spaces (indentation)
(#33) Expected indentation of 4 spaces (indentation)
(#34) Expected indentation of 4 spaces (indentation)
(#6) Unexpected whitespace at end of line (no-eol-whitespace)
(#23) Unexpected whitespace at end of line (no-eol-whitespace)
(#28) Unexpected whitespace at end of line (no-eol-whitespace)

PHPDocs style problems

(11 errors, 2 warnings)

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

filter/dxf/classes/privacy/provider.php
(#30) Package is not specified for class provider. It is also not specified in file-level phpdocs
(#24) Package filter is not valid
(#17) File-level phpdocs block is not found
(#30) Class provider is not documented
filter/dxf/filter.php
(#2) Empty line found after PHP open tag
(#19) File-level phpdocs block is not found
(#43) Function filter_dxf::setup is not documented
(#57) Function filter_dxf::filter is not documented
(#41) Variable filter_dxf::$page is not documented
filter/dxf/lang/en/filter_dxf.php
(#20) Package filter is not valid
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
filter/dxf/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 "stylelint:css" 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]