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

(320 errors, 11 warnings)

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

blocks/statics/block_statics.php
(#30) Opening brace must be the last content on the line
(#35) Opening brace must be the last content on the line
(#41) Whitespace found at end of line
(#45) Whitespace found at end of line
(#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 5
(#48) Whitespace found at end of line
(#49) Opening brace must be the last content on the line
(#53) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#56) Whitespace found at end of line
(#65) Whitespace found at end of line
(#79) Whitespace found at end of line
(#81) Whitespace found at end of line
(#85) Whitespace found at end of line
(#86) Whitespace found at end of line
blocks/statics/classes/privacy/provider.php
(#22) Expected MOODLE_INTERNAL check or config.php inclusion
(#25) Whitespace found at end of line
blocks/statics/db/access.php
(#35) Whitespace found at end of line
(#56) Whitespace found at end of line
blocks/statics/edit_form.php
(#21) Whitespace found at end of line
(#25) Whitespace found at end of line
(#27) Whitespace found at end of line
(#32) Whitespace found at end of line
(#34) Whitespace found at end of line
(#38) Spaces must be used to indent lines; tabs are not allowed
(#38) Tab found within whitespace
(#38) Whitespace found at end of line
(#41) Whitespace found at end of line
(#44) Whitespace found at end of line
blocks/statics/locallib.php
(#21) Whitespace found at end of line
(#24) Line indented incorrectly; expected 0 spaces, found 4
(#27) Spaces must be used to indent lines; tabs are not allowed
(#27) Tab found within whitespace
(#27) Whitespace found at end of line
(#28) Expected 1 space after "="; 0 found
(#28) Line exceeds 132 characters; contains 146 characters
(#30) Line exceeds 132 characters; contains 149 characters
(#37) Whitespace found at end of line within string
(#40) Line exceeds 132 characters; contains 153 characters
(#51) Line exceeds 132 characters; contains 149 characters
(#62) Expected 1 space before "="; 0 found
(#62) Expected 1 space after "="; 0 found
(#62) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#63) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#65) Variable "tiposFicheros" must be all lower-case
(#66) Variable "ficherosIma" must be all lower-case
(#66) Line exceeds 132 characters; contains 145 characters
(#67) Variable "ficherosDoc" must be all lower-case
(#67) Line exceeds 132 characters; contains 164 characters
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#68) Line indented incorrectly; expected at least 4 spaces, found 1
(#68) Variable "ficherosVid" must be all lower-case
(#68) Commas (,) must be followed by white space.
(#68) Line exceeds maximum limit of 180 characters; contains 235 characters
(#69) Variable "ficherosAud" must be all lower-case
(#69) Line exceeds 132 characters; contains 178 characters
(#70) Variable "ficherosCom" must be all lower-case
(#71) Variable "ficherosHoj" must be all lower-case
(#76) Variable "tiposFicheros" must be all lower-case
(#76) Expected 1 space before "="; 0 found
(#76) Expected 1 space after "="; 0 found
(#76) Variable "tiposFicheros" must be all lower-case
(#76) Commas (,) must be followed by white space.
(#76) Variable "ficherosIma" must be all lower-case
(#79) Variable "tiposFicheros" must be all lower-case
(#79) Expected 1 space before "="; 0 found
(#79) Expected 1 space after "="; 0 found
(#79) Variable "tiposFicheros" must be all lower-case
(#79) Commas (,) must be followed by white space.
(#79) Variable "ficherosVid" must be all lower-case
(#82) Variable "tiposFicheros" must be all lower-case
(#82) Expected 1 space before "="; 0 found
(#82) Expected 1 space after "="; 0 found
(#82) Variable "tiposFicheros" must be all lower-case
(#82) Commas (,) must be followed by white space.
(#82) Variable "ficherosAud" must be all lower-case
(#85) Variable "tiposFicheros" must be all lower-case
(#85) Expected 1 space before "="; 0 found
(#85) Expected 1 space after "="; 0 found
(#85) Variable "tiposFicheros" must be all lower-case
(#85) Commas (,) must be followed by white space.
(#85) Variable "ficherosDoc" must be all lower-case
(#88) Variable "tiposFicheros" must be all lower-case
(#88) Expected 1 space before "="; 0 found
(#88) Expected 1 space after "="; 0 found
(#88) Variable "tiposFicheros" must be all lower-case
(#88) Commas (,) must be followed by white space.
(#88) Variable "ficherosCom" must be all lower-case
(#89) Spaces must be used for alignment; tabs are not allowed
(#89) Tab found within whitespace
(#89) Whitespace found at end of line
(#91) Variable "tiposFicheros" must be all lower-case
(#91) Expected 1 space before "="; 0 found
(#91) Expected 1 space after "="; 0 found
(#91) Variable "tiposFicheros" must be all lower-case
(#91) Commas (,) must be followed by white space.
(#91) Variable "ficherosHoj" must be all lower-case
(#92) Spaces must be used for alignment; tabs are not allowed
(#92) Tab found within whitespace
(#92) Whitespace found at end of line
(#94) Whitespace found at end of line
(#97) Variable "tiposFicheros" must be all lower-case
(#98) Spaces must be used for alignment; tabs are not allowed
(#98) Tab found within whitespace
(#98) Whitespace found at end of line
(#103) Line indented incorrectly; expected 8 spaces, found 12
(#104) Line indented incorrectly; expected 12 spaces, found 16
(#105) Expected 1 space before "="; 0 found
(#105) Expected 1 space after "="; 0 found
(#107) Line indented incorrectly; expected 12 spaces, found 16
(#108) Expected 1 space before "="; 0 found
(#108) Expected 1 space after "="; 0 found
(#110) Line indented incorrectly; expected 12 spaces, found 16
(#111) Expected 1 space before "="; 0 found
(#111) Expected 1 space after "="; 0 found
(#113) Line indented incorrectly; expected 12 spaces, found 16
(#114) Expected 1 space before "="; 0 found
(#114) Expected 1 space after "="; 0 found
(#116) Line indented incorrectly; expected 12 spaces, found 16
(#117) Expected 1 space before "="; 0 found
(#117) Expected 1 space after "="; 0 found
(#118) Spaces must be used for alignment; tabs are not allowed
(#118) Tab found within whitespace
(#118) Whitespace found at end of line
(#119) Line indented incorrectly; expected 12 spaces, found 16
(#120) Expected 1 space before "="; 0 found
(#120) Expected 1 space after "="; 0 found
(#121) Spaces must be used for alignment; tabs are not allowed
(#121) Tab found within whitespace
(#121) Whitespace found at end of line
(#122) Line indented incorrectly; expected 8 spaces, found 12
(#125) Spaces must be used for alignment; tabs are not allowed
(#125) Tab found within whitespace
(#125) Whitespace found at end of line
(#133) Variable "contArch" must be all lower-case
(#134) Variable "nombArr" must be all lower-case
(#135) Whitespace found at end of line
(#136) Spaces must be used for alignment; tabs are not allowed
(#136) Tab found within whitespace
(#136) Whitespace found at end of line
(#137) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#139) Variable "nombArr" must be all lower-case
(#140) Whitespace found at end of line
(#141) Expected "if (...) {\n"; found "if(...) {\n"
(#143) Expected "if (...) {\n"; found "if(...) {\n"
(#143) Variable "nombArr" must be all lower-case
(#143) Variable "nombArr" must be all lower-case
(#149) Line exceeds 132 characters; contains 162 characters
(#154) Line exceeds 132 characters; contains 158 characters
(#156) Whitespace found at end of line
(#160) Spaces must be used for alignment; tabs are not allowed
(#160) Tab found within whitespace
(#160) Whitespace found at end of line
(#164) Line exceeds 132 characters; contains 159 characters
(#164) Spaces must be used for alignment; tabs are not allowed
(#164) Tab found within whitespace
(#164) Whitespace found at end of line
(#167) Variable "contArch" must be all lower-case
(#167) Space found before semicolon; expected "++;" but found "++ ;"
(#170) Line indented incorrectly; expected at least 16 spaces, found 12
(#170) Spaces must be used for alignment; tabs are not allowed
(#170) Tab found within whitespace
(#170) Whitespace found at end of line
(#174) Spaces must be used for alignment; tabs are not allowed
(#174) Tab found within whitespace
(#174) Line indented incorrectly; expected at least 12 spaces, found 3
(#175) Spaces must be used for alignment; tabs are not allowed
(#175) Tab found within whitespace
(#175) Line indented incorrectly; expected at least 12 spaces, found 3
(#175) Spaces must be used for alignment; tabs are not allowed
(#175) Tab found within whitespace
(#175) Whitespace found at end of line
(#176) Spaces must be used for alignment; tabs are not allowed
(#176) Tab found within whitespace
(#176) Line indented incorrectly; expected at least 12 spaces, found 3
(#176) Variable "contArch" must be all lower-case
(#177) Spaces must be used for alignment; tabs are not allowed
(#177) Tab found within whitespace
(#177) Line indented incorrectly; expected at least 12 spaces, found 3
(#178) Spaces must be used for alignment; tabs are not allowed
(#178) Tab found within whitespace
(#178) Line indented incorrectly; expected at least 12 spaces, found 3
(#182) Spaces must be used for alignment; tabs are not allowed
(#182) Tab found within whitespace
(#182) Whitespace found at end of line
(#190) Spaces must be used for alignment; tabs are not allowed
(#190) Tab found within whitespace
(#190) Line indented incorrectly; expected at least 8 spaces, found 2
(#205) Closing brace indented incorrectly; expected 4 spaces, found 0
blocks/statics/settings.php
(#26) Spaces must be used to indent lines; tabs are not allowed
(#26) Tab found within whitespace
(#26) Line indented incorrectly; expected at least 4 spaces, found 1
(#27) Spaces must be used to indent lines; tabs are not allowed
(#27) Tab found within whitespace
(#28) Spaces must be used to indent lines; tabs are not allowed
(#28) Tab found within whitespace
(#29) Spaces must be used to indent lines; tabs are not allowed
(#29) Tab found within whitespace
(#30) Spaces must be used to indent lines; tabs are not allowed
(#30) Tab found within whitespace
(#31) Spaces must be used to indent lines; tabs are not allowed
(#31) Tab found within whitespace
(#31) Whitespace found at end of line
(#32) Spaces must be used to indent lines; tabs are not allowed
(#32) Tab found within whitespace
(#32) Line indented incorrectly; expected at least 4 spaces, found 1
(#33) Spaces must be used to indent lines; tabs are not allowed
(#33) Tab found within whitespace
(#34) Spaces must be used to indent lines; tabs are not allowed
(#34) Tab found within whitespace
(#35) Spaces must be used to indent lines; tabs are not allowed
(#35) Tab found within whitespace
(#36) Spaces must be used to indent lines; tabs are not allowed
(#36) Tab found within whitespace
(#37) Spaces must be used to indent lines; tabs are not allowed
(#37) Tab found within whitespace
(#38) Spaces must be used to indent lines; tabs are not allowed
(#38) Tab found within whitespace
(#38) Line indented incorrectly; expected at least 4 spaces, found 1
(#39) Spaces must be used to indent lines; tabs are not allowed
(#39) Tab found within whitespace
(#40) Spaces must be used to indent lines; tabs are not allowed
(#40) Tab found within whitespace
(#41) Spaces must be used to indent lines; tabs are not allowed
(#41) Tab found within whitespace
(#42) Spaces must be used to indent lines; tabs are not allowed
(#42) Tab found within whitespace
(#43) Spaces must be used to indent lines; tabs are not allowed
(#43) Tab found within whitespace
(#44) Spaces must be used to indent lines; tabs are not allowed
(#44) Tab found within whitespace
(#44) Line indented incorrectly; expected at least 4 spaces, found 1
(#45) Spaces must be used to indent lines; tabs are not allowed
(#45) Tab found within whitespace
(#46) Spaces must be used to indent lines; tabs are not allowed
(#46) Tab found within whitespace
(#47) Spaces must be used to indent lines; tabs are not allowed
(#47) Tab found within whitespace
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#49) Spaces must be used to indent lines; tabs are not allowed
(#49) Tab found within whitespace
(#50) Spaces must be used to indent lines; tabs are not allowed
(#50) Tab found within whitespace
(#50) Line indented incorrectly; expected at least 4 spaces, found 1
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#53) Spaces must be used to indent lines; tabs are not allowed
(#53) Tab found within whitespace
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Tab found within whitespace
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Tab found within whitespace
(#56) Line indented incorrectly; expected at least 4 spaces, found 1
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Tab found within whitespace
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Tab found within whitespace
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Tab found within whitespace
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Tab found within whitespace
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Tab found within whitespace
(#62) Line indented incorrectly; expected at least 4 spaces, found 1
(#63) Spaces must be used to indent lines; tabs are not allowed
(#63) Tab found within whitespace
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Tab found within whitespace
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
blocks/statics/statics_form.php
(#21) Whitespace found at end of line
(#26) Whitespace found at end of line
(#28) Whitespace found at end of line
(#31) Variable "find_images" must not contain underscores.
(#32) Variable "find_docs" must not contain underscores.
(#33) Variable "find_video" must not contain underscores.
(#34) Variable "find_audio" must not contain underscores.
(#35) Variable "find_comp" must not contain underscores.
(#36) Variable "find_hoj" must not contain underscores.
(#40) Commas (,) must be followed by white space.
(#44) Whitespace found at end of line
(#46) Expected "if (...) {\n"; found "if (...) { "
(#46) Variable "find_images" must not contain underscores.
(#46) Closing brace must be on a line by itself
(#47) Expected "if (...) {\n"; found "if (...) { "
(#47) Variable "find_video" must not contain underscores.
(#47) Closing brace must be on a line by itself
(#48) Expected "if (...) {\n"; found "if (...) { "
(#48) Variable "find_audio" must not contain underscores.
(#48) Closing brace must be on a line by itself
(#49) Spaces must be used to indent lines; tabs are not allowed
(#49) Tab found within whitespace
(#49) Line indented incorrectly; expected 8 spaces, found 2
(#49) Expected "if (...) {\n"; found "if (...) { "
(#49) Variable "find_docs" must not contain underscores.
(#49) Closing brace must be on a line by itself
(#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 2
(#50) Expected "if (...) {\n"; found "if (...) { "
(#50) Variable "find_comp" must not contain underscores.
(#50) Closing brace must be on a line by itself
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Line indented incorrectly; expected 8 spaces, found 2
(#51) Expected "if (...) {\n"; found "if (...) { "
(#51) Variable "find_hoj" must not contain underscores.
(#51) Closing brace must be on a line by itself
(#54) Spaces must be used for alignment; tabs are not allowed
(#54) Tab found within whitespace
(#54) Whitespace found at end of line
(#59) Whitespace found at end of line
(#60) Spaces must be used for alignment; tabs are not allowed
(#60) Tab found within whitespace
(#60) Whitespace found at end of line
blocks/statics/view.php
(#21) Whitespace found at end of line
(#28) Variable "versionM" must be all lower-case
(#30) Variable "versionM" must be all lower-case

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

(4 errors, 0 warnings)

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

blocks/statics/styles.css
(#24) Expected newline before "}" (block-closing-brace-newline-before)
(#24) Unexpected whitespace at end of line (no-eol-whitespace)
(#12) Expected newline after "," (selector-list-comma-newline-after)
(#12) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(24 errors, 0 warnings)

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

blocks/statics/block_statics.php
(#26) Class block_statics is not documented
(#30) Function block_statics::init is not documented
(#35) Function block_statics::html_attributes is not documented
(#41) Function block_statics::instance_allow_multiple is not documented
(#45) Function block_statics::has_config is not documented
(#49) Function block_statics::get_content is not documented
(#16) No one-line description found in phpdocs for file
blocks/statics/classes/privacy/provider.php
(#22) Class provider is not documented
(#16) No one-line description found in phpdocs for file
blocks/statics/db/access.php
(#16) No one-line description found in phpdocs for file
blocks/statics/edit_form.php
(#24) Class block_statics_edit_form is not documented
(#26) Function block_statics_edit_form::specific_definition is not documented
(#30) Function block_statics_edit_form::specialization is not documented
(#16) No one-line description found in phpdocs for file
blocks/statics/lang/en/block_statics.php
(#16) No one-line description found in phpdocs for file
blocks/statics/lang/es/block_statics.php
(#16) No one-line description found in phpdocs for file
blocks/statics/locallib.php
(#24) Function block_statics_print_page is not documented
(#16) No one-line description found in phpdocs for file
blocks/statics/settings.php
(#16) No one-line description found in phpdocs for file
blocks/statics/statics_form.php
(#27) Class statics_form is not documented
(#29) Function statics_form::definition is not documented
(#16) No one-line description found in phpdocs for file
blocks/statics/version.php
(#16) No one-line description found in phpdocs for file
blocks/statics/view.php
(#16) 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

(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]